3.6.2 CNFG_SetManufacturer Command
and its Response
The CNFG_SetManufacturer command (0x83) saves the manufacturer
name and its length to NVM:
bMfrLen→ Length of the manufacturer name, up to 60 bytes.vMfrName→ The manufacturer name in Unicode format. Manufacturer name may contain printable ASCII characters. Because the string is stored in Unicode format, each character requires two bytes. Therefore, up to 30 printable ASCII characters, including spaces, are supported.
This command is sent through Endpoint 0x05 (OUT). The response is read through Endpoint 0x85 (IN).
| Byte Index | Command | Description | |
|---|---|---|---|
| 0 | 0x83 | Command code | Saves the manufacturer name to NVM |
| 1 | bMfrLen | Number of ASCII characters x 2 (in UTF-16LE format) | Length of manufacturer name in bytes |
| 2 | vMfrName | Manufacturer name (up to 30 ASCII characters) | Manufacturer name, in UTF-16LE format |
| Byte Index | Response | Description | |
|---|---|---|---|
|
0 | 0x83 | Echo command code | Returns whether the CNFG_SetManufacturer command was
accepted |
| 1 | 0x20 | Accepted – success |
Command accepted, and the manufacturer name is saved to NVM |
0x60 | Rejected – too long | Command rejected because the name is too long | |
0x64 | Rejected – locked | The command is rejected because the device configuration is locked | |
0x90 | Failure - unsuccessful NVM write | Saving to NVM failed; retry | |
