-
Updated the readme to clarify details about setup and added more details for Windows users
-
Receive logic changed to allow for bigger frames to be received
- (almost) all "while" in the loop&receive functions were replaced with "if". This is to allow the program to periodically run through the loop function very quickly. The arudino code automatically runs Serial.Event() at the end of loop() when new data is available.
- Introduced a receive flag that is set after a cmd is sent and reset when the response has been received
- Introduced a timeout after which data reception is completed (since there is no more data incoming via Serial1)
- Added flags for transmit/receive loop to make these loops possible with the new logic
- TODO: Increase size of the arduino Serial buffer! As of now it is only possible to receive up to ~100 bytes of frame length due to the serial buffer being limited to 64 bytes.
-
Fixed a parsing error of data_length in the OBC response frame field.