openthread_sys

Function otTrelGetNextPeer

Source
pub unsafe extern "C" fn otTrelGetNextPeer(
    aInstance: *mut otInstance,
    aIterator: *mut otTrelPeerIterator,
) -> *const otTrelPeer
Expand description

Iterates over the peer table entries and get the next entry from the table

@param[in] aInstance The OpenThread instance. @param[in] aIterator The iterator. MUST be initialized.

@returns A pointer to the next otTrelPeer entry or NULL if no more entries in the table.