{"action":"created","issue":{"url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/issues/501","repository_url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport","labels_url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/issues/501/labels{/name}","comments_url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/issues/501/comments","events_url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/issues/501/events","html_url":"https://github.com/EmergingTechnologyAdvisors/node-serialport/issues/501","id":67700328,"number":501,"title":"Support .update options","user":{"login":"jacobrosenthal","id":455796,"avatar_url":"https://avatars.githubusercontent.com/u/455796?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobrosenthal","html_url":"https://github.com/jacobrosenthal","followers_url":"https://api.github.com/users/jacobrosenthal/followers","following_url":"https://api.github.com/users/jacobrosenthal/following{/other_user}","gists_url":"https://api.github.com/users/jacobrosenthal/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobrosenthal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobrosenthal/subscriptions","organizations_url":"https://api.github.com/users/jacobrosenthal/orgs","repos_url":"https://api.github.com/users/jacobrosenthal/repos","events_url":"https://api.github.com/users/jacobrosenthal/events{/privacy}","received_events_url":"https://api.github.com/users/jacobrosenthal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/labels/needs%20testing","name":"needs testing","color":"0e8a16"},{"url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/labels/windows","name":"windows","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-04-10T23:05:10Z","updated_at":"2016-09-27T07:50:06Z","closed_at":null,"body":"Chrome supports an options update, letting you change baud for instance while keeping a port open\r\nhttps://developer.chrome.com/apps/serial#method-update\r\n\r\nAnd serial packages like Python serial do as well\r\nhttp://pyserial.sourceforge.net/pyserial_api.html#serial.Serial.applySettingsDict\r\n\r\nYou cant necessarily get the same thing with an open/close because most arduino style boards wire the DTR pin so they get a reset event during the open/close.\r\n\r\nOur immediate use case has been that Chrome DOESNT support break (yet, please help!)\r\nhttps://code.google.com/p/chromium/issues/detail?id=461169\r\n\r\nWe fake a break by opening at super low baud (200) then sending a 0 byte which to a device at say 9600 is a sustained TX event that looks like a break, and then updating our baud back to 9600.\r\n\r\nRight now we can't run the same code against node-serialport as we do on browser-serialport and we try to maintain parity so wed like to back port the update feature. \r\n\r\nI have a branch we're using for this already but its pretty ugly so wanted to post for discussion while I clean it up for PR."},"comment":{"url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/issues/comments/249791621","html_url":"https://github.com/EmergingTechnologyAdvisors/node-serialport/issues/501#issuecomment-249791621","issue_url":"https://api.github.com/repos/EmergingTechnologyAdvisors/node-serialport/issues/501","id":249791621,"user":{"login":"codegastudio","id":8655261,"avatar_url":"https://avatars.githubusercontent.com/u/8655261?v=3","gravatar_id":"","url":"https://api.github.com/users/codegastudio","html_url":"https://github.com/codegastudio","followers_url":"https://api.github.com/users/codegastudio/followers","following_url":"https://api.github.com/users/codegastudio/following{/other_user}","gists_url":"https://api.github.com/users/codegastudio/gists{/gist_id}","starred_url":"https://api.github.com/users/codegastudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codegastudio/subscriptions","organizations_url":"https://api.github.com/users/codegastudio/orgs","repos_url":"https://api.github.com/users/codegastudio/repos","events_url":"https://api.github.com/users/codegastudio/events{/privacy}","received_events_url":"https://api.github.com/users/codegastudio/received_events","type":"User","site_admin":false},"created_at":"2016-09-27T07:50:06Z","updated_at":"2016-09-27T07:50:06Z","body":"+1 update baudrate with documented method on mac return error \" Cannot open\"\r\n\r\nserialport@4.0.1"}}
{"actor":{"display_login":"codegastudio"}}