When receiving the serial data back... the data is present in a single byte by byte.. not in a list of bytes. for example [ 01 10 00 02], will show as 01, 10, 00, 02 (break into 4 messages with only one byte in the data field). I am not sure if it is normal behaviour or not...
For sending, as I pack the payload as a list first, when echoing the /serial_write, the data field shows all the bytes in a list.
How can I also achieve this on the receiving side? otherwise, it is pretty hard to determine the feedback signal
When receiving the serial data back... the data is present in a single byte by byte.. not in a list of bytes. for example [ 01 10 00 02], will show as 01, 10, 00, 02 (break into 4 messages with only one byte in the data field). I am not sure if it is normal behaviour or not...
For sending, as I pack the payload as a list first, when echoing the /serial_write, the data field shows all the bytes in a list.
How can I also achieve this on the receiving side? otherwise, it is pretty hard to determine the feedback signal