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

changing TX power for each advertising

Hai team,

Iam using ble_app_beacon application in nrF51822 dongle .I want to change tx power for every advertising. example :let us assume frequency 4 for advertising for one second.i need to change tx power for every advertising (i.e -20dBm,-16dBm,-12dBm,0dBm).can u please tell me which function call does we use and what is the procedure???

Parents
  • You can change this for every advertising interval not packet (assuming there are normally 3 advertising packets per interval on channels 37/38/39 although you can drop some of these in the config). Simply set-up radio_notification mechanism which will call your handler before and after each radio event. If your only event is advertising then you can use it easily (and you can choose if you will call sd_ble_gap_tx_power_set() function before each interval or after).

Reply
  • You can change this for every advertising interval not packet (assuming there are normally 3 advertising packets per interval on channels 37/38/39 although you can drop some of these in the config). Simply set-up radio_notification mechanism which will call your handler before and after each radio event. If your only event is advertising then you can use it easily (and you can choose if you will call sd_ble_gap_tx_power_set() function before each interval or after).

Children
No Data
Related