{"action":"created","issue":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Mesh-Library/issues/103","repository_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Mesh-Library","labels_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Mesh-Library/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Mesh-Library/issues/103/comments","events_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Mesh-Library/issues/103/events","html_url":"https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/issues/103","id":387568378,"node_id":"MDU6SXNzdWUzODc1NjgzNzg=","number":103,"title":" Get BluetoothLeScannerCompat  from different  Android Version","user":{"login":"WangManAndroid","id":16494823,"node_id":"MDQ6VXNlcjE2NDk0ODIz","avatar_url":"https://avatars3.githubusercontent.com/u/16494823?v=4","gravatar_id":"","url":"https://api.github.com/users/WangManAndroid","html_url":"https://github.com/WangManAndroid","followers_url":"https://api.github.com/users/WangManAndroid/followers","following_url":"https://api.github.com/users/WangManAndroid/following{/other_user}","gists_url":"https://api.github.com/users/WangManAndroid/gists{/gist_id}","starred_url":"https://api.github.com/users/WangManAndroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangManAndroid/subscriptions","organizations_url":"https://api.github.com/users/WangManAndroid/orgs","repos_url":"https://api.github.com/users/WangManAndroid/repos","events_url":"https://api.github.com/users/WangManAndroid/events{/privacy}","received_events_url":"https://api.github.com/users/WangManAndroid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-05T02:39:16Z","updated_at":"2018-12-05T04:56:18Z","closed_at":null,"author_association":"NONE","body":"`\r\npublic static BluetoothLeScannerCompat getScanner() {\r\n\t\tif (mInstance != null)\r\n\t\t\treturn mInstance;\r\n\t\tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O)\r\n\t\t\treturn mInstance = new BluetoothLeScannerImplOreo();\r\n\t\tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M)\r\n\t\t\treturn mInstance = new BluetoothLeScannerImplMarshmallow();\r\n\t\tif (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)\r\n\t\t\treturn mInstance = new BluetoothLeScannerImplLollipop();\r\n\t\treturn mInstance = new BluetoothLeScannerImplJB();\r\n\t}\r\n`\r\nin my   xiaomi 4>>will   get   BluetoothLeScannerImplMarshmallow (android 6.0)\r\n               xiaomi mix 2>> will  get BluetoothLeScannerImplOreo( android 8.0)\r\n\r\n could you tell me the diffrence  of this?  \r\n  i found  xiaomi mix2  can scan  provinsioned   device  easier  than xiaomi 4, \r\n You can't even scan it on xiammi 4,\r\n i  don`t   know  the reaseon  of  this condition ,\r\n whiling  provinsioning , onProvisioningComplete,\r\n` public void onProvisioningComplete(final ProvisionedMeshNode provisionedMeshNode) {\r\n        provisionedMeshNode.setIsProvisioned(true);\r\n        Debuger.d(\"onProvisioningComplete............\");\r\n        mMeshNode = provisionedMeshNode;\r\n        mIsProvisioningComplete = true;\r\n\r\n        final Intent intent = new Intent(ACTION_PROVISIONING_STATE);\r\n        intent.putExtra(EXTRA_PROVISIONING_STATE, MeshNodeStates.MeshNodeStatus.PROVISIONING_COMPLETE.getState());\r\n        LocalBroadcastManager.getInstance(this).sendBroadcast(intent);\r\n\r\n        mIsProvisioningComplete = true;\r\n        mIsReconnecting = true;\r\n        final Intent intent1 = new Intent(ACTION_IS_RECONNECTING);\r\n        intent1.putExtra(EXTRA_DATA, mIsReconnecting);\r\n        LocalBroadcastManager.getInstance(this).sendBroadcast(intent1);\r\n\r\n        //mIsReconnecting.postValue(true);\r\n        mBleMeshManager.setProvisioningComplete(true);\r\n        mBleMeshManager.disconnect();\r\n        mBleMeshManager.refreshDeviceCache();\r\n        mHandler.postDelayed(mReconnectRunnable, 1500); //Added a slight delay to disconnect and refresh the cache\r\n    }`\r\nin this place  the xiaomi 4  rescan  so hard  and  you can't even scan it on xiammi 4,\r\nIs this a compatibility issue?\r\n \r\n\r\n   "},"comment":{"url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Mesh-Library/issues/comments/444358839","html_url":"https://github.com/NordicSemiconductor/Android-nRF-Mesh-Library/issues/103#issuecomment-444358839","issue_url":"https://api.github.com/repos/NordicSemiconductor/Android-nRF-Mesh-Library/issues/103","id":444358839,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDM1ODgzOQ==","user":{"login":"WangManAndroid","id":16494823,"node_id":"MDQ6VXNlcjE2NDk0ODIz","avatar_url":"https://avatars3.githubusercontent.com/u/16494823?v=4","gravatar_id":"","url":"https://api.github.com/users/WangManAndroid","html_url":"https://github.com/WangManAndroid","followers_url":"https://api.github.com/users/WangManAndroid/followers","following_url":"https://api.github.com/users/WangManAndroid/following{/other_user}","gists_url":"https://api.github.com/users/WangManAndroid/gists{/gist_id}","starred_url":"https://api.github.com/users/WangManAndroid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WangManAndroid/subscriptions","organizations_url":"https://api.github.com/users/WangManAndroid/orgs","repos_url":"https://api.github.com/users/WangManAndroid/repos","events_url":"https://api.github.com/users/WangManAndroid/events{/privacy}","received_events_url":"https://api.github.com/users/WangManAndroid/received_events","type":"User","site_admin":false},"created_at":"2018-12-05T04:56:18Z","updated_at":"2018-12-05T04:56:18Z","author_association":"NONE","body":"When the interface was stuck on connecting connecting lines, I found that the log was print  as follows:\r\nonClientRegistered() - status=0 clientIf=6\r\nonClientConnectionState() - status=133 clientIf=6 device=98:12:88:77:00:0B"}}
{"actor":{"display_login":"WangManAndroid"}}