My requirement is simple: Want to increase the iBeacon transmit power to (i.e. -4, 0 or 4dbm). In the beacon example, I tried adding in the main loop after calling advertising_init():
uint32_t err_code = sd_ble_gap_tx_power_set(TX_POWER_LEVEL); APP_ERROR_CHECK(err_code);
where TX_POWER_LEVEL is defined as 0.
However when I execute the code on nRF51 DK (PCA10028), I am not able to observe increase in transmit power. I still see it as default (-30/-40dbm).
I request you to provide an example, where I can increase the iBeacon transmit power. I would further like to also tweak the advertising interval to optimize power usage.
Thank you and best regards,
Nitin