From cc9b3beb1e82449e34dc3d7052395607fe12b47f Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 18 Jun 2024 19:29:05 +0200 Subject: WIP puzzle module <-> main controller <-> client communication --- client/i2c.cpp | 2 +- client/readme.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'client') 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 + -- cgit v1.2.3