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
  • I just checked that there is no error(return zero) after executing ble_advertising_init() for the peripheral. Meanwhile, th central can receive advertising packets normally(because it can be receive the BLE_GAP_EVT_ADV_REPORT event), but somehow in those advertising packets received from various nearby devices, it seems that the specific paired peripheral(which the central want to connect to) cannot be found(by that, I mean, in my application, I will parse the received the adv packets to get the peripheral MAC address, and it cannot find that specific one anymore)

    BTW, can I use nRF52840 DK and nRF sniffer application to sniffer the BLE 5.0 communication?   

Children
No Data
Related