For Chainlink, the new protobuf-based serial protocol is the preferred communications protocol. This updates and cleans up the python library for interacting with a Splitflap using the protobuf protocol.
Adds an outgoing message queue, with retries and ack-tracking
Requests state at startup and uses this to put ESP32 into protobuf protocol mode (triggered by the null byte used for framing) and confirm roundtrip communications are working
Adds hard_reset() function
This generally mirrors the API of the existing Typescript splitflapjs library
API for adding message handlers to process state, etc from the Splitflap
Adds example that demonstrates using the splitflap_context helper to build a basic terminal app
For Chainlink, the new protobuf-based serial protocol is the preferred communications protocol. This updates and cleans up the python library for interacting with a Splitflap using the protobuf protocol.
splitflap_context
helper to build a basic terminal app