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

nRF52840 Coded PHY for long range application

Hi

I have got two nRF52840-pdk for long range application design. After reading posts here I realized that the softdevice s140 can only change PHY to CODED after a connection has been established. It does not support advertising or scanning using coded PHY. I am very confused. For long range applications, how can two devices get connected if coded PHY can only be enabled after a link has been established? Thank you.

  • Please download the latest Softdevice, S140 v5.0.0-3.alpha. The new feature is support for establishing Bluetooth low energy connections directly on the long range PHY, the previous versions of the S140 only supported connections on the 1Mbit PHY.

  • I have tried the updated ble_app_att_mtu_throughput with the latest softdevice and it works great now. Thank you.

    A minor issue is that when I changed back to uncoded as below, I cannot discover the advertisement from my iphone running nRF Connect except from nRF52840-pdk. I could do it with the previous version of ble_app_att_mtu_throughput. Would you be able to find out why? Thank you.

    static void advertising_start(void) { ble_gap_adv_params_t const adv_params = { ......

    // .primary_phy = BLE_GAP_PHY_CODED, .primary_phy = BLE_GAP_PHY_1MBPS, .secondary_phy = m_test_params.rxtx_phy, };

    ......
    

    }

    static ble_gap_scan_params_t const m_scan_param = { ......

    // .scan_phy = BLE_GAP_PHY_CODED, .scan_phy = BLE_GAP_PHY_1MBPS,

    ......
    

    };

  • Not sure exactly what changes you made to the code. But could you try to reinitalize the advertisement module after changing back from coded PHY?

Related