aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-03-29 15:11:49 +1300
committerArslaan Pathan <[email protected]>2026-03-29 15:11:49 +1300
commit66b2e17f34553c5b161a12d1591d46bc1a2d9a91 (patch)
tree578766884911549cdece49b7471e0a2083c9242a /README.md
parent4171ca28a2afe8177c6018d3f3229c303743b5e7 (diff)
downloadzwzn-freefit-re-66b2e17f34553c5b161a12d1591d46bc1a2d9a91.tar.xz
zwzn-freefit-re-66b2e17f34553c5b161a12d1591d46bc1a2d9a91.zip
A L I G N
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.md b/README.md
index cac803f..afee4e9 100644
--- a/README.md
+++ b/README.md
@@ -45,21 +45,21 @@ Response: 0x81 0x00 (success, notify/6E40FC21)
Watch face header packet (write/6E40FC20)
```
-byte[0] = 0xE4 (ZK_DIAL command)
-byte[1] = 0x51 (mode flag)
-byte[2] = 0x01 (start)
-byte[3] = 0x00
-byte[4-5] = total packet count (big endian)
-byte[6-9] = total image bytes (big endian)
-byte[10] = 0x00
+byte[0] = 0xE4 (ZK_DIAL command)
+byte[1] = 0x51 (mode flag)
+byte[2] = 0x01 (start)
+byte[3] = 0x00
+byte[4-5] = total packet count (big endian)
+byte[6-9] = total image bytes (big endian)
+byte[10] = 0x00
byte[11-12] = MTU size (big endian)
-byte[13] = rotation flag
-byte[14] = 0x01
-byte[15] = time text direction
-byte[16] = 0x00
+byte[13] = rotation flag
+byte[14] = 0x01
+byte[15] = time text direction
+byte[16] = 0x00
byte[17-18] = transparent color (RGB565)
byte[19-20] = checksum (sum of all image bytes, big endian)
-byte[21] = show date (0x01 = yes, 0x00 = no)
+byte[21] = show date (0x01 = yes, 0x00 = no)
```
Header packet is followed by chunked RGB565 data, 1 chunk = MTU-14 bytes