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

Method AssignReturnRoute

cpp/src/Manager.cpp:4259–4272  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Ask a Node to update its Return Route to the Controller -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

4257// Ask a Node to update its Return Route to the Controller
4258//-----------------------------------------------------------------------------
4259bool Manager::AssignReturnRoute
4260(
4261 uint32 const _homeId,
4262 uint8 const _nodeId
4263)
4264{
4265 if (Driver *driver = GetDriver( _homeId ) ) {
4266 LockGuard LG(driver->m_nodeMutex);
4267 return driver->BeginControllerCommand(
4268 Driver::ControllerCommand_AssignReturnRoute,
4269 NULL, NULL, true, _nodeId, 0);
4270 }
4271 return false;
4272}
4273
4274//-----------------------------------------------------------------------------
4275// <Manager::RequestNodeNeighborUpdate>

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected