----------------------------------------------------------------------------- Heal the Z-Wave network one node at a time. -----------------------------------------------------------------------------
| 4156 | // Heal the Z-Wave network one node at a time. |
| 4157 | //----------------------------------------------------------------------------- |
| 4158 | void Manager::HealNetwork |
| 4159 | ( |
| 4160 | uint32 const _homeId, |
| 4161 | bool _doRR |
| 4162 | ) |
| 4163 | { |
| 4164 | if( Driver* driver = GetDriver( _homeId ) ) |
| 4165 | { |
| 4166 | LockGuard LG(driver->m_nodeMutex); |
| 4167 | for( uint8 i=0; i<255; i++ ) |
| 4168 | { |
| 4169 | if( driver->m_nodes[i] != NULL ) |
| 4170 | { |
| 4171 | driver->BeginControllerCommand( Driver::ControllerCommand_RequestNodeNeighborUpdate, NULL, NULL, true, i, 0 ); |
| 4172 | if( _doRR ) |
| 4173 | { |
| 4174 | driver->UpdateNodeRoutes( i, true ); |
| 4175 | } |
| 4176 | } |
| 4177 | } |
| 4178 | } |
| 4179 | } |
| 4180 | //----------------------------------------------------------------------------- |
| 4181 | // <Manager::AddNode> |
| 4182 | // Add a Device to the Network. |
nothing calls this directly
no test coverage detected