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.

  • It seems like you forgot the step where you copy the header files from the release bundle and replace them with the s140 ones inside the SDK folder. When skipping that, I got similar errors. Either that, or you are using an incompatible SDK version. Please follow the instructions in the readme.md file inside the example to the letter. For me it built just fine, going from a fresh compile using Keil.

Reply
  • It seems like you forgot the step where you copy the header files from the release bundle and replace them with the s140 ones inside the SDK folder. When skipping that, I got similar errors. Either that, or you are using an incompatible SDK version. Please follow the instructions in the readme.md file inside the example to the letter. For me it built just fine, going from a fresh compile using Keil.

Children
No Data
Related