-
Notifications
You must be signed in to change notification settings - Fork 132
Moving from RXTX to JSSC #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
anyone has any experiance here? I'm looking for volunteers 👯 |
I created a branch jssc-serial in my repo that replaces rxtx with jssc, it's not tested and based on an old revision. |
:-) great |
In fedora I must remove provided rxtx jar because it conflicts with But you are right, its easier to replace it. So I will replace it first, |
as jssc is a pure java implementation (in other it doesn't need an os dependent library); there should not be conflicts as long as you do not want to use conflicting things in the same virtual machine. |
jssc isn't a pure java implementation and actually does have an OS and architecture dependent library, it is included in the .jar so it is transparent to developers and users. The library installs the arch dependent libraries to a hidden folder in the user's home directory. The library will thus only work on i386 and amd64 machines. Debian just added a libjssc-java library which is built on many [1] other architectures. I know RPi users were using Raspbian's rxtx package to get arduino working, they should be able to use the Raspbian jssc package if they run jessie. |
Och, I misunderstood about jssc being pure java. Lets hope not to much ... will hit the fan |
@amorellgarcia |
Yes, there is a branch in my repo, but is too old. I hope to take some free Sincerely, Alejandro.
|
may the force be with you. :-) |
has the force arrived yet? |
Still not. But i hope to finish it between today and tomorrow.
|
We don't support juno anymore. On Thu, Jul 10, 2014 at 7:59 AM, Alejandro Morell Garcia <
|
For the product ... the plugin still works on both |
I created a new branch jssc-serial-alpha in my repo where rxtx implementation is replaced with jssc. It's an alpha version since it replaces rxtx completely. Needs a lot of testing and I will not be at home until Sunday. From your comments, I understand that you want to continue providing the old rxtx code, and I agree. Any ideas? |
I'm ok with dropping RXTX completely. If arduino can be run without it why wouldn't we? |
Great news! ;) |
do you have a update? |
I pushed a "final" version to jssc-serial-alpha branch that is functional. But, there is an issue with jssc that currently doesn't notifies about closed port. It can be very annoying for novice users. |
I took your code and merged it on the base. |
I've been using the latest and greatest and I havn't noticed anything yet. |
Yes it works fine. The unique issue is when unplugging Arduino and still having opened a serial console or oscilloscope. It doesn't shows an error, and if I remember well, it still accepts sending text over serial console. |
Och but that gives problems on linux and windows with RXTX as well. |
Arduino will change from RXTX to JSSC in 1.5.6.
This probably means that from 1.5.6 the rxtx libraries are no longer provided by Arduino.
As such a change in the plugin will be needed.
If anyone knows how to do this change feel free to take ownership.
Below is the allert on the developers list of arduino
Best regards
Jantje
Hi,
as most of you already noticed from the github activity, we are moving from RXTX library to JSSC:
http://code.google.com/p/java-simple-serial-connector/
This will solve a lot of issues and give us a better and efficient library for managing Serial ports in Java.
Will be released with Arduino IDE 1.5.6 (so in two releases, not the next one).
If anyone is interested in testing it the prebuilt binaries are here:
http://downloads.arduino.cc/arduino-jssc-nightly-linux32.tgz
http://downloads.arduino.cc/arduino-jssc-nightly-linux64.tgz
http://downloads.arduino.cc/arduino-jssc-nightly-windows.zip
http://downloads.arduino.cc/arduino-jssc-nightly-macosx.zip
Please report any issue here:
arduino/Arduino#1633
The text was updated successfully, but these errors were encountered: