KZ (Remote AT Command Password)
This command applies to the XBee/XBee-PRO SX RF Module.
Sets a password to inhibit transmission and reception of remote AT commands without including the password in the request. The password is write-only and cannot be changed without knowing the current password. When you set KZ, it disables Remote AT Command Request - 0x17 frames and you must use Secure Remote AT Command Request frame - 0x18 frames.
To change the password, enter two ASCII strings of 16 characters or less, separated by a space character. The first string is the old password and the second string is the new password. All ASCII characters other than white space characters and comma (,) are allowed in a password. Although we do not recommend it, you can include non-printable characters in the password if you enter them in API mode. The software allows all characters that are not password delimiters (SP, comma, CR, LF, TAB, vertical tab, and form feed), as part of the password.
Each device has its own password, which may or may not match passwords on another device in the network.
You must enable encryption when using a password so that even if the password is reset to the default value of 0 by using of RE (Restore Defaults), access to an active network is still inhibited due to the network key (KY) also being lost.
Parameter range
3 to 33 ASCII characters (a minimum of three characters are required to enter two passwords separated by a space)
Default
0 in ASCII.
Note When KZ is set to any value other than the default, it cannot be read. However, when KZ is set to the default value it reads 0.