mirror of
https://github.com/espressif/openthread.git
synced 2026-08-31 14:29:54 +00:00
Add API to set the IEEE 802.15.4 Extended Address. (#289)
This commit is contained in:
@@ -265,7 +265,8 @@ enum
|
||||
OT_THREAD_CHILD_ADDED = 1 << 6, ///< Child was added
|
||||
OT_THREAD_CHILD_REMOVED = 1 << 7, ///< Child was removed
|
||||
|
||||
OT_IP6_ML_ADDR_CHANGED = 1 << 8, ///< The mesh-local address has changed
|
||||
OT_IP6_LL_ADDR_CHANGED = 1 << 8, ///< The link-local address has changed
|
||||
OT_IP6_ML_ADDR_CHANGED = 1 << 9, ///< The mesh-local address has changed
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@@ -316,6 +316,17 @@ void otSetChildTimeout(uint32_t aTimeout);
|
||||
*/
|
||||
const uint8_t *otGetExtendedAddress(void);
|
||||
|
||||
/**
|
||||
* This function sets the IEEE 802.15.4 Extended Address.
|
||||
*
|
||||
* @param[in] aExtendedAddress A pointer to the IEEE 802.15.4 Extended Address.
|
||||
*
|
||||
* @retval kThreadError_None Successfully set the IEEE 802.15.4 Extended Address.
|
||||
* @retval kThreadError_InvalidArgs @p aExtendedAddress was NULL.
|
||||
*
|
||||
*/
|
||||
ThreadError otSetExtendedAddress(const otExtAddress *aExtendedAddress);
|
||||
|
||||
/**
|
||||
* Get the IEEE 802.15.4 Extended PAN ID.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user