Before 2fac3644205a1951df0ca4c895cde167bb29d717, the code was just connecting to the default subprotocol. We should probably rename ours to something better like piCtrlProtocol-v1 or something, but this will be good to allow for backwards compatibility if we ever end up changing the protocol.
Useful Links:
Example of how to handle received messages using multiple protocols, if we ever need to receive messages from the server later on
Before 2fac3644205a1951df0ca4c895cde167bb29d717, the code was just connecting to the default subprotocol. We should probably rename ours to something better like
piCtrlProtocol-v1
or something, but this will be good to allow for backwards compatibility if we ever end up changing the protocol.Useful Links: