aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-05-26 11:51:18 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-05-26 11:51:18 +0200
commitfb37e47bc13912a8d94bf1b3b7aa8456601f317a (patch)
tree18f38f8abd471237cbf76a547fed88b4989fbf28
parentcd1b5097d6683355bbe2b96add8740ffc738ef8f (diff)
update readme
-rw-r--r--client/readme.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/client/readme.md b/client/readme.md
index 04471d2..98cd853 100644
--- a/client/readme.md
+++ b/client/readme.md
@@ -12,10 +12,16 @@ goal (in order of implementation):
ls list connected puzzle modules
```
+## Send data
```
-send 0x39 "Hello world!" de:ad:be:ef 0xff 5 0a 0750
- ^~~~~~~~~~~~~~ ^~~~~~~~~~~ ~^~~ ~^ ~^ ~~~~^
- STR_INTP BYTE_ARR UNSIGNED UNSIGNED UNSIGNED UNSIGNED
- (hex+0x) (dec) (hex) (oct)
+ ADDRESS DATA
+ v~~~ v~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+send 0x39 68:65:6c:6c:6f 44 0x20 'world' 33
+ ^~~~~~~~~~~~~~ ^~ ^~~~ ^~~~~~~ ^~
+ HEXSTR NUMBER NUMBER STRING NUMBER
+ (binary) (dec) (hex) (literal) (dec)
```
+
+The data is concatenated, and may contain mixed types of literals
+