Function openthread_sys::otUdpAddReceiver

source ยท
pub unsafe extern "C" fn otUdpAddReceiver(
    aInstance: *mut otInstance,
    aUdpReceiver: *mut otUdpReceiver,
) -> otError
Expand description

Adds a UDP receiver.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aUdpReceiver A pointer to the UDP receiver.

@retval OT_ERROR_NONE The receiver is successfully added. @retval OT_ERROR_ALREADY The UDP receiver was already added.