This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

SCAN 1MPHY&codedPHY ADVICE

When scanning 1MBPS & Coded PHY at the same time, the probability of Coded PHY broadcast scanning is very low, and 1MBPS PHY broadcast can be scanned normally
Slave configuration:
   5 terminals are configured as Coded PHY (broadcast once every minute for 5 seconds and the broadcast interval is 1 second)
   13 terminals are configured as 1MBPS PHY (broadcast once every minute for 5 seconds and the broadcast interval is 1 second)
Host parameter configuration:
   Scan interval 2.156s (3450 * 0.625ms)
   Scan window 1.067s (1707 * 0.625ms)
Test situation:
   Scan Coded broadcasts individually, which can basically ensure that each device is scanned at least once every minute
   Scan 1MBPS broadcasts separately, which can basically ensure that each device is scanned at least once every minute
   Scanning two devices at the same time, Coded broadcast is difficult to scan, 1MBPS broadcast can basically ensure that each device is scanned at least once every minute
Please help:
1:How to scan coded & 1mphy at the same time
2:  when SCAN 1MPHY&codedPHY ADVICE , Is it a polling scan or a periodic scan based on the scan interval,


thanks !!!
  • Hi

    This seems to be the case of what I briefly explained in my last reply. It seems like you're only scanning on the primary BLE channels (37, 38, and 39). Seeing as Coded PHY uses extended advertising, which advertises most of the advertisement on the secondary channels, that would explain why you're not seeing it very often.

    Please make sure that you have set the parameter .extended = 1 in ble_gap_scan_params_t in your scanning application.

    Best regards,

    Simon

  • think your reply !!

          sorry,I may not express clearly。

     Customer application scenarios:

     ble_peripheral 1 NRF52840   codedPHY  advitise interval  1s

      ble_peripheral 2 NRF52840   1MPHY    advitise interval  1s

      ble_central_and_peripheral  NRF52840  

                           1)central  scanparam:(only scan get rssi not connect.

                              

                             2)peripheral   connect  interval : 50ms

    Test situation:

        1) The scanning result of the ble_central_and_peripheral when the broadcast is turned on or the mobile phone is linked is as follows:

                            

           From the results of the scan, each scan to COEDPHY takes more than 30 seconds, and the customer hopes to shorten the interval between scans to codedphy

       2)The scanning results of the ble_central_and_peripheral without turning on the advitise  and not linking the mobile phone, The scanning parameters and scanning results are as follows:

                           

                           

              The scan results are normal,each scan to COEDPHY takes less than 4 seconds.

     

    issues that need resolving

    Now I am puzzled that after the mobile phone is connected, the scan interval of coded scan results reaches 30 seconds. How can I shorten this interval?

    thinks!!

  • Hi

    What phone are you connected to while scanning? It seems to me like this is caused by the phone not supporting extended advertising, as very few phones support that as of yet. I'm guessing the central_and_peripheral device you have disables the extended flag when connected to a device that doesn't support it.

    Best regards,

    Simon

Related