mirror of
https://github.com/espressif/openthread.git
synced 2026-10-01 05:17:40 +00:00
Implement the use of otPlatRadioDefaultTxPower API. (#1417)
* Implement the use of otPlatRadioDefaultTxPower API. * Add implementation of otPlatRadioSetDefaultTxPower for windows.
This commit is contained in:
@@ -407,6 +407,15 @@ int8_t otPlatRadioGetRssi(otInstance *aInstance);
|
||||
*/
|
||||
otRadioCaps otPlatRadioGetCaps(otInstance *aInstance);
|
||||
|
||||
/**
|
||||
* Set the radio Tx power used for auto-generated frames.
|
||||
*
|
||||
* @param[in] aInstance The OpenThread instance structure.
|
||||
* @param[in] aPower The Tx power to use in dBm.
|
||||
*
|
||||
*/
|
||||
void otPlatRadioSetDefaultTxPower(otInstance *aInstance, int8_t aPower);
|
||||
|
||||
/**
|
||||
* Get the status of promiscuous mode.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user