Z-Stack API Reference  4.40.00.15
_zstack_gpencryptdecryptcommissioningkey_t Struct Reference

#include <zstack.h>

Data Fields

bool encrypt
 
gpdID_t gpdId
 
uint8_t keyType
 
uint8_t key [SEC_KEY_LEN]
 
uint32_t keyMic
 
uint8_t secKey [SEC_KEY_LEN]
 
uint32_t secFrameCounter
 

Detailed Description

Structure to send a GPDF commissioning key for encryption/decryption.

Field Documentation

§ encrypt

bool encrypt

Encrypt

§ gpdId

gpdID_t gpdId

Green PowerDevice ID

§ key

uint8_t key[SEC_KEY_LEN]

Encrypted key

§ keyMic

uint32_t keyMic

MIC for the encrypted key

§ keyType

uint8_t keyType

Key Type

§ secFrameCounter

uint32_t secFrameCounter

Current Security Frame Counter

§ secKey

uint8_t secKey[SEC_KEY_LEN]

Security Key


The documentation for this struct was generated from the following file: