Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serial receive data only 1 byte instead of a list of byte #94

Open
TZECHIN6 opened this issue Sep 28, 2023 · 0 comments
Open

serial receive data only 1 byte instead of a list of byte #94

TZECHIN6 opened this issue Sep 28, 2023 · 0 comments

Comments

@TZECHIN6
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant