{"action":"created","issue":{"url":"https://api.github.com/repos/evothings/cordova-ble/issues/80","labels_url":"https://api.github.com/repos/evothings/cordova-ble/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/evothings/cordova-ble/issues/80/comments","events_url":"https://api.github.com/repos/evothings/cordova-ble/issues/80/events","html_url":"https://github.com/evothings/cordova-ble/issues/80","id":115532548,"number":80,"title":"No error callback when trying to read characteristics if BLE is turned off","user":{"login":"u84six","id":9747023,"avatar_url":"https://avatars.githubusercontent.com/u/9747023?v=3","gravatar_id":"","url":"https://api.github.com/users/u84six","html_url":"https://github.com/u84six","followers_url":"https://api.github.com/users/u84six/followers","following_url":"https://api.github.com/users/u84six/following{/other_user}","gists_url":"https://api.github.com/users/u84six/gists{/gist_id}","starred_url":"https://api.github.com/users/u84six/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u84six/subscriptions","organizations_url":"https://api.github.com/users/u84six/orgs","repos_url":"https://api.github.com/users/u84six/repos","events_url":"https://api.github.com/users/u84six/events{/privacy}","received_events_url":"https://api.github.com/users/u84six/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-06T16:00:01Z","updated_at":"2015-11-06T17:22:33Z","closed_at":null,"body":"When I make a call to BLE and the BLE device turns off, I'm not getting any kind of timeout and callbackContext.error() isn't ever called. It seems to hang in the Android BLE/GATT (example: if readCharacteristic is called, there's no timeout or error if it can't communicate with the device). How have you gotten around this?"},"comment":{"url":"https://api.github.com/repos/evothings/cordova-ble/issues/comments/154477870","html_url":"https://github.com/evothings/cordova-ble/issues/80#issuecomment-154477870","issue_url":"https://api.github.com/repos/evothings/cordova-ble/issues/80","id":154477870,"user":{"login":"u84six","id":9747023,"avatar_url":"https://avatars.githubusercontent.com/u/9747023?v=3","gravatar_id":"","url":"https://api.github.com/users/u84six","html_url":"https://github.com/u84six","followers_url":"https://api.github.com/users/u84six/followers","following_url":"https://api.github.com/users/u84six/following{/other_user}","gists_url":"https://api.github.com/users/u84six/gists{/gist_id}","starred_url":"https://api.github.com/users/u84six/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u84six/subscriptions","organizations_url":"https://api.github.com/users/u84six/orgs","repos_url":"https://api.github.com/users/u84six/repos","events_url":"https://api.github.com/users/u84six/events{/privacy}","received_events_url":"https://api.github.com/users/u84six/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T17:22:33Z","updated_at":"2015-11-06T17:22:33Z","body":"I'm talking about making a request to BLE like readCharacteristic when the BLE device turns off. When that happens, readCharacteristic doesn't return an error if it can't communicate with the device, and seem to just hang at the Android SDK."}}