Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
]
class EmberCertificateData(EzspStruct):
# The implicit certificate used in CBKE.
_fields = [
# The certificate data.
("contents", basic.fixed_list(48, basic.uint8_t))
]
class EmberPublicKeyData(EzspStruct):
# The public key data used in CBKE.
_fields = [
# The public key data.
("contents", basic.fixed_list(22, basic.uint8_t))
]
class EmberPrivateKeyData(EzspStruct):
# The private key data used in CBKE.
_fields = [
# The private key data.
("contents", basic.fixed_list(21, basic.uint8_t))
]
class EmberTransientKeyData(EzspStruct):
# The transient key data structure
_fields = [
# The IEEE address paired with the transient link key.
("eui64", named.EmberEUI64),
]
class EmberSignatureData(EzspStruct):
# An ECDSA signature
_fields = [
# The signature data.
("contents", basic.fixed_list(42, basic.uint8_t))
]
class EmberCertificate283k1Data(EzspStruct):
# The implicit certificate used in CBKE.
_fields = [
# The 283k1 certificate data.
("contents", basic.fixed_list(74, basic.uint8_t))
]
class EmberPublicKey283k1Data(EzspStruct):
# The public key data used in CBKE.
_fields = [
# The 283k1 public key data.
("contents", basic.fixed_list(37, basic.uint8_t))
]
class EmberPrivateKey283k1Data(EzspStruct):
# The private key data used in CBKE.
_fields = [
# The 283k1 private key data.
("contents", basic.fixed_list(36, basic.uint8_t))
]
class EmberPublicKey283k1Data(EzspStruct):
# The public key data used in CBKE.
_fields = [
# The 283k1 public key data.
("contents", basic.fixed_list(37, basic.uint8_t))
]
class EmberPrivateKey283k1Data(EzspStruct):
# The private key data used in CBKE.
_fields = [
# The 283k1 private key data.
("contents", basic.fixed_list(36, basic.uint8_t))
]
class EmberSignature283k1Data(EzspStruct):
# An ECDSA signature
_fields = [
# The 283k1 signature data.
("contents", basic.fixed_list(72, basic.uint8_t))
]
class EmberMessageDigest(EzspStruct):
# The calculated digest of a message
_fields = [
# The calculated digest of a message.
("contents", basic.fixed_list(16, basic.uint8_t))
]
class EmberSmacData(EzspStruct):
# The Shared Message Authentication Code data used in CBKE.
_fields = [
# The Shared Message Authentication Code data.
("contents", basic.fixed_list(16, basic.uint8_t))
]
class EmberSignatureData(EzspStruct):
# An ECDSA signature
_fields = [
# The signature data.
("contents", basic.fixed_list(42, basic.uint8_t))
]
class EmberCertificate283k1Data(EzspStruct):
# The implicit certificate used in CBKE.
_fields = [
# The 283k1 certificate data.
("contents", basic.fixed_list(74, basic.uint8_t))
]
class EmberPublicKey283k1Data(EzspStruct):
# The public key data used in CBKE.
_fields = [
# The 283k1 public key data.
("contents", basic.fixed_list(37, basic.uint8_t))
# the node.
("vendorId", basic.uint16_t),
# The vendor string field shall contain the vendor string of the node.
("vendorString", basic.fixed_list(7, basic.uint8_t)),
]
class EmberRf4ceApplicationInfo(EzspStruct):
# The RF4CE application information block.
_fields = [
# The application capabilities field shall contain information relating
# to the capabilities of the application of the node.
("capabilities", named.EmberRf4ceApplicationCapabilities),
# The user string field shall contain the user specified identification
# string.
("userString", basic.fixed_list(15, basic.uint8_t)),
# The device type list field shall contain the list of device types
# supported by the node.
("deviceTypeList", basic.fixed_list(3, basic.uint8_t)),
# The profile ID list field shall contain the list of profile
# identifiers disclosed as supported by the node.
("profileIdList", basic.fixed_list(7, basic.uint8_t)),
]
class EmberRf4cePairingTableEntry(EzspStruct):
# The internal representation of an RF4CE pairing table entry.
_fields = [
# The link key to be used to secure this pairing link.
("securityLinkKey", named.EmberKeyData),
# The IEEE address of the destination device.
("destLongId", named.EmberEUI64),
# has told this device to use when searching for the network. This may
# only be set at joining when using USE_NWK_COMMISSIONING as the join
# method.
("channels", basic.uint32_t),
]
class EmberZigbeeNetwork(EzspStruct):
# The parameters of a ZigBee network.
_fields = [
# The 802.15.4 channel associated with the network.
("channel", basic.uint8_t),
# The network's PAN identifier.
("panId", basic.uint16_t),
# The network's extended PAN identifier.
("extendedPanId", basic.fixed_list(8, basic.uint8_t)),
# Whether the network is allowing MAC associations.
("allowingJoin", named.Bool),
# The Stack Profile associated with the network.
("stackProfile", basic.uint8_t),
# The instance of the Network.
("nwkUpdateId", basic.uint8_t),
]
class EmberApsFrame(EzspStruct):
# ZigBee APS frame parameters.
_fields = [
# The application profile ID that describes the format of the message.
("profileId", basic.uint16_t),
# The cluster ID for this message.
("clusterId", basic.uint16_t),
# The link key to be used to secure this pairing link.
("securityLinkKey", named.EmberKeyData),
# The IEEE address of the destination device.
("destLongId", named.EmberEUI64),
# The frame counter last received from the recipient node.
("frameCounter", basic.uint32_t),
# The network address to be assumed by the source device.
("sourceNodeId", named.EmberNodeId),
# The PAN identifier of the destination device.
("destPanId", named.EmberPanId),
# The network address of the destination device.
("destNodeId", named.EmberNodeId),
# The vendor ID of the destination device.
("destVendorId", basic.uint16_t),
# The list of profiles supported by the destination device.
("destProfileIdList", basic.fixed_list(7, basic.uint8_t)),
# The length of the list of supported profiles.
("destProfileIdListLength", basic.uint8_t),
# Info byte.
("info", basic.uint8_t),
# The expected channel of the destination device.
("channel", basic.uint8_t),
# The node capabilities of the recipient node.
("capabilities", basic.uint8_t),
# Last MAC sequence number seen on this pairing link.
("lastSeqn", basic.uint8_t),
]
class EmberGpAddress(EzspStruct):
# A GP address structure.
_fields = [
("vendorString", basic.fixed_list(7, basic.uint8_t)),
]
class EmberRf4ceApplicationInfo(EzspStruct):
# The RF4CE application information block.
_fields = [
# The application capabilities field shall contain information relating
# to the capabilities of the application of the node.
("capabilities", named.EmberRf4ceApplicationCapabilities),
# The user string field shall contain the user specified identification
# string.
("userString", basic.fixed_list(15, basic.uint8_t)),
# The device type list field shall contain the list of device types
# supported by the node.
("deviceTypeList", basic.fixed_list(3, basic.uint8_t)),
# The profile ID list field shall contain the list of profile
# identifiers disclosed as supported by the node.
("profileIdList", basic.fixed_list(7, basic.uint8_t)),
]
class EmberRf4cePairingTableEntry(EzspStruct):
# The internal representation of an RF4CE pairing table entry.
_fields = [
# The link key to be used to secure this pairing link.
("securityLinkKey", named.EmberKeyData),
# The IEEE address of the destination device.
("destLongId", named.EmberEUI64),
# The frame counter last received from the recipient node.
("frameCounter", basic.uint32_t),
# The network address to be assumed by the source device.
# RSSI correction value.
("rssiCorrection", basic.uint8_t),
]
class EmberTokTypeStackZllSecurity(EzspStruct):
# Public API for ZLL stack security token.
_fields = [
# Token bitmask.
("bitmask", basic.uint32_t),
# Key index.
("keyIndex", basic.uint8_t),
# Encryption key.
("encryptionKey", basic.fixed_list(16, basic.uint8_t)),
# Preconfigured key.
("preconfiguredKey", basic.fixed_list(16, basic.uint8_t)),
]
class EmberRf4ceVendorInfo(EzspStruct):
# The RF4CE vendor information block.
_fields = [
# The vendor identifier field shall contain the vendor identifier of
# the node.
("vendorId", basic.uint16_t),
# The vendor string field shall contain the vendor string of the node.
("vendorString", basic.fixed_list(7, basic.uint8_t)),
]
class EmberRf4ceApplicationInfo(EzspStruct):
# The RF4CE application information block.