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,

    I went through the steps and just read them again (to make sure). I'm using the SDK version 13.0.0, and I replaced the files within the SDK with the headers included in the s140 5.0.0-3.alpha release.

    However, the file I'm referring to within the SDK is in the path components/ble/ble_advertising which is not included with the s140 release's header files (which get placed in components/softdevice/s140).

    I even checked out the 13.1.0 SDK release and that one also includes the references to the macro BLE_GAP_ADV_MAX_SIZE which doesn't exist in the new version of s140.

Reply
  • Ulrich,

    I went through the steps and just read them again (to make sure). I'm using the SDK version 13.0.0, and I replaced the files within the SDK with the headers included in the s140 5.0.0-3.alpha release.

    However, the file I'm referring to within the SDK is in the path components/ble/ble_advertising which is not included with the s140 release's header files (which get placed in components/softdevice/s140).

    I even checked out the 13.1.0 SDK release and that one also includes the references to the macro BLE_GAP_ADV_MAX_SIZE which doesn't exist in the new version of s140.

Children
No Data
Related