plasticrake / OpcServer

Open Pixel Control (OPC) server for Arduino
MIT License
13 stars 8 forks source link

removes discardbyte stuff adds header struct to Opc.h This was all to… #8

Closed collindever closed 5 years ago

collindever commented 5 years ago

… fix the failing issues of the data being broken up into multiple packets. We set a header when first read and then we come back and add more to the buf if we didn't get the expected length. Once we have all the bytes we then trigger callback and clear out the header data.