RK (Trust Center Network Key Rotation Interval)

This command applies to the XBee 3 Zigbee RF Module.

Used by a centralized trust center to automatically rotate the network key. RK determines in the interval, in days, in which a new random network key is generated and distributed to the network.

Automatic network key rotation can only be performed if NK is set to 0 and the device is acting as a centralized trust center (CE = 1, EE = 1, EO | 2). After RK days of runtime, the network key is rotated and the network is updated with the new key.

Setting RK to 0 performs a one-time network key rotation. This can be used by an external means to extend the key rotation beyond the maximum of 22 days or to securely rotate keys without explicitly setting NK.

Devices on the network store the current and previous network keys to ensure devices remain on the network through long sleep cycles or periods of lost connectivity. Should a device miss a network key update, it will securely rejoin the network and obtain the new network key from the trust center.

When a network key rotation is initiated, a Modem Status - 0x8A of 0x45 is emitted. After a period of time, a 0x07 modem status will indicate that the network has switched to the new key.

Parameter range

0 - 0x16 (days)

Default

0x16