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

How to enable Bluetooth 5 long range advertisements

Hi,

I'm experimenting with the nrf52840 preview board.

I have tried the example "ble_app_att_mtu_throughput" using the coded option to check the extended range and it works fairly well. I heard that there is a bug in the sd which cripples the actual range though...

My question is regarding extended range advertising. It looks like the BLE_GAP_PHY_CODED option is something that is set up via negotiation during the actual connection.

What is the proper way to set up advertising so that BLE 5 devices can get the extended range during advertisement phase.

Thanks /Peter Lerup

Parents
  • In order to create connections on coded phy, you need to make use of the advertising extensions. These are supported in the latest alpha (s140 5.0.0-3). I haven't had a chance to play around with it, but there is an example inside the release that you can use.

    It's called ble_app_att_mtu_throughput_example_connecting_on_long_range.zip and resides in the public folder.

  • Ulrich,

    One thing I didn't mention is that I'm trying to include the new s140 headers into an existing project of mine, and so this existing project might be including files that have not been updated yet (such as the ble_advertising.c file). This may be causing the issue I'm running into. I will try running the example app separately first, and then figure out how to incorporate the changes and migrate my existing app to the new s140 release.

Reply
  • Ulrich,

    One thing I didn't mention is that I'm trying to include the new s140 headers into an existing project of mine, and so this existing project might be including files that have not been updated yet (such as the ble_advertising.c file). This may be causing the issue I'm running into. I will try running the example app separately first, and then figure out how to incorporate the changes and migrate my existing app to the new s140 release.

Children
No Data
Related