kurbatov / firmata4j

Firmata client written in Java.
MIT License
87 stars 45 forks source link

Is there a implementation of "Software Serial" using firmate4j? #40

Open firefly917 opened 3 years ago

firefly917 commented 3 years ago

Thanks for your contribution of so great project.

I want to implement a function below. The computer communicate to a arduino board with firmate4j. And the arduino board need to communicate to another chip with serial (rx-tx) . Generally, the communication among several boards could be implemented by SoftwareSerial Library (https://www.arduino.cc/en/Reference/softwareSerial).

Is there a implementation of "Software Serial" to control the main board communicate with another chip using firmate4j?

kurbatov commented 3 years ago

firmata4j currently does not support that part of the protocol. The missing piece is implementation of several protocol messages as described here.

In order for the board to support these messages it should be loaded with StandardFirmataPlus or another firmware that enables that part of the protocol.

Unfortunately I'm not doing the implementation in the nearest future by myself because I don't have necessary hardware to test it. I would really appreciate contribution of this feature.