[][src]Function openthread_sys::otLinkRawSetShortAddress

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

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.