[][src]Function openthread_sys::otNcpRegisterLegacyHandlers

pub unsafe extern "C" fn otNcpRegisterLegacyHandlers(
    aHandlers: *const otNcpLegacyHandlers
)

This method registers a set of legacy handlers with NCP.

The set of handlers provided by the struct @p aHandlers are used by NCP code to start/stop legacy network. The @p aHandlers can be NULL to disable legacy support on NCP. Individual handlers in the given handlers struct can also be NULL.

@param[in] aHandlers A pointer to a handler struct.