Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE Long Range

Hi,

I'm testing a PCA10056 S140 (nrF 52840 PDK), SDK15.

I want to test long range extension : using ble_app_att_mtu_throughput application sample.

But when I change :

.primary_phy   = BLE_GAP_PHY_1MBPS, // Must be changed to connect in long range. (BLE_GAP_PHY_CODED)

by

.primary_phy   = BLE_GAP_PHY_CODED,

I got and NRF_ERROR_INVALID_PARAM during the call to

sd_ble_gap_adv_set_configure

Nothing else modified into the all code. Application working well @1Mbps.

Something missing ? (appart also modifying scan parameters to fitt the same encoding way of advertising).

Bye.

Parents
  • Hello, you will also need to change the advertisement type, for instance, from:
    adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED;
    to:
    adv_params.properties.type = BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED; 

  • Hi,


    No more runtime error at this point but no more advertising with BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED, even at 1Mbs with BLE 4.2 encoding.

    And with this configuration (BLE_GAP_PHY_CODED & BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED) another error occur at runtime when the m_scan_param.scan_phys is set to BLE_GAP_PHY_CODED.

    I just want to make a basic test: two boards using the BLE5 long range mode and communicates -see the advertising packets- with each other (such as the original sample ble_app_mtu_throughput) ? .. in order to go far far away to check distance !

    Tank's

Reply
  • Hi,


    No more runtime error at this point but no more advertising with BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED, even at 1Mbs with BLE 4.2 encoding.

    And with this configuration (BLE_GAP_PHY_CODED & BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED) another error occur at runtime when the m_scan_param.scan_phys is set to BLE_GAP_PHY_CODED.

    I just want to make a basic test: two boards using the BLE5 long range mode and communicates -see the advertising packets- with each other (such as the original sample ble_app_mtu_throughput) ? .. in order to go far far away to check distance !

    Tank's

Children
Related