MCPcopy Create free account
hub / github.com/OpenZWave/open-zwave / HandleMsg

Method HandleMsg

cpp/src/command_classes/NoOperation.cpp:42–52  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Handle a message from the Z-Wave network -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

40// Handle a message from the Z-Wave network
41//-----------------------------------------------------------------------------
42bool NoOperation::HandleMsg
43(
44 uint8 const* _data,
45 uint32 const _length,
46 uint32 const _instance // = 1
47)
48{
49 // We have received a no operation from the Z-Wave device.
50 Log::Write( LogLevel_Info, GetNodeId(), "Received NoOperation command from node %d", GetNodeId() );
51 return true;
52}
53
54//-----------------------------------------------------------------------------
55// <NoOperation::Set>

Callers

nothing calls this directly

Calls 2

WriteFunction · 0.85
GetNodeIdFunction · 0.70

Tested by

no test coverage detected