pub unsafe extern "C" fn otMessageGetThreadLinkInfo(
    aMessage: *const otMessage,
    aLinkInfo: *mut otThreadLinkInfo
) -> otError
Expand description

Retrieves the link-specific information for a message received over Thread radio.

@param[in] aMessage The message from which to retrieve otThreadLinkInfo. @pram[out] aLinkInfo A pointer to an otThreadLinkInfo to populate.

@retval OT_ERROR_NONE Successfully retrieved the link info, @p aLinkInfo is updated. @retval OT_ERROR_NOT_FOUND Message origin is not OT_MESSAGE_ORIGIN_THREAD_NETIF.