diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-26 17:40:36 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-26 17:40:36 +0200 |
commit | 2a0270f3ba6eb993fb39ed3564f626d724156654 (patch) | |
tree | d8d310eb35768f84d25453eae4b8cd4721bd8ddf /protocol.md | |
parent | 55fe6aaeee49894dc07516f0c4e21f692b2950fe (diff) |
implement battery measurement and target area switching
Diffstat (limited to 'protocol.md')
-rw-r--r-- | protocol.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/protocol.md b/protocol.md index 4139a22..9bb5a76 100644 --- a/protocol.md +++ b/protocol.md @@ -299,7 +299,7 @@ packet. requests robot info -#### robot info response (`r --> c`) (42 bytes) +#### robot info response (`r --> c`) (45 bytes) |type|description| |-:|-| @@ -311,6 +311,8 @@ requests robot info |`uint8_t`|exponential moving average modes module cycle time (ms)| |`uint32_t`|total robot uptime (s)| |`uint8_t`|current mode code| +|`uint16_t`|battery level (millivolts)| +|`uint8_t`|battery level (percentage)| robot info response @@ -324,7 +326,7 @@ robot info response ### TARQ -#### set target area (`r <-- c`) (1 byte) +#### set target area (`r <-- c`) (2 bytes) |type|description| |-:|-| |