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

Method isNetworkKeySet

cpp/src/Driver.cpp:7214–7221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7212};
7213
7214bool Driver::isNetworkKeySet() {
7215 std::string networkKey;
7216 if (!Options::Get()->GetOptionAsString("NetworkKey", &networkKey )) {
7217 return false;
7218 } else {
7219 return networkKey.length() <= 0 ? false : true;
7220 }
7221}
7222
7223bool Driver::CheckNodeConfigRevision
7224(

Callers 5

ReadCommandClassesXMLMethod · 0.80
SetProtocolInfoMethod · 0.80
SetSecuredClassesMethod · 0.80
UpdateNodeInfoMethod · 0.80

Calls 3

GetOptionAsStringMethod · 0.80
GetFunction · 0.70
lengthMethod · 0.45

Tested by

no test coverage detected