{"action":"created","issue":{"url":"https://api.github.com/repos/JMRI/JMRI/issues/573","labels_url":"https://api.github.com/repos/JMRI/JMRI/issues/573/labels{/name}","comments_url":"https://api.github.com/repos/JMRI/JMRI/issues/573/comments","events_url":"https://api.github.com/repos/JMRI/JMRI/issues/573/events","html_url":"https://github.com/JMRI/JMRI/issues/573","id":125917728,"number":573,"title":"Replacement of RXTX","user":{"login":"mattharris","id":738651,"avatar_url":"https://avatars.githubusercontent.com/u/738651?v=3","gravatar_id":"","url":"https://api.github.com/users/mattharris","html_url":"https://github.com/mattharris","followers_url":"https://api.github.com/users/mattharris/followers","following_url":"https://api.github.com/users/mattharris/following{/other_user}","gists_url":"https://api.github.com/users/mattharris/gists{/gist_id}","starred_url":"https://api.github.com/users/mattharris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattharris/subscriptions","organizations_url":"https://api.github.com/users/mattharris/orgs","repos_url":"https://api.github.com/users/mattharris/repos","events_url":"https://api.github.com/users/mattharris/events{/privacy}","received_events_url":"https://api.github.com/users/mattharris/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JMRI/JMRI/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/JMRI/JMRI/labels/WIP","name":"WIP","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2016-01-11T10:48:17Z","updated_at":"2016-01-24T05:55:43Z","closed_at":null,"body":"Currently, we rely on [RXTX](http://rxtx.qbang.org/wiki/index.php/Main_Page) for serial communications.\r\n\r\nThis has a number of long-outstanding bugs and development seems to have stalled.\r\n\r\nAs a result, other projects that require to use Java-based serial communications have started to move to alternative libraries.\r\n\r\nOne such library is [PureJavaComm](http://www.sparetimelabs.com/purejavacomm/purejavacomm.php) which is designed as a drop-in replacement for RXTX.\r\n\r\nAnother option is [Java Simple Serial Connector](https://github.com/scream3r/java-simple-serial-connector) - for example the Arduino project has switched to using this project, but this is not such a simple drop-in replacement as the API is different and certain items that we utilise are not (immediately) obviously available.\r\n\r\nPR #572 contains a proposal of RXTX replacement with PureJavaComm."},"comment":{"url":"https://api.github.com/repos/JMRI/JMRI/issues/comments/174259070","html_url":"https://github.com/JMRI/JMRI/issues/573#issuecomment-174259070","issue_url":"https://api.github.com/repos/JMRI/JMRI/issues/573","id":174259070,"user":{"login":"bobjacobsen","id":2774117,"avatar_url":"https://avatars.githubusercontent.com/u/2774117?v=3","gravatar_id":"","url":"https://api.github.com/users/bobjacobsen","html_url":"https://github.com/bobjacobsen","followers_url":"https://api.github.com/users/bobjacobsen/followers","following_url":"https://api.github.com/users/bobjacobsen/following{/other_user}","gists_url":"https://api.github.com/users/bobjacobsen/gists{/gist_id}","starred_url":"https://api.github.com/users/bobjacobsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobjacobsen/subscriptions","organizations_url":"https://api.github.com/users/bobjacobsen/orgs","repos_url":"https://api.github.com/users/bobjacobsen/repos","events_url":"https://api.github.com/users/bobjacobsen/events{/privacy}","received_events_url":"https://api.github.com/users/bobjacobsen/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T05:55:43Z","updated_at":"2016-01-24T05:55:43Z","body":"Got a chance to try this with hardware.  Seems to work, even in MS100 mode."}}