Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK
Dear,
In my application,I use TI CC2530 to build Zigbee network. I use Z-Stack2.5.1a, and Smart Energy standard.
According to the Smart Energy standard, before a device join the zigbee network, it will send install code and MAC ID to Coordinator to create the Pre-configured link key. I have checked the Z-Stack, It has below way tp preset the pre-configured link key:
#if defined ( DEFAULT_KEY )
CONST uint8 defaultKey[SEC_KEY_LEN] = DEFAULT_KEY;
#else
CONST uint8 defaultKey[SEC_KEY_LEN] =
{
#if defined ( APP_TP ) || defined ( APP_TP2 )
// Key for ZigBee Conformance Testing
0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0xbb,
0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa, 0xaa
#else
// Key for In-House Testing
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F
#endif
};
#endif
So, My question is when a device wants to join the zigbee network, If the device sends the install code to Coordinator through primitive? Great thx.