2021-08-05 10:29 PM
In chat.c file api used already in CHAT_DeviceInit() function in BlueNRG2 is aci_hal_set_tx_power_level(1, 4); which will set transmit output power level to -2 dBm and while testing when i measured signal strength wrt app distance i was getting -80dBm at 3.16m ,if i am now setting it to +8dBm by using aci_hal_set_tx_power_level(1, 7); then that time also i am getting same readings .If transmit power is getting changed via this api then readings at different power level should be different.
Also while debugging when i checked the return status of this api it is always returning 0 (ie BLE_STATUS_SUCCESS) so this means power level is getting changed but while taking readings for signal strength vs approx distance it was same for both.
What is that i am missing?