openthread_sys

Function otServerGetNetDataLocal

Source
pub unsafe extern "C" fn otServerGetNetDataLocal(
    aInstance: *mut otInstance,
    aStable: bool,
    aData: *mut u8,
    aDataLength: *mut u8,
) -> otError
Expand description

Provides a full or stable copy of the local Thread Network Data.

@param[in] aInstance A pointer to an OpenThread instance. @param[in] aStable TRUE when copying the stable version, FALSE when copying the full version. @param[out] aData A pointer to the data buffer. @param[in,out] aDataLength On entry, size of the data buffer pointed to by @p aData. On exit, number of copied bytes.