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

BLE5.0 Range Settings

SDK: 17.0.0

Softdevice : S140

Example:     ble_app_blink

I modify this example to long range adverting mode,and have some questions as follow:

(1)  the device can not connect for nrf connect app when the advertings parameters as follow:

     adv_params.primary_phy     = BLE_GAP_PHY_CODED; (change to BLE_GAP_PHY_1MBPS, nrf connect app can connect)
     adv_params.secondary_phy   = BLE_GAP_PHY_CODED;
     adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED;

(2) What is the difference between these two broadcast parameter setting methods?

     First settings:

          adv_params.primary_phy     = BLE_GAP_PHY_1MBPS;
          adv_params.secondary_phy   = BLE_GAP_PHY_CODED; 

     second settings:

          adv_params.primary_phy     = BLE_GAP_PHY_CODED;
          adv_params.secondary_phy   = BLE_GAP_PHY_CODED; 

Related