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

Method GetSUCNodeId

cpp/src/Manager.cpp:492–504  ·  view source on GitHub ↗

----------------------------------------------------------------------------- -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

490//
491//-----------------------------------------------------------------------------
492uint8 Manager::GetSUCNodeId
493(
494 uint32 const _homeId
495)
496{
497 if( Driver* driver = GetDriver( _homeId ) )
498 {
499 return driver->GetSUCNodeId();
500 }
501
502 Log::Write( LogLevel_Info, "mgr, GetSUCNodeId() failed - _homeId %d not found", _homeId );
503 return 0xff;
504}
505
506//-----------------------------------------------------------------------------
507// <Manager::IsPrimaryController>

Callers

nothing calls this directly

Calls 1

WriteFunction · 0.85

Tested by

no test coverage detected