-
Notifications
You must be signed in to change notification settings - Fork 143
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
Problem with receiving SerialStream #170
Comments
Are you expecting null bytes or whitespaces in your input. Maybe have a look at #162. |
No i don't expect a null byte but it can be a whitespace. |
But the problem is where does the leading '\0' come from? |
with noskipws i receive the data with << |
Hi @Pantau123 , did that resolve this issue for you? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, i use the main branch version of Seriallib with SerialStream.
I can not read characters with << from the SerialStream.
I can only read the function SerialStream.read(char*,streamsize), but everytime i receive a leading '\0' and i have to create a char array with receivedbytes +1.
Can anybody help me?
Bests
Pantau
File main.cpp (sender)
File main.cpp (receiver)
The text was updated successfully, but these errors were encountered: