{"action":"created","issue":{"url":"https://api.github.com/repos/bauerjj/Android-Simple-Bluetooth-Example/issues/2","repository_url":"https://api.github.com/repos/bauerjj/Android-Simple-Bluetooth-Example","labels_url":"https://api.github.com/repos/bauerjj/Android-Simple-Bluetooth-Example/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/bauerjj/Android-Simple-Bluetooth-Example/issues/2/comments","events_url":"https://api.github.com/repos/bauerjj/Android-Simple-Bluetooth-Example/issues/2/events","html_url":"https://github.com/bauerjj/Android-Simple-Bluetooth-Example/issues/2","id":241998989,"number":2,"title":"Turn on/off the led quickly, it stucks","user":{"login":"billyjoker","id":4301306,"avatar_url":"https://avatars2.githubusercontent.com/u/4301306?v=3","gravatar_id":"","url":"https://api.github.com/users/billyjoker","html_url":"https://github.com/billyjoker","followers_url":"https://api.github.com/users/billyjoker/followers","following_url":"https://api.github.com/users/billyjoker/following{/other_user}","gists_url":"https://api.github.com/users/billyjoker/gists{/gist_id}","starred_url":"https://api.github.com/users/billyjoker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billyjoker/subscriptions","organizations_url":"https://api.github.com/users/billyjoker/orgs","repos_url":"https://api.github.com/users/billyjoker/repos","events_url":"https://api.github.com/users/billyjoker/events{/privacy}","received_events_url":"https://api.github.com/users/billyjoker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bauerjj","id":1715776,"avatar_url":"https://avatars0.githubusercontent.com/u/1715776?v=3","gravatar_id":"","url":"https://api.github.com/users/bauerjj","html_url":"https://github.com/bauerjj","followers_url":"https://api.github.com/users/bauerjj/followers","following_url":"https://api.github.com/users/bauerjj/following{/other_user}","gists_url":"https://api.github.com/users/bauerjj/gists{/gist_id}","starred_url":"https://api.github.com/users/bauerjj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bauerjj/subscriptions","organizations_url":"https://api.github.com/users/bauerjj/orgs","repos_url":"https://api.github.com/users/bauerjj/repos","events_url":"https://api.github.com/users/bauerjj/events{/privacy}","received_events_url":"https://api.github.com/users/bauerjj/received_events","type":"User","site_admin":false},"assignees":[{"login":"bauerjj","id":1715776,"avatar_url":"https://avatars0.githubusercontent.com/u/1715776?v=3","gravatar_id":"","url":"https://api.github.com/users/bauerjj","html_url":"https://github.com/bauerjj","followers_url":"https://api.github.com/users/bauerjj/followers","following_url":"https://api.github.com/users/bauerjj/following{/other_user}","gists_url":"https://api.github.com/users/bauerjj/gists{/gist_id}","starred_url":"https://api.github.com/users/bauerjj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bauerjj/subscriptions","organizations_url":"https://api.github.com/users/bauerjj/orgs","repos_url":"https://api.github.com/users/bauerjj/repos","events_url":"https://api.github.com/users/bauerjj/events{/privacy}","received_events_url":"https://api.github.com/users/bauerjj/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2017-07-11T10:23:42Z","updated_at":"2017-07-12T22:05:43Z","closed_at":null,"body":"Hi, i've detected if i turn on and turn off very quickly, it stucks, so i have to reset the arduino to work well again. I do not know if it is limited by the baud rate or whatever. \r\n\r\nMy scenario:  i'm testing sending/receiving a String (3 chars) with a timer task, sending from Android with a 100ms period. So, Arduino receive it correctly, on, off, on, off... but after some executions, arduino stucks, i think that the `bluetooth.available()` condition change its states.\r\n\r\nI've tried with a `delay(5);` after each on/off, improving the test, but i get stuck again after some seconds working rightly.\r\n\r\nI've tried to thange the baud rate from my initial 9600 to some other, but it fails, i can not get it work if i change the baud rate.\r\n\r\n`bluetooth.begin(19200); //or some other standard speed rate, does not work anymore`\r\n\r\nAny ideas? Thx!!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bauerjj/Android-Simple-Bluetooth-Example/issues/comments/314911292","html_url":"https://github.com/bauerjj/Android-Simple-Bluetooth-Example/issues/2#issuecomment-314911292","issue_url":"https://api.github.com/repos/bauerjj/Android-Simple-Bluetooth-Example/issues/2","id":314911292,"user":{"login":"bauerjj","id":1715776,"avatar_url":"https://avatars0.githubusercontent.com/u/1715776?v=3","gravatar_id":"","url":"https://api.github.com/users/bauerjj","html_url":"https://github.com/bauerjj","followers_url":"https://api.github.com/users/bauerjj/followers","following_url":"https://api.github.com/users/bauerjj/following{/other_user}","gists_url":"https://api.github.com/users/bauerjj/gists{/gist_id}","starred_url":"https://api.github.com/users/bauerjj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bauerjj/subscriptions","organizations_url":"https://api.github.com/users/bauerjj/orgs","repos_url":"https://api.github.com/users/bauerjj/repos","events_url":"https://api.github.com/users/bauerjj/events{/privacy}","received_events_url":"https://api.github.com/users/bauerjj/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T22:05:43Z","updated_at":"2017-07-12T22:05:43Z","body":"ok, glad you got it working!"}}
{"actor":{"display_login":"bauerjj"}}