Open peterj43 opened 4 years ago
Good point, according to the latest specification, section 4.4, the response to a "Continuous Measurements and Request CRC" command is:
a<values><CRC><CR><LF>
where:
suggesting the buffer should accommodate 81 characters.
I believe the current value of 64 bytes for the buffer was merely for consistency with the hardware serial buffer limit on the Arduino Uno - I think it should just work to increase it.
Looking forward to the results of your end-to-end tests.
PR merged. I'm leaving this open until I add the if's that I want around it.
I have been using the example code (h_SDI-12_slave and f_basic-data request) and find if I issue a "aC!" command followed by a "aD0" I do not receive all the character in the response. As the maximum length of the values is 75 long
+