bakercp / PacketSerial

An Arduino Library that facilitates packet-based serial communication using COBS or SLIP encoding.
http://bakercp.github.io/PacketSerial/
MIT License
277 stars 59 forks source link

Sending over serial stops #18

Closed kyoreth closed 6 years ago

kyoreth commented 6 years ago

Hey! I'm using this library to send 44 bytes as a packet over serial. Smaller size packets work fine, however the full data of 44 bytes causes the arduino to stop sending packets beyond a few. For example, on the pc end i use a python script to read 45 bytes, output to screen, then read 45 more. This works the first 24 or 25 times, then stops. I've tried inserting Serial.flush(), and a 1000ms delay, however it is still no go.

kyoreth commented 6 years ago

Durr, pointer error. Sorry for the post!

bakercp commented 6 years ago

Aha, glad you got it figured out :)