2nd iteration for fixes

This commit is contained in:
Giuseppe Raffa
2026-06-06 14:20:27 +02:00
parent 2385152887
commit 03b572642f
2 changed files with 7 additions and 2 deletions

View File

@@ -103,6 +103,7 @@ const serialProtocol = {
sourceHost: 0xFF, // SRC host/GUI
endOfFrame: 0x0D, // EOF
addressAny: 0x00, // DST = qualsiasi dispositivo (usato per discovery)
defaultDestinationAddress: 0x00, // DST UART usato da DataCOM: l'Addr del registro 1 e' il CAN Rx ID
headerLength: 5, // SOF + DST + SRC + 0x00 + DLEN
tailLength: 3, // CHK_HI + CHK_LO + EOF
// Comandi (scritti nel registro 2)