...
On an embedded LBR, we plan to use the native POSIX message queue due to its built-in availability. The posix_ipc module for Python provides access to this functionality.
Remote GUI host and LBR
We wish to
...
WebSockets provide a standards-based protocol for bi-directional communication, textual or binary. We require bi-directional messaging. In general the LBR sends minimize the processing required by the LBR due to its limited resources, particularly for a sub-Linux implementation. Therefore, the LBR pushes information to the Remote GUI. However, the GUI also may signal to the LBR, for example to toggle DAGroot status.
WebSockets (RFC 6455) supports our proposed bi-directional messaging protocol, and as a standard, supports OpenWSN's goals.
Tools
Role | Tool | Notes |
---|---|---|
WebSocket client | websocket-client | Installed with pip. |
...
Other Implementations
Nanomsg and ZeroMQ provides a common messaging API for a variety of endpoints – threads, processes, and machines. They are open source, but not standards. However, it would be efficient to use a single tool for messaging across all domains.
...