Function openthread_sys::otUdpRemoveReceiver

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

Removes 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 removed. @retval OT_ERROR_NOT_FOUND The UDP receiver was not added.