Skip to content

A Java Websocket to Serial port bridge using Atmosphere and jSerialComm

License

Notifications You must be signed in to change notification settings

chibyhq/atmosphere-serial

Repository files navigation

Atmosphere Serial (a.k.a atmoserial)

Atmoserial is a Java "Websocket to Serial port" bridge using Atmosphere and jSerialComm. It features a small REST API to open/close serial ports and accept incoming messages, and uses atmosphere to broadcast serial port output.

How to use it ?

  1. Import the JAR into your classpath
  2. Declare your atmosphere context, for instance using Spring Boot (c.f. sample project)
  3. From your web UI (using for instance atmosphere-js), invoke the REST API to query the list of available serial ports, and open a connection with appropriate parameters (transmission speed, timeout etc...).
  4. Send messages to the serial port / close it

About

A Java Websocket to Serial port bridge using Atmosphere and jSerialComm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages