14.2.3.2.6 Security keys

Security keys

BitCloud makes use of three types of security keys: network key, link key, and master key. A network key is used for all security modes. Link keys are used in standard link security. Master keys are only valid for high security mode, which is not supported by publicly available microchip Zigbee packages.

All network keys take 16-byte values. A typical way to set up a value in code in to use an array of uint8_t:

uint8_t[] securityKey = {0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa};

When the CS_NETWORK_KEY parameter is specified in config, the same array notation should be used to point out a value, for example:

#define CS_NETWORK_KEY   {0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa}