3.6.17 CNFG_SetPassword Command and
its Response
The CNFG_SetPassword command (0xC3) saves an eight-byte
password to NVM and sets the protection level to ‘Password Set - Unlocked’:
qwPassword→ 8-bytes of password
This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0xC3 | Command code | Saves an eight-byte password to NVM and sets the protection level to Password Set - Unlocked |
| 1-8 | qwPassword | Password (eight bytes) | Eight bytes of password |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0xC3 | Echo command code | Returns whether the CNFG_SetPassword command was
accepted or not |
| 1 | 0x20 | Accepted – success | Accepted. The new state of the device configuration is Password protected (unlocked) and the password is saved to NVM. |
0x60 | Rejected – wrong parameters | Rejected because the password is not eight bytes long | |
0x64 | Rejected - permanently locked | Rejected because the configurations are permanently locked | |
0x68 | Rejected – invalid state | Rejected because the configurations are locked | |
0x6C | Rejected - password exists | Rejected because the password is already set | |
0x90 | Failure - unsuccessful NVM write | Could not save in NVM; retry | |
