2022-07-29 12:57 AM
int8_t set_tx_power = 6;
int8_t get_tx_power = 0;
/* Set the radio's transmit power in dBm. */
error = otPlatRadioSetTransmitPower(NULL, set_tx_power);
if (error != OT_ERROR_NONE){
}
/* Get the radio's transmit power in dBm.*/
error = otPlatRadioGetTransmitPower(NULL, &get_tx_power);
if (error != OT_ERROR_NONE){
}
APP_DBG("Transmit Power = %d", get_tx_power);
The transmit power is always 0, I used STM32WB5MM-DK to do the test.