nl:: Weave:: Profiles:: DeviceDescription:: DeviceDescriptionServer
#include <src/lib/profiles/device-description/DeviceDescription.h>
Server object for responding to Device Description requests.
Summary
Inheritance
Inherits from: nl::Weave::WeaveServerBaseDirect Known Subclasses: nl::Weave::DeviceLayer::Internal::DeviceDescriptionServer
Constructors and Destructors |
|
---|---|
DeviceDescriptionServer(void)
|
Public types |
|
---|---|
HandleIdentifyRequestFunct)(void *appState, uint64_t nodeId, const IPAddress &nodeAddr, const IdentifyRequestMessage &reqMsg, bool &sendResp, IdentifyResponseMessage &respMsg)
|
typedefvoid(*
|
Public attributes |
|
---|---|
AppState
|
void *
Application defined state pointer to provide context for callbacks.
|
OnIdentifyRequestReceived
|
HandleIdentifyRequestFunct
This function is responsible for processing IdentityRequest messages.
|
Public functions |
|
---|---|
Init(WeaveExchangeManager *exchangeMgr)
|
Initialize the Device Description Server state and register to receive Device Description messages.
|
Shutdown(void)
|
Shutdown the Device Description Server.
|
Public types
HandleIdentifyRequestFunct
void(* HandleIdentifyRequestFunct)(void *appState, uint64_t nodeId, const IPAddress &nodeAddr, const IdentifyRequestMessage &reqMsg, bool &sendResp, IdentifyResponseMessage &respMsg)
Public attributes
AppState
void * AppState
Application defined state pointer to provide context for callbacks.
OnIdentifyRequestReceived
HandleIdentifyRequestFunct OnIdentifyRequestReceived
This function is responsible for processing IdentityRequest messages.
Details | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Parameters |
|
Public functions
DeviceDescriptionServer
DeviceDescriptionServer( void )
Init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeMgr )
Initialize the Device Description Server state and register to receive Device Description messages.
param[in] exchangeMgr A pointer to the Weave Exchange Manager.
Details | |||||||
---|---|---|---|---|---|---|---|
Return Values |
|
Shutdown
WEAVE_ERROR Shutdown( void )
Shutdown the Device Description Server.
Details | |||
---|---|---|---|
Return Values |
|