From 8ba24a80025f57fc5261fc4d0375be25e1a26c57 Mon Sep 17 00:00:00 2001 From: flowswitch Date: Tue, 4 Dec 2018 14:05:22 +0100 Subject: [PATCH] Updated protocol (markdown) --- protocol.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol.md b/protocol.md index fd51f3e..2949f3a 100644 --- a/protocol.md +++ b/protocol.md @@ -73,7 +73,7 @@ Two wire UART 115200 8n1 | 01 | ofs | [0] - len | + | + | + | Xiaomi | 01 ofs data[len] | Read register(s). ofs is in 16-bit words| | 01 | ofs | [0] - len | + | + | + | Ninebot | 04 ofs data[len] | Read register(s). ofs is in 16-bit words| | 02 | ofs | data[] | - | + | + | Xiaomi | 02 ofs bResult | Write register(s) | -| 02 | ofs | data[] | - | + | + | Ninebot | 05 ofs bResult | Write register(s) | +| 02 | ofs | data[] | - | + | + | Ninebot | 05 bResult - | Write register(s) | | 03 | ofs | data[] | - | + | + | All | None | Write register(s) w/o response | | 05 | ofs_l| [0] ofs_h, [1] len| - | + | - | All | 05 ofs_l {ofs_h,data} | Read registers extended | | 07 | any | dUpdateSize | - | + | + | Xiaomi | 07 bResult - | Start firmware update |