This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
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

NRF51822 transmit power

L.S.

Suppose I want to customize the transmit power at installation time, not at build time or production time, how would I go about it?

I have adapted the proximity profile to let me change the tx_power but it seems it does not make any difference which value I set it to. I can read back the change value alright but when using the master control app on my phone I see no indication that the tx_power has been changed.

Also setting values below -100 prevents the application from starting. Values below -100 are not according to spec but I feel then it should take the lowest valid value.

Thanks for any help

Parents
  • I'm not quite sure I fully understand what you mean, but to configure the TX power as used by the S110 softdevice, you have to use sd_ble_gap_tx_power_set() function. Be aware that there is a preconfigured list of legal values to be used with this function, so you can't just pass in any number. Always check the error code it returns to see if it succeeded.

Reply
  • I'm not quite sure I fully understand what you mean, but to configure the TX power as used by the S110 softdevice, you have to use sd_ble_gap_tx_power_set() function. Be aware that there is a preconfigured list of legal values to be used with this function, so you can't just pass in any number. Always check the error code it returns to see if it succeeded.

Children
No Data
Related