( PH:0x02, SH:0x05 0x08 ) - Link Network Key Write CommandOverviewThe Link Network Key Write command is sent by the Host to the Module in order to set the application Preconfigured Link Network Key. The Host may only set the Preconfigured Link Network Key while the application is in the Network Down state, after which the key will be automatically randomized. If The Network Key is only applied if the Host subsequently forms a network as a coordinator. If serving as a router or end device, the key will be applied as the Global Trust Center Link Key. Otherwise, if the Host joins a network as either a router or end device, the key will be applied as the Joining Key.The Preconfigured Link application will receive a Network Key from the network Trust Center. The Network Key is not stored in non-volatile memory and memory and must therefore be set prior to forming or joining a network subsequent to a Reset or power-cycle. If the Host does not manually set the key, the application will use the default Preconfigured Link Key specified by the Zigbee Home Automation Specificationgenerate a random value for it upon forming a network. PayloadByte Index | Field Name | Notes |
---|
0..15 | Preconfigured Link Key | Default = {0x5A, 0x69, 0x67, 0x42, 0x65, 0x65, 0x41, 0x6C, 0x6C, 0x69, 0x61, 0x6E, 0x63, 0x65, 0x30, 0x39} = “ZigbeeAlliance09” | Network Key |
|
Effect on ReceiptThe Module will apply this Preconfigured Link Key when it either forms or joins a network, the latter when the Joining Key Option corresponds to Preconfigured Link KeyNetwork Key is set, but is only applied if the Host subsequently forms a network as a coordinator. Allowed ContextNetwork Down. Sent By Host/ModuleHost. |