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

Method WakeUp

cpp/src/command_classes/WakeUp.cpp:62–76  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Constructor -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

60// Constructor
61//-----------------------------------------------------------------------------
62WakeUp::WakeUp
63(
64 uint32 const _homeId,
65 uint8 const _nodeId
66):
67CommandClass( _homeId, _nodeId ),
68m_mutex( new Mutex() ),
69m_awake( true ),
70m_pollRequired( false )
71{
72 Timer::SetDriver(GetDriver());
73 Options::Get()->GetOptionAsBool("AssumeAwake", &m_awake);
74 m_com.EnableFlag(COMPAT_FLAG_WAKEUP_DELAYNMI, 0);
75 SetStaticRequest( StaticRequest_Values );
76}
77
78//-----------------------------------------------------------------------------
79// <WakeUp::~WakeUp>

Callers

nothing calls this directly

Calls 3

GetOptionAsBoolMethod · 0.80
EnableFlagMethod · 0.80
GetFunction · 0.50

Tested by

no test coverage detected