nRF52833 sdk17.1 long distance

I used nRF52833 sdk17.1 to develop a device that is now going to use long distance. 17.1.0\examples\ble_peripheral\ble_app_uart\pca10100. Now what can I do to use his long distance? Thank you!

Parents
  • Hi,

    First of all, you will need to update your code to have the use of Coded PHY instead of the ordinary PHY:

    Make sure to do this on both central and peripheral devices,

    You might also need to set the advertising type to an extended advertising option:

    Make sure you set the scan response data to NULL as it's not supported by Coded PHY:

    For further changes and implementations, I would recommend you to go through this Long-Range BLE sample.

    -Priyanka

  •  Thank you very much.

    You look carefully. I am using SDK17.1.nRF52833.

    I want to use its long distance function. But I

    init.config.ble_adv_primary_phy = BLE_GAP_PHY_2MBPS;
    init.config.ble_adv_secondary_phy = BLE_GAP_PHY_2MBPS ;

    init.config.ble_adv_primary_phy = BLE_GAP_PHY_CODED ;
    init.config.ble_adv_secondary_phy = BLE_GAP_PHY_CODED ;

    The above two configurations, the program is abnormal, can not run.

    Case I don't have this variable here

    init.config.scan_req_notification = 1;

    By the way, have you ever tested long distances yourself?

Reply
  •  Thank you very much.

    You look carefully. I am using SDK17.1.nRF52833.

    I want to use its long distance function. But I

    init.config.ble_adv_primary_phy = BLE_GAP_PHY_2MBPS;
    init.config.ble_adv_secondary_phy = BLE_GAP_PHY_2MBPS ;

    init.config.ble_adv_primary_phy = BLE_GAP_PHY_CODED ;
    init.config.ble_adv_secondary_phy = BLE_GAP_PHY_CODED ;

    The above two configurations, the program is abnormal, can not run.

    Case I don't have this variable here

    init.config.scan_req_notification = 1;

    By the way, have you ever tested long distances yourself?

Children
No Data
Related