This repository has been archived on 2026-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
powersync-zigbee/libnymea-zigbee/zigbeesecurityconfiguration.h

33 lines
892 B
C++

#ifndef ZIGBEESECURITYCONFIGURATION_H
#define ZIGBEESECURITYCONFIGURATION_H
#include <QString>
class ZigbeeSecurityConfiguration
{
public:
explicit ZigbeeSecurityConfiguration();
ZigbeeSecurityConfiguration(const ZigbeeSecurityConfiguration &other);
QString networkKey() const;
void setNetworkKey(const QString &networkKey);
QString globalTrustCenterLinkKey() const;
void setGlobalTrustCenterlinkKey(const QString & globalTrustCenterLinkKey);
void clear();
bool operator==(const ZigbeeSecurityConfiguration &other) const;
bool operator!=(const ZigbeeSecurityConfiguration &other) const;
private:
// This is the local network key
QString m_networkKey;
// Note: this is the zigbee master key from (ZigBeeAlliance09)
QString m_globalTrustCenterLinkKey = "5A6967426565416C6C69616E63653039";
};
#endif // ZIGBEESECURITYCONFIGURATION_H