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

Reserved buffer to small in lowlevel.ino? #2

Open
GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments
Open

Reserved buffer to small in lowlevel.ino? #2

GoogleCodeExporter opened this issue Sep 1, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Send two  or more commands  in the format 
HHHH R CC L DD DD DD DD DD DD DD DD

2. insert a command to print the string buffer to the serial port.

3. View that every next command is corrupt


What is the expected output? What do you see instead?
Only first command works. increasing the buffer to a size of 35 resolves the 
issue. But should it be 34 or 35? It looks  like that 35 is 1 char to long 
becaus it concats a stringterminator /0.

What version of the product are you using? On what operating system?

railuino 0.9 on windows7
Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 27 Oct 2013 at 9:17

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

No branches or pull requests

1 participant