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).

Table 3-43. CNFG_LockConfiguration - Command
Byte IndexCommandDescription
00xC7Command codeChanges the protection level to ‘Password Set - Locked’
1-8qwPasswordPassword (8 bytes)Eight bytes of password
Table 3-44. CNFG_LockConfiguration - Response
Byte IndexResponseDescription
00xC7Echo command codeReturns whether the CNFG_LockConfiguration command was accepted or rejected
10x20Accepted – successAccepted. The new state of the device configuration is Password protected (locked).
0x80Rejected – wrong parametersRejected because the password did not match
0x64Rejected - permanently lockedRejected because the configuration is permanently locked
0x68Rejected - invalid stateRejected because the password is not set
0x6CRejected - no operationRejected because the configuration is already locked
0x90Failure - unsuccessful NVM writeCould not save in NVM; retry