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

Method DeleteAllReturnRoutes

cpp/src/Manager.cpp:4298–4311  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Ask a Node to delete all its Return Routes -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4296// Ask a Node to delete all its Return Routes
4297//-----------------------------------------------------------------------------
4298bool Manager::DeleteAllReturnRoutes
4299(
4300 uint32 const _homeId,
4301 uint8 const _nodeId
4302)
4303{
4304 if (Driver *driver = GetDriver( _homeId ) ) {
4305 LockGuard LG(driver->m_nodeMutex);
4306 return driver->BeginControllerCommand(
4307 Driver::ControllerCommand_DeleteAllReturnRoutes,
4308 NULL, NULL, true, _nodeId, 0);
4309 }
4310 return false;
4311}
4312
4313//-----------------------------------------------------------------------------
4314// <Manager::SendNodeInformation>

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected