mirror of
https://github.com/espressif/openthread.git
synced 2026-08-17 16:09:51 +00:00
Add API for setting the default/maximum transmit power. (#394)
This commit is contained in:
@@ -441,6 +441,22 @@ const uint8_t *otGetMasterKey(uint8_t *aKeyLength);
|
||||
*/
|
||||
ThreadError otSetMasterKey(const uint8_t *aKey, uint8_t aKeyLength);
|
||||
|
||||
/**
|
||||
* This function returns the maximum transmit power setting in dBm.
|
||||
*
|
||||
* @returns The maximum transmit power setting.
|
||||
*
|
||||
*/
|
||||
int8_t otGetMaxTransmitPower(void);
|
||||
|
||||
/**
|
||||
* This function sets the maximum transmit power in dBm.
|
||||
*
|
||||
* @param[in] aPower The maximum transmit power in dBm.
|
||||
*
|
||||
*/
|
||||
void otSetMaxTransmitPower(int8_t aPower);
|
||||
|
||||
/**
|
||||
* This function returns a pointer to the Mesh Local EID.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user