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

Issue regarding Nrf52840 long range mode

Hi, I'm using Nrf52840 as the MCU for the developed product.

For my product, there is a central and a peripheral which two are communicate with each other via bluetooth. Currently, I set the adv_params.primary_phy = BLE_GAP_PHY_1MBPS for the peripheral, and .scan_phys = BLE_GAP_PHY_1MBPS for the central. They work perfectly. 

Now I wanna use the long range mode, so I change the BLE_GAP_PHY_1MBPS to BLE_GAP_PHY_CODED for both central and peripheral. However, after the modification, I found that they don't work and even I cannot find the peripheral anymore by using Nordic Connect App. Anybody knows why? 

Thank you so much!

Parents Reply
  • The peripheral will still advertise on the primary channels (@ 1Mbps), but the packets (ADV_EXT_IND) will only contain information about the secondary channel which will have the actual data.

    The central will still be scanning on the 1 Mbps primary channels, and when it receives the ADV_EXT_IND it switches to CODED (or whatever you specify) and receives the data on the secondary channel. This means that the central will still catch packets from other peripherals with normal advertising.

Children
Related