Add API for setting the default/maximum transmit power. (#394)

This commit is contained in:
Jonathan Hui
2016-08-17 14:31:27 -07:00
committed by GitHub
parent c518c17559
commit 5fcc74330f
5 changed files with 71 additions and 0 deletions
+16
View File
@@ -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.
*