Expand description
arduino-plotter
provides API bindings (the protocol
) and
Server
/Client
implementation for interacting with the Arduino
Serial Plotter web applicatoin.
§Arduino Serial Plotter: https://github.com/arduino/arduino-serial-plotter-webapp
§Running arduino-serial-plotter webapp
Arduino Serial Plotter uses WebSockets to communicate by sending or receiving commands.
Requirements:
- Node v10
git clone https://github.com/arduino/arduino-serial-plotter-webapp
# or when using ssh:
# git clone git@github.com:arduino/arduino-serial-plotter-webapp.git
cd arduino-serial-plotter-webapp
npm i && npm start
Default port: 3000
§Connecting
The Arduino Serial Plotter will send a request to our CLI and the CLI is waiting for a connection on the websocket, this is why you need to open the arduino plotter app after starting the CLI:
http://localhost:3000
(with default port 3000)
Modules§
Structs§
- Client
- Client for sending Data message or
MiddlewareCommand
(i.e.MonitorSettings
) - Server
- Server is needed for receiving messages from the plotter app.