123 #define OT_NCP_LEGACY_ULA_PREFIX_LENGTH 8 void otNcpHandleDidReceiveNewLegacyUlaPrefix(const uint8_t *aUlaPrefix)
This callback is invoked by the legacy stack to notify that the legacy ULA prefix has changed...
otNcpHandlerJoinLegacyNode mJoinLegacyNode
Join handler.
Definition: ncp.h:170
This type represents all the static / global variables used by OpenThread allocated in one place...
Definition: openthread-instance.h:59
This file defines the types and structures used in the OpenThread library API.
void otNcpRegisterLegacyHandlers(const otNcpLegacyHandlers *aHandlers)
This method registers a set of legacy handlers with NCP.
uint8_t otLogLevel
Log levels.
Definition: types.h:1182
Defines a struct containing all the legacy handlers (function pointers).
Definition: ncp.h:166
void(* otNcpHandlerStopLegacy)(void)
Defines handler (function pointer) type for stopping legacy network.
Definition: ncp.h:139
void otNcpPlatLogv(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, va_list ap)
Callback to write the OpenThread Log to the NCP Spinel Tunnel.
Definition: ncp_base.cpp:1965
otError otNcpStreamWrite(int aStreamId, const uint8_t *aDataPtr, int aDataLen)
Send data to the host via a specific stream.
Definition: ncp_base.cpp:1951
bool(* otNcpDelegateAllowPeekPoke)(uint32_t aAddress, uint16_t aCount)
Defines delegate (function pointer) type to control behavior of peek/poke operation.
Definition: ncp.h:102
otNcpHandlerStartLegacy mStartLegacy
Start handler.
Definition: ncp.h:168
void(* otNcpHandlerSetLegacyUlaPrefix)(const uint8_t *aUlaPrefix)
Defines handler (function pointer) type for setting the legacy ULA prefix.
Definition: ncp.h:160
void otNcpInit(otInstance *aInstance)
Initialize the NCP.
void(* otNcpHandlerStartLegacy)(void)
Defines handler (function pointer) type for starting legacy network.
Definition: ncp.h:131
void(* otNcpHandlerJoinLegacyNode)(const otExtAddress *aExtAddress)
Defines handler (function pointer) type for initiating joining process.
Definition: ncp.h:150
void otNcpHandleLegacyNodeDidJoin(const otExtAddress *aExtAddr)
This callback is invoked by the legacy stack to notify that a new legacy node did join the network...
This type represents the IEEE 802.15.4 Extended Address.
Definition: types.h:402
otLogRegion
This enum represents log regions.
Definition: types.h:1188
otNcpHandlerStopLegacy mStopLegacy
Stop handler.
Definition: ncp.h:169
otError
This enumeration represents error codes used throughout OpenThread.
Definition: types.h:107
struct otNcpLegacyHandlers otNcpLegacyHandlers
Defines a struct containing all the legacy handlers (function pointers).
otNcpHandlerSetLegacyUlaPrefix mSetLegacyUlaPrefix
Set ULA handler.
Definition: ncp.h:171
otError otNcpRegisterPeekPokeDelagates(otNcpDelegateAllowPeekPoke aAllowPeekDelegate, otNcpDelegateAllowPeekPoke aAllowPokeDelegate)
This method registers peek/poke delegate functions with NCP module.
Definition: ncp_base.cpp:1924