dog-gateway / enj-library

The EnJ EnOcean Java library
16 stars 14 forks source link

Switch from rxtx to jSerialComm #8

Open knr1 opened 4 years ago

knr1 commented 4 years ago

It might be extremely worth considering changing from rxtx to jSerialComm https://github.com/Fazecast/jSerialComm

I just tried to do that on your project (I had to hack it in swift and ugly) and I had to change

without changing your ideology at all!

Takes you about 1h in all to do the real switch.

If you need help... I can send you 'the hack of mine' (but it is not worth a pull request)

dbonino commented 4 years ago

Sorry for my late reply.

Actually the same issue was raised some years ago but at that time jSerialComm was not yet OSGi ready, and this was a blocker for me as the library is used in several OSGi-based projects. Nowadays this does not appear to be a blocking issue as jSerialComm is now OSGi-ready. Therefore, if you can send me a gist for you hack, I can open a feature branch to integrate jSerialComm and test it in OSGi.

Thank you very much for your contribution