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 |