In this AI extension, when the serial connection is read and there is data, regardless of the length of the actual string received, the length of receiving field returns 256. If there is no data the length returned is 0.
- Is 256 the size of the serial buffer ?
- Is there a way to determine the actual length of data received ?
- I tried scanning for \0 as a terminating char and did not get a hit.
Thanks.