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

nRF52840 long range demo

Hello,

I have see this demo

.hex are available witch is already nice, but I would like to get everything needed to reproduce it. Does someone know if it's possible to get the client application, the GPS cabling schema and the source code deployed on the nRF52840 Preview DK ?

Thank you,

Hydro

Parents
  • Hi

    The long range demo was not using the BLE SoftDevice, since it didn't support the long range mode at the time.
    Instead it was using a very simple proprietary protocol, similar to the ESB protocol.

    I am currently looking into the long range API of the latest S140 SoftDevice, and hope to have a simple example ready next week based on ble_app_uart.

    If you need something today it is also possible to modify the ble_app_att_mtu_throughput example in SDK v14.2.0 to use the S140 v6.0.0-6.alpha SoftDevice.

    Update: The example is ready, and available on the playground:
    https://github.com/NordicPlayground/nrf52-ble-app-uart-long-range

    Best regards
    Torbjørn

  • Hi ovrebekk,

    I'm using the SDK V14.2.0 with the S140 V5.0.0 and I can't found the parameters  .primary_phy and secondary_phy of the adc_params structure. Is it normal ? Do I need to use the SDK V15 ?

    static ble_gap_adv_params_t adv_params = {0};
       
        adv_params.primary_phy   = BLE_GAP_PHY_CODED;
        adv_params.secondary_phy = BLE_GAP_PHY_CODED;

    Sincerely,
    Sylvain.

  • Hi Sylvain

    The .primary_phy and .secondary_phy fields are not included in the standard SDK v14.2.0 files, that is correct. You would have to download S140 v6.0.0-6.alpha from here and include the BLE header files that come with the SoftDevice, rather than the ones included in the SDK. 

    This is how it was done in the long range ble_app_uart example linked to above. 

    Moving to SDK v15 is probably a better idea, as it includes many other improvements, as well as the production ready version of S140. 

    Best regards
    Torbjørn

Reply
  • Hi Sylvain

    The .primary_phy and .secondary_phy fields are not included in the standard SDK v14.2.0 files, that is correct. You would have to download S140 v6.0.0-6.alpha from here and include the BLE header files that come with the SoftDevice, rather than the ones included in the SDK. 

    This is how it was done in the long range ble_app_uart example linked to above. 

    Moving to SDK v15 is probably a better idea, as it includes many other improvements, as well as the production ready version of S140. 

    Best regards
    Torbjørn

Children
No Data
Related