3.6.22 CNFG_PermanentLockCfg Command
and its Response
The CNFG_PermanentLockCfg command (0xCD) sets the protection
level to Configuration - Permanently Locked.
bSrlLen→ Length of the serial number, up to 60 bytesvSrlNum→ Serial number in Unicode format
This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0xCD | Command code | Permanently locks the device configuration |
| 1 | bSrlLen | Number of ASCII characters x 2 (in UTF-16LE format) | Length of the serial number in bytes |
| 2-N+1 | vSrlNum | Serial number (up to 30 ASCII characters) | Serial number, in UTF-16LE format |
| Byte Index | Response | Description | |
|---|---|---|---|
| 0 | 0xCD | Echo command code | Returns whether the CNFG_PermanentLockCfg command
was accepted |
| 1 |
|
Accepted – success Rejected – serial number mismatch. Failure - unsuccessful NVM write. |
The device configuration is permanently locked. Rejected because the serial number did not match. Saving into NVM failed; retry. |
