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

Method RemoveFailedNode

cpp/src/Manager.cpp:4221–4234  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Remove a Specific Device from the network if its non-responsive. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4219// Remove a Specific Device from the network if its non-responsive.
4220//-----------------------------------------------------------------------------
4221bool Manager::RemoveFailedNode
4222(
4223 uint32 const _homeId,
4224 uint8 const _nodeId
4225)
4226{
4227 if (Driver *driver = GetDriver( _homeId ) ) {
4228 LockGuard LG(driver->m_nodeMutex);
4229 return driver->BeginControllerCommand(
4230 Driver::ControllerCommand_RemoveFailedNode,
4231 NULL, NULL, true, _nodeId, 0);
4232 }
4233 return false;
4234}
4235
4236//-----------------------------------------------------------------------------
4237// <Manager::HasNodeFailed>

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected