openthread_sys

Function otPlatTrelHandleDiscoveredPeerInfo

Source
pub unsafe extern "C" fn otPlatTrelHandleDiscoveredPeerInfo(
    aInstance: *mut otInstance,
    aInfo: *const otPlatTrelPeerInfo,
)
Expand description

This is a callback function from platform layer to report a discovered TREL peer info.

@note The @p aInfo structure and its content (e.g., the mTxtData buffer) does not need to persist after returning from this call. OpenThread code will make a copy of all the info it needs.

@param[in] aInstance The OpenThread instance. @param[in] aInfo A pointer to the TREL peer info.