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

Set TX power on Zephyr device

I'm implementing a project that attempts to change the TX power of itself during runtime. I have used the set and get functions from the Zephyr sample: https://docs.zephyrproject.org/latest/samples/bluetooth/hci_pwr_ctrl/README.html

But no matter what I set the tx power to, it doesn't seem to affect the actual tx power of the device. I am testing this using a BLE scanner, and seeing how far away i can get before the scanner can no longer see the device. If i set the power to the minimum, i can still get to the same distance away as if i set the power to maximum. 

I know that the set_tx_power is doing what it's supposed to do because when i run the get_tx_power, it returns the value that i set in set_tx_power.

Is there something I'm missing?

Parents Reply Children
No Data
Related