cancel
Showing results for 
Search instead for 
Did you mean: 

Thread/Thread_Coap_Generic otPlatRadioGetTransmitPower/otPlatRadioSetTransmitPower doesn't work

Redifinition
Associate II

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.

0 REPLIES 0