#json-rpc #embedded-hal #remote #tcp #daemon #server #client

bin+lib remote-hal

a JSON RPC based remote embedded-hal implementation including a daemon, cli, and library

11 releases (4 breaking)

0.5.4 May 7, 2019
0.5.3 May 7, 2019
0.5.0 Apr 9, 2019
0.4.2 Apr 2, 2019
0.1.0 Mar 31, 2019

#1888 in Hardware support

MIT/Apache

42KB
998 lines

remote-hal

A JSON RPC over TCP remote embedded-hal implementation, so you can develop embedded-hal based drivers on one machine and test them on a different one that has a linux-embedded-hal implementation.

Status

GitHub tag Build Status Crates.io Docs.rs

Open Issues

Usage

See src/bin/client.rs for a simple remote client, or src/server/mod.rs for server commands.

  • cargo install remote-hal to install
  • rhd to run the remote-hal-daemon (or rhd --help to list options)
  • rhc to run the remote-hal-cli (or rhc --help to list options)

Note that this provides no mechanisms for secure communication, and thus should only be run on trusted networks.

Dependencies

~16MB
~283K SLoC