3.6.19 CNFG_LockConfiguration
Command and its Response
The CNFG_LockConfiguration command (0xC7) changes the
protection level to ‘Password Set - Locked’:
qwPassword→ 8-byte password
This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0xC7 | Command code | Changes the protection level to ‘Password Set - Locked’ |
| 1-8 | qwPassword | Password (8 bytes) | Eight bytes of password |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0xC7 | Echo command code | Returns whether the CNFG_LockConfiguration command
was accepted or rejected |
| 1 | 0x20 | Accepted – success | Accepted. The new state of the device configuration is Password protected (locked). |
0x80 | Rejected – wrong parameters | Rejected because the password did not match | |
0x64 | Rejected - permanently locked | Rejected because the configuration is permanently locked | |
0x68 | Rejected - invalid state | Rejected because the password is not set | |
0x6C | Rejected - no operation | Rejected because the configuration is already locked | |
0x90 | Failure - unsuccessful NVM write | Could not save in NVM; retry | |
