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

Method Security

cpp/src/command_classes/Security.cpp:47–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47Security::Security
48(
49 uint32 const _homeId,
50 uint8 const _nodeId
51):
52CommandClass( _homeId, _nodeId ),
53m_schemeagreed(false),
54m_secured(false)
55
56{
57 /* We don't want the Driver to route "Security" messages back to us for Encryption,
58 * so disable SecureSupport for the Security Command Class
59 * (This stops this Command Class getting Marked as as IsSecured() if its listed
60 * in the SecurityCmd_SupportedReport from the device - Which some devices do)
61 */
62 ClearSecureSupport();
63
64}
65
66Security::~Security
67(

Callers

nothing calls this directly

Calls 1

ClearSecureSupportFunction · 0.85

Tested by

no test coverage detected