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

Method HasNodeFailed

cpp/src/Manager.cpp:4240–4253  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Test if the Controller Believes the Node has Failed. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4238// Test if the Controller Believes the Node has Failed.
4239//-----------------------------------------------------------------------------
4240bool Manager::HasNodeFailed
4241(
4242 uint32 const _homeId,
4243 uint8 const _nodeId
4244)
4245{
4246 if (Driver *driver = GetDriver( _homeId ) ) {
4247 LockGuard LG(driver->m_nodeMutex);
4248 return driver->BeginControllerCommand(
4249 Driver::ControllerCommand_HasNodeFailed,
4250 NULL, NULL, true, _nodeId, 0);
4251 }
4252 return false;
4253}
4254
4255//-----------------------------------------------------------------------------
4256// <Manager::AssignReturnRoute>

Callers 1

HandleMsgMethod · 0.80

Calls 1

Tested by

no test coverage detected