Closed GwnDaan closed 9 months ago
The main branch is currently failing to build on PlatformIO: https://github.com/Open-Agriculture/AgIsoStack-plus-plus/actions/runs/7147251833/job/19466433156. This PR will also fix that
Tested this by re-basing the seeder example on your branch, and... it's a little slow, only around 20 messages per second. Our update rate of the interface means that after a response is received we have to wait a fair bit before sending the next message which causes some noticeable lag. I am wondering if we should explore options to send the next message on-response.
Some ideas:
I opted for the mutex because I feel like it's the most efficient one, good that you tested this. I didn't have the environment to notice it
To comply with the standard, we must wait for responses from the VT server before sending the next command. This PR implements that behaviour