openthread_sys

Function otLinkSetExtendedAddress

Source
pub unsafe extern "C" fn otLinkSetExtendedAddress(
    aInstance: *mut otInstance,
    aExtAddress: *const otExtAddress,
) -> otError
Expand description

Sets the IEEE 802.15.4 Extended Address.

@note Only succeeds when Thread protocols are disabled.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aExtAddress A pointer to the IEEE 802.15.4 Extended Address.

@retval OT_ERROR_NONE Successfully set the IEEE 802.15.4 Extended Address. @retval OT_ERROR_INVALID_ARGS @p aExtAddress was NULL. @retval OT_ERROR_INVALID_STATE Thread protocols are enabled.