aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 19:29:05 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-18 19:29:05 +0200
commitcc9b3beb1e82449e34dc3d7052395607fe12b47f (patch)
treef16258fd34abc8bda8ba9c491cd3552381a0fbe8 /client
parent752dca0a41581282498ccb0d3e2aedb15181e4a8 (diff)
WIP puzzle module <-> main controller <-> client communication
Diffstat (limited to 'client')
-rw-r--r--client/i2c.cpp2
-rw-r--r--client/readme.md5
2 files changed, 6 insertions, 1 deletions
diff --git a/client/i2c.cpp b/client/i2c.cpp
index 4dbc724..78e5585 100644
--- a/client/i2c.cpp
+++ b/client/i2c.cpp
@@ -10,7 +10,7 @@
// #include "pb/mod/main.h"
-bool i2c_dump_send = false;
+bool i2c_dump_send = true;
bool i2c_dump_recv = true;
void i2c_send(uint16_t addr, const char * data, size_t data_size) {
diff --git a/client/readme.md b/client/readme.md
index da48cf1..fcde40d 100644
--- a/client/readme.md
+++ b/client/readme.md
@@ -45,3 +45,8 @@ send 0x39 68:65:6c:6c:6f 44 0x20 'world' 33
The data is concatenated, and may contain mixed types of literals
+## known bugs (TODO)
+
+- tab completion for `dump` seems to print garbage sometimes
+- the send command with an address but no data causes a segmentation fault
+