dakoner / railuino

Automatically exported from code.google.com/p/railuino
1 stars 0 forks source link

Reserved buffer to small in lowlevel.ino? #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 b.havi...@gmail.com on 27 Oct 2013 at 9:17