Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF52840-DK ble_app_hrs setup for Long Range and 8dBm

Hello,

For a long range test between the nRF Toolbox Android app and the ble_app_hrs (in nRF5_SDK_17.1.0 package) over the nRF52840-DK. I would need to setup this board for 8dBm of Tx Power and BLE Long Range Coded PHY. How could I setup the ble_app_hrs code?

Regards

  • Hi

    How to set/change TX power is described in detail in this ticket. You can also check out this ticket to see what changes are necessary to make a peripheral advertise and connectable in Coded PHY (long range mode).

    Please note that not all phones support Coded PHY as of yet, and generally just the flagship models from the past two years supports this feature. I would also recommend using nRFConnect for Android instead of the nRF Toolbox, which is rather old at this point and has not been updated in a while.

    Best regards,

    Simon

  • Hi,

    For this evaluation stage of the nRF52840, I would just need to make a fieldtest the range distance I can get with 8dBm in the nRF52840-DK and a smartphone running the nRFConnect or better the nRFToolobox Android apps. Of course, the final result would be dependant of the smartphone, but I need first to fix the nRF52840 parameters without havign to rewritten any code, I thought on the ble_app_hrs because I see some other ticket where it look that it was possible to program the nRF52840-DK TX Power to 0, 4 or 8dBm. But I have no clear idea of how to do it?

    Please, could you suggest any other option to make this fieldtest? If the result could be enough for the application, ee would decide to use a module with the nRF52840.

    Thank you.

  • Hi,

    I have found this case

    https://devzone.nordicsemi.com/f/nordic-q-a/54562/location-to-set-tx-power-in-advertisement-and-connection-mode-also-change-them-dynamically-at-runtime/220720#220720

    Following this case I have found in the ble_app_proximity is a way to setup de Tx_Power as a part of the advertising_start() process. I have tested according to it using the tx_power_set() function into the main.c file and defining the TX_POWER_LEVEL at the begginning of this file. I have testes using the nRFConnect RSSI measurement and it looks that it works.

    Best Regards,

    Joel

Related