I am using the qn908xcdk SDK in MCUXpresso IDE. Currently I am working on qn908xcdk_wireless_examples_bluetooth_wireless_uart_freertos example and I go through the code and I found some API which can set or get the advertising power level(dBm). I am using following API for reading the transmit power. By using bellow API generic callback(BleApp_GenericCallback) of gAdvTxPowerLevelRead_c event accrues and we can read the tx power from eventData.advTxPowerLevel_dBm but I observed that while advertising I got 3dBm power every time.
API to read the tx power level: Gap_ReadRadioPowerLevel(gTxPowerLevelForAdvertising_c, 0).Please guide me whether I should use above API or another for reading the transmitting power while BLE advertisement.