4.2.6 Security Keys

BitCloud® makes use of three types of security keys:
  • Network key – A network key is used for all security modes.

  • Link keys – For standard link security

  • Master keys – 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 is 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 user specifies the CS_NETWORK_KEY parameter in the config, the user must use the same array notation 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}