diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-26 19:17:33 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-26 19:17:33 +0200 |
commit | 266fd5ef0c45315fc0bf281a15630a9b4765e68c (patch) | |
tree | a34a86d72e25e3c858577feaff7f61c81b026c61 /protocol.md | |
parent | e75c48a4d79a838844aab071c81b2879aab2b5ee (diff) |
implement SENS command0.2.0
Diffstat (limited to 'protocol.md')
-rw-r--r-- | protocol.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/protocol.md b/protocol.md index c6cb3fb..7c7c843 100644 --- a/protocol.md +++ b/protocol.md @@ -41,7 +41,7 @@ readability. |`0x0c`|[BOMD](#bomd)|no|`r <=> c`|<u>b</u>ack<u>o</u>rder <u>m</u>o<u>d</u>ify |`0x0e`|[SRES](#sres)|no|`r <-- c`|<u>s</u>oft <u>res</u>et |`0x10`|[MCFG](#mcfg)|no|`r <-- c`|<u>m</u>ap <u>c</u>on<u>f</u>i<u>g</u> -|`0x12`|[SENS](#sens)|no|`r <-> c`|<u>sens</u>or data +|`0x12`|[SENS](#sens)|yes|`r <-> c`|<u>sens</u>or data |`0x14`|[INFO](#info)|yes|`r <-> c`|<u>info</u> |`0x16`|[DISP](#disp)|no|`r <-- c`|<u>disp</u>lay control |`0x18`|[PLAY](#play)|no|`r <-- c`|<u>play</u> midi @@ -277,15 +277,15 @@ later reference: requests sensor data -#### sensor data response (`r --> c`) (??? bytes) +#### sensor data response (`r --> c`) (44 bytes) |type|description| |-:|-| |`uint8_t`|opcode (`0x12 + 1`)| -|`???`|???| +|`w2_s_io_all`|sensor data (see shared/protocol.h for definition)| sensor data response. contains all sensor data (distance, ir, buttons) in one -packet. format yet to be determined. +packet. ### INFO |