Function openthread_sys::otLinkSendEmptyData
source ยท pub unsafe extern "C" fn otLinkSendEmptyData(
aInstance: *mut otInstance,
) -> otError
Expand description
Instructs the device to send an empty IEEE 802.15.4 data frame.
Is only supported on an Rx-Off-When-Idle device to send an empty data frame to its parent.
Note: available only when OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE
is enabled.
@param[in] aInstance A pointer to an OpenThread instance.
@retval OT_ERROR_NONE Successfully enqueued an empty message. @retval OT_ERROR_INVALID_STATE Device is not in Rx-Off-When-Idle mode. @retval OT_ERROR_NO_BUFS Insufficient message buffers available.