From 0ae5b5292f0aca1ccc958931c99c4a0a97c5fe7a Mon Sep 17 00:00:00 2001 From: Maurizio Porrato Date: Tue, 12 Feb 2019 07:47:01 +0000 Subject: [PATCH] More protocol documentation cleanup --- protocol.md | 84 ++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/protocol.md b/protocol.md index abad1d4..b671c44 100644 --- a/protocol.md +++ b/protocol.md @@ -12,9 +12,9 @@ Eufy RoboVac 11s IR protocol No carrier modulation. -Frame: (Preamble+48bits+Trailer)*3 +Frame: (Preamble + 48bits + Trailer) * 3 -Format: 68CCHHMMSSKK (Hex, MSB first) +Format: `68CCHHMMSSKK` (Hex, MSB first) ## Frame contents @@ -26,47 +26,47 @@ Section| Description SS | schedule (in quarters of an hour from midnight, 0xff=off) KK | checksum (sum of all bytes in the frame modulo 256) - CC | Command -:----:|:-------- - 1c | Max power - 1d | BoostIQ - 1e | Standard power - 2f | Forward - 3f | Turn CCW - 4f | Stop cleaning - 5d | Auto cleaning - 6f | Turn CW - 7f | Backward - 8c | Spot cleaning - 9c | Edge cleaning - ad | Room cleaning - bf | Set time - cf | Set schedule - df | Clear schedule - ef | Return to base + CC | Command +:------:|:-------- + `1c` | Max power + `1d` | BoostIQ + `1e` | Standard power + `2f` | Forward + `3f` | Turn CCW + `4f` | Stop cleaning + `5d` | Auto cleaning + `6f` | Turn CW + `7f` | Backward + `8c` | Spot cleaning + `9c` | Edge cleaning + `ad` | Room cleaning + `bf` | Set time + `cf` | Set schedule + `df` | Clear schedule + `ef` | Return to base ## Examples -| Hex | Description -|:------------:|:--------------------------- -| 685d0f272823 | Start -| 684f0f272815 | Stop -| 68bf11242884 | Time (5:36pm) -| 68bf112b288b | Time (5:43pm) -| 68cf13202892 | Schedule 10:00am -| 68cf132b299e | Schedule 10:15am -| 68cf13305fd9 | Schedule 11:45pm -| 68df1336ff8f | Schedule off -| 685d1406ffde | Start -| 681c1419ffb0 | Power (BoostIQ->Max) -| 681e141effb7 | Power (Max->Standard) -| 681d141effb6 | Power (Standard->BoostIQ) -| 682f142effd8 | Up -| 687f142eff28 | Down -| 683f142effe8 | Left -| 686f142eff18 | Right -| 688c1504ff0c | Spot -| 689c1508ff20 | Edge -| 68ad150cff35 | Room -| 68ef1510ff7b | Base +| Hex | Description +|:--------------:|:--------------------------- +| `685d0f272823` | Start +| `684f0f272815` | Stop +| `68bf11242884` | Time (5:36pm) +| `68bf112b288b` | Time (5:43pm) +| `68cf13202892` | Schedule 10:00am +| `68cf132b299e` | Schedule 10:15am +| `68cf13305fd9` | Schedule 11:45pm +| `68df1336ff8f` | Schedule off +| `685d1406ffde` | Start +| `681c1419ffb0` | Power (BoostIQ->Max) +| `681e141effb7` | Power (Max->Standard) +| `681d141effb6` | Power (Standard->BoostIQ) +| `682f142effd8` | Up +| `687f142eff28` | Down +| `683f142effe8` | Left +| `686f142eff18` | Right +| `688c1504ff0c` | Spot +| `689c1508ff20` | Edge +| `68ad150cff35` | Room +| `68ef1510ff7b` | Base