Service Color Code
The service color code can only be changed for I LOCK IT PRO models.
This feature enables the admin to set their own service color code. The color code has six digits and consists of three different colors. Changing the color code overwrites the default code which is installed on the lock during production.
Available Colors
- Green –
0 - Blue –
1 - Red –
2 - White –
3
The six digits are transferred using six bytes. Each byte represents one digit of the color code.
Example
Color code: Green, Red, Blue, Blue, Green, Blue
Representation: 0, 2, 1, 1, 0, 1
Encoded as six bytes: 0x00, 0x02, 0x01, 0x01, 0x00, 0x01
Packet Format
| Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | ... | Byte 14 | Byte 15 |
|---|---|---|---|---|---|---|---|---|---|
| code[0] | code[1] | code[2] | code[3] | code[4] | code[5] | 0x00 | ... | 0x00 | 0x00 |
This block must be encrypted using the temporary key Ka and sent to the characteristic.
Since firmware version 3.4 the set color code is available in this characteristic after authorisation. The color code is encrypted with the key, which was used to authorise to the lock.
Bluetooth GATT Details
Service: Lock Control Service
Service UUID: 0000f00d-1212-efde-1523-785fef13d123
Characteristic: Service Color Code
Characteristic UUID: 0xBAAC
Value: See example above