{"action":"opened","issue":{"url":"https://api.github.com/repos/nickoneill/PermissionScope/issues/107","labels_url":"https://api.github.com/repos/nickoneill/PermissionScope/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/nickoneill/PermissionScope/issues/107/comments","events_url":"https://api.github.com/repos/nickoneill/PermissionScope/issues/107/events","html_url":"https://github.com/nickoneill/PermissionScope/issues/107","id":111497064,"number":107,"title":"Don't start/stop Bluetooth advertising if powered off","user":{"login":"cgst","id":101628,"avatar_url":"https://avatars.githubusercontent.com/u/101628?v=3","gravatar_id":"","url":"https://api.github.com/users/cgst","html_url":"https://github.com/cgst","followers_url":"https://api.github.com/users/cgst/followers","following_url":"https://api.github.com/users/cgst/following{/other_user}","gists_url":"https://api.github.com/users/cgst/gists{/gist_id}","starred_url":"https://api.github.com/users/cgst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgst/subscriptions","organizations_url":"https://api.github.com/users/cgst/orgs","repos_url":"https://api.github.com/users/cgst/repos","events_url":"https://api.github.com/users/cgst/events{/privacy}","received_events_url":"https://api.github.com/users/cgst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-14T21:26:24Z","updated_at":"2015-10-14T21:26:24Z","closed_at":null,"body":"Attempting to\r\n            bluetoothManager.startAdvertising(nil)\r\n            bluetoothManager.stopAdvertising()\r\nin triggerBluetoothStatusUpdate() outputs an error message on the iOS system console:\r\n\r\n[CoreBluetooth] API MISUSE: <CBPeripheralManager: 0x15f1fb1a0> can only accept this command while in the powered on state"}}