From: Nathael Pajani Date: Mon, 16 Sep 2024 17:41:07 +0000 (+0200) Subject: Update Readme and Config first character X-Git-Url: http://git.techno-innov.fr/?a=commitdiff_plain;h=287bdb0af59ffa94f972ed7f7cbeba2e8258d659;p=soft%2Flpc122x%2Fscialys Update Readme and Config first character --- diff --git a/host/scialys_decode/README b/host/scialys_decode/README index d4a1c6b..a8dcb42 100644 --- a/host/scialys_decode/README +++ b/host/scialys_decode/README @@ -1,2 +1,9 @@ -This host app decodes the frames continuously sent by the scialys module on his +This host app decodes the frames sent by the scialys module on his serial line (UART0) over USB. + +These logs are activated by sending a 'L' over the serial link. +Sending a 'l' stops the logs +Sending a 'g' requests a configuration dump (actual config) +Sending a 'F' starts the Fan +Sending a 'f' stops the Fan + diff --git a/host/scialys_decode/main.c b/host/scialys_decode/main.c index ab678d1..c5a06f5 100644 --- a/host/scialys_decode/main.c +++ b/host/scialys_decode/main.c @@ -81,7 +81,7 @@ int protocol_decode(char c) if (c == '#') { data[0] = c; data_idx = 1; - } else if (c == 'C') { + } else if (c == '@') { conf[0] = c; conf_idx = 1; }