electricui / electricui-embedded

Add communications functionality to connect your hardware to a local user interface.
https://electricui.com
MIT License
63 stars 5 forks source link

Multi connection handshakes etc #138

Closed Scottapotamas closed 5 years ago

Scottapotamas commented 5 years ago

Current problem is that the serial handshake works as expected then a ws hint goes across and the UI tries to do a search packet over the websocket link.

Heartbeats work because they are direct queries and writes, but the search packet is a callback and that goes out over a different link to the expected one, in this case over serial instead over the websocket link that requested it.

The callback should go out over the last interface.