3.6.21 CNFG_ChangePassword Command and its Response

The CNFG_ChangePassword command (0xCB) replaces the existing password with new password and retains the protection level as ‘Password Set - Unlocked’:

  • qwOldPassword → 8-byte old password
  • qwNewPassword → 8-byte new password

This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).

Table 3-47. CNFG_ChangePassword - Command
Byte IndexCommandDescription
00xCBCommand codeReplaces the old password with the new password
1-8qwOldPasswordOld password (eight bytes)Eight bytes of the old password
9-16qwNewPasswordNew password (eight bytes)Eight bytes of the new password
Table 3-48. CNFG_ChangePassword - Response
Byte IndexResponseDescription
00xCBEcho command codeReturns whether the CNFG_ChangePassword command was accepted
10x20Accepted – successAccepted. The state is of the device configuration remains ‘Password Set - Unlocked’ and the new password is saved to NVM.
0x60Rejected – wrong parametersRejected because the new password length did not match
0x64Rejected – permanently lockedRejected because the configuration is permanently locked
0x68Rejected – invalid stateRejected because the configuration is locked
0x6CRejected – no operationRejected because the password is not set
0x80Rejected – no operationRejected because the old password did not match
0x90Failure - unsuccessful NVM writeSaving to NVM failed; retry