{"action":"created","issue":{"url":"https://api.github.com/repos/eclipse/kura/issues/180","repository_url":"https://api.github.com/repos/eclipse/kura","labels_url":"https://api.github.com/repos/eclipse/kura/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/kura/issues/180/comments","events_url":"https://api.github.com/repos/eclipse/kura/issues/180/events","html_url":"https://github.com/eclipse/kura/pull/180","id":152781701,"number":180,"title":"Hotfix/#179 ble compatibility issue; close #179","user":{"login":"gavinying","id":10823762,"avatar_url":"https://avatars.githubusercontent.com/u/10823762?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinying","html_url":"https://github.com/gavinying","followers_url":"https://api.github.com/users/gavinying/followers","following_url":"https://api.github.com/users/gavinying/following{/other_user}","gists_url":"https://api.github.com/users/gavinying/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinying/subscriptions","organizations_url":"https://api.github.com/users/gavinying/orgs","repos_url":"https://api.github.com/users/gavinying/repos","events_url":"https://api.github.com/users/gavinying/events{/privacy}","received_events_url":"https://api.github.com/users/gavinying/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eclipse/kura/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/eclipse/kura/labels/kura-bluetooth","name":"kura-bluetooth","color":"c2e0c6"}],"state":"open","locked":false,"assignee":{"login":"pierantoniomerlino","id":2919570,"avatar_url":"https://avatars.githubusercontent.com/u/2919570?v=3","gravatar_id":"","url":"https://api.github.com/users/pierantoniomerlino","html_url":"https://github.com/pierantoniomerlino","followers_url":"https://api.github.com/users/pierantoniomerlino/followers","following_url":"https://api.github.com/users/pierantoniomerlino/following{/other_user}","gists_url":"https://api.github.com/users/pierantoniomerlino/gists{/gist_id}","starred_url":"https://api.github.com/users/pierantoniomerlino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierantoniomerlino/subscriptions","organizations_url":"https://api.github.com/users/pierantoniomerlino/orgs","repos_url":"https://api.github.com/users/pierantoniomerlino/repos","events_url":"https://api.github.com/users/pierantoniomerlino/events{/privacy}","received_events_url":"https://api.github.com/users/pierantoniomerlino/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/eclipse/kura/milestones/1","html_url":"https://github.com/eclipse/kura/milestones/KURA-2.0.0","labels_url":"https://api.github.com/repos/eclipse/kura/milestones/1/labels","id":1738179,"number":1,"title":"KURA-2.0.0","description":"Release of Kura v2.0.0","creator":{"login":"dwoodard1","id":1392274,"avatar_url":"https://avatars.githubusercontent.com/u/1392274?v=3","gravatar_id":"","url":"https://api.github.com/users/dwoodard1","html_url":"https://github.com/dwoodard1","followers_url":"https://api.github.com/users/dwoodard1/followers","following_url":"https://api.github.com/users/dwoodard1/following{/other_user}","gists_url":"https://api.github.com/users/dwoodard1/gists{/gist_id}","starred_url":"https://api.github.com/users/dwoodard1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwoodard1/subscriptions","organizations_url":"https://api.github.com/users/dwoodard1/orgs","repos_url":"https://api.github.com/users/dwoodard1/repos","events_url":"https://api.github.com/users/dwoodard1/events{/privacy}","received_events_url":"https://api.github.com/users/dwoodard1/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":12,"state":"open","created_at":"2016-04-29T09:35:07Z","updated_at":"2016-05-11T12:20:03Z","due_on":"2016-05-25T22:00:00Z","closed_at":null},"comments":8,"created_at":"2016-05-03T14:06:36Z","updated_at":"2016-05-11T13:56:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/eclipse/kura/pulls/180","html_url":"https://github.com/eclipse/kura/pull/180","diff_url":"https://github.com/eclipse/kura/pull/180.diff","patch_url":"https://github.com/eclipse/kura/pull/180.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/eclipse/kura/issues/comments/218466668","html_url":"https://github.com/eclipse/kura/pull/180#issuecomment-218466668","issue_url":"https://api.github.com/repos/eclipse/kura/issues/180","id":218466668,"user":{"login":"gavinying","id":10823762,"avatar_url":"https://avatars.githubusercontent.com/u/10823762?v=3","gravatar_id":"","url":"https://api.github.com/users/gavinying","html_url":"https://github.com/gavinying","followers_url":"https://api.github.com/users/gavinying/followers","following_url":"https://api.github.com/users/gavinying/following{/other_user}","gists_url":"https://api.github.com/users/gavinying/gists{/gist_id}","starred_url":"https://api.github.com/users/gavinying/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavinying/subscriptions","organizations_url":"https://api.github.com/users/gavinying/orgs","repos_url":"https://api.github.com/users/gavinying/repos","events_url":"https://api.github.com/users/gavinying/events{/privacy}","received_events_url":"https://api.github.com/users/gavinying/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T13:56:00Z","updated_at":"2016-05-11T13:56:00Z","body":"@pierantoniomerlino \r\n\r\nTo clarify this, I did some testing and also searched online, here are 4 scenarios I met so far,  \r\n \r\nCase A: \r\n[   ][BC:6A:29:AB:DE:2B][LE]> connect\r\n[CON][BC:6A:29:AB:DE:2B][LE]>\r\n\r\nCase B: \r\n[   ][BC:6A:29:AB:DE:2B][LE]> connect\r\nConnecting... connect error: xxxxxx\r\n[   ][BC:6A:29:AB:DE:2B][LE]>\r\n\r\nCase C: \r\n[54:4A:16:5A:14:C6][LE]> connect\r\nAttempting to connect to 54:4A:16:5A:14:C6\r\nConnection successful\r\n[54:4A:16:5A:14:C6][LE]> \r\n\r\nCase D: \r\n[54:4A:16:5A:14:C6][LE]> connect\r\nAttempting to connect to 54:4A:16:5A:14:C6\r\nError: connect error: xxxxxx\r\n[54:4A:16:5A:14:C6][LE]> \r\n\r\nDid you find more cases that will unexpectedly trigger REGEX_NOT_CONNECTED condition during connect()? If it does, maybe we shall adjust the regex pattern to fix it. \r\n\r\nOn second thought, if the m_ready cannot be set in condition that defined as REGEX_NOT_CONNECTED, then there's no point to use m_ready variable any more. \r\nWhat do you think? "}}