{"action":"created","issue":{"url":"https://api.github.com/repos/xseignard/cordovarduino/issues/46","repository_url":"https://api.github.com/repos/xseignard/cordovarduino","labels_url":"https://api.github.com/repos/xseignard/cordovarduino/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/xseignard/cordovarduino/issues/46/comments","events_url":"https://api.github.com/repos/xseignard/cordovarduino/issues/46/events","html_url":"https://github.com/xseignard/cordovarduino/issues/46","id":126144086,"number":46,"title":"[Help Wanted] Rewrite the plugin API to match node-serialport API","user":{"login":"xseignard","id":515603,"avatar_url":"https://avatars.githubusercontent.com/u/515603?v=3","gravatar_id":"","url":"https://api.github.com/users/xseignard","html_url":"https://github.com/xseignard","followers_url":"https://api.github.com/users/xseignard/followers","following_url":"https://api.github.com/users/xseignard/following{/other_user}","gists_url":"https://api.github.com/users/xseignard/gists{/gist_id}","starred_url":"https://api.github.com/users/xseignard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xseignard/subscriptions","organizations_url":"https://api.github.com/users/xseignard/orgs","repos_url":"https://api.github.com/users/xseignard/repos","events_url":"https://api.github.com/users/xseignard/events{/privacy}","received_events_url":"https://api.github.com/users/xseignard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-12T10:15:13Z","updated_at":"2016-05-12T19:20:01Z","closed_at":null,"body":"Hello,\r\nI think it is time to rewrite the API of this plugin to match `node-serialport` API.\r\nUnfortunately, I think I won't have time until few months, so if someone is willing to tackle this issue, I'll be glad to help and provide insights.\r\n\r\nAfter a quick look at potential changes needed, it seem, it can be all done from the js side of this plugin (e.g. only modifying the following file https://github.com/xseignard/cordovarduino/blob/master/www/serial.js).\r\nWith some extra help of an event emitter lib, it should be fairly simple.\r\n\r\nIt is not an extensive analysis I did, so I might miss some points, but AFAIK it seems a nice start for someone wanting to contribute to this project!\r\n\r\nCome on board!\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/xseignard/cordovarduino/issues/comments/218858698","html_url":"https://github.com/xseignard/cordovarduino/issues/46#issuecomment-218858698","issue_url":"https://api.github.com/repos/xseignard/cordovarduino/issues/46","id":218858698,"user":{"login":"111poiss111","id":5306169,"avatar_url":"https://avatars.githubusercontent.com/u/5306169?v=3","gravatar_id":"","url":"https://api.github.com/users/111poiss111","html_url":"https://github.com/111poiss111","followers_url":"https://api.github.com/users/111poiss111/followers","following_url":"https://api.github.com/users/111poiss111/following{/other_user}","gists_url":"https://api.github.com/users/111poiss111/gists{/gist_id}","starred_url":"https://api.github.com/users/111poiss111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/111poiss111/subscriptions","organizations_url":"https://api.github.com/users/111poiss111/orgs","repos_url":"https://api.github.com/users/111poiss111/repos","events_url":"https://api.github.com/users/111poiss111/events{/privacy}","received_events_url":"https://api.github.com/users/111poiss111/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T19:20:01Z","updated_at":"2016-05-12T19:20:01Z","body":"Have you made any progress with the rewrite? I am in need for a serial API that works for both windows and android and as I understand, using serialport api would make that possible. I have already tried to make it work in my own cordova app, but with no success. I had issues with require() function. Maybe I did something dumb myself. "}}