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

Advertising packets power

I am interested in setting the tx power level the advertising packets in a nRF52832 are transmitted with. I saw there is the TXPOWER register in the RADIO section (address 0x40001000 + 0x50C) that sets the "Output power". My questions are:

  1. Is there any specific mechanism in the nRF5 SDK (v11.0.0) to set the tx power and, more specifically, the tx power of the advertising data?

  2. Otherwise, is it safe to manually change the value of the TXPOWER register, dinamically and as needed? For example, advertise at -20 dBm and switch to 4 dBM after a connection request is received. Will that actually change the TX power or do I need to initialize the BLE library again or stuff?

Related