openthread_sys

Function otLinkRawSetShortAddress

Source
pub unsafe extern "C" fn otLinkRawSetShortAddress(
    aInstance: *mut otInstance,
    aShortAddress: u16,
) -> otError
Expand description

Set the Short Address for address filtering.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aShortAddress The IEEE 802.15.4 Short Address.

@retval OT_ERROR_NONE If successful. @retval OT_ERROR_INVALID_STATE If the raw link-layer isn’t enabled.