{"action":"created","issue":{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/396","repository_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge","labels_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/396/comments","events_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/396/events","html_url":"https://github.com/Freeyourgadget/Gadgetbridge/issues/396","id":178547748,"number":396,"title":"Bug on Discovery Devices","user":{"login":"JohnnySun","id":6197733,"avatar_url":"https://avatars.githubusercontent.com/u/6197733?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnySun","html_url":"https://github.com/JohnnySun","followers_url":"https://api.github.com/users/JohnnySun/followers","following_url":"https://api.github.com/users/JohnnySun/following{/other_user}","gists_url":"https://api.github.com/users/JohnnySun/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnySun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnySun/subscriptions","organizations_url":"https://api.github.com/users/JohnnySun/orgs","repos_url":"https://api.github.com/users/JohnnySun/repos","events_url":"https://api.github.com/users/JohnnySun/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnySun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T08:13:17Z","updated_at":"2016-09-23T02:17:05Z","closed_at":null,"body":"On some devices (like xiaomi redmi note3 Medietek edition)\r\nsupportsService(UUID aService) returned `no cached services available for xxx`\r\n\r\nheres some log \r\n`D/BluetoothLeScanner: onScanResult() - ScanResult{mDevice=D2:C8:48:09:71:CF, mScanRecord=ScanRecord [mAdvertiseFlags=6, mServiceUuids=[0000fee0-0000-1000-8000-00805f9b34fb, 0000fee7-0000-1000-8000-00805f9b34fb], mManufacturerSpecificData={343=[0, -68, -2, 1, 31, -70, 40, -20, 89, -109, -13, 8, -122, -104, 65, 27, -51, 0, -46, -56, 72, 9, 113, -49]}, mServiceData={0000fee0-0000-1000-8000-00805f9b34fb=[0, 0, 0, 0]}, mTxPowerLevel=-2147483648, mDeviceName=MI Band 2], mRssi=-94, mTimestampNanos=839780009464} `\r\n\r\n`W/nodomain.freeyourgadget.gadgetbridge.impl.GBDeviceCandidate: no cached services available for MI Band 2: D2:C8:48:09:71:CF`"},"comment":{"url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/comments/249084850","html_url":"https://github.com/Freeyourgadget/Gadgetbridge/issues/396#issuecomment-249084850","issue_url":"https://api.github.com/repos/Freeyourgadget/Gadgetbridge/issues/396","id":249084850,"user":{"login":"JohnnySun","id":6197733,"avatar_url":"https://avatars.githubusercontent.com/u/6197733?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnnySun","html_url":"https://github.com/JohnnySun","followers_url":"https://api.github.com/users/JohnnySun/followers","following_url":"https://api.github.com/users/JohnnySun/following{/other_user}","gists_url":"https://api.github.com/users/JohnnySun/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnnySun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnnySun/subscriptions","organizations_url":"https://api.github.com/users/JohnnySun/orgs","repos_url":"https://api.github.com/users/JohnnySun/repos","events_url":"https://api.github.com/users/JohnnySun/events{/privacy}","received_events_url":"https://api.github.com/users/JohnnySun/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T02:17:05Z","updated_at":"2016-09-23T02:17:05Z","body":"Hi\r\nFirst, The LE Scan is slower than general BT Scan its normal, because LE Scan need to send scan quest for every le devices to get Scan response.\r\n\r\nOn my test, its all right to use BTLE Scan. adv data and response data receive correctly.\r\n\r\nSecond, there a new API for Le scan added on API21 [Click Here](https://developer.android.com/reference/android/bluetooth/le/BluetoothLeScanner.html#startScan(java.util.List<android.bluetooth.le.ScanFilter>, android.bluetooth.le.ScanSettings, android.bluetooth.le.ScanCallback)), maybe its more effective that older `startLeScan()` API.  "}}
{"actor":{"display_login":"JohnnySun"}}