xpg / GizwitsBLE

Android BLE SDK
Apache License 2.0
196 stars 89 forks source link

BLE Connection fail #9

Open maki077 opened 8 years ago

maki077 commented 8 years ago

Just i connect the ble4.0 with my telephone(MI3 OS:6.0.1),I can't connected; And the logcat shows that " D/BluetoothGatt(14678): onClientConnectionState() - status=133 clientIf=5 device=xx:xx:xx:xx:xx:xx D/blelib(14678): onConnectionStateChange xx:xx:xx:xx:xxxx: status 133 newState 0 " I thougth it‘s the same with the another issues,just about the “status=133”
The Gatt may be wrong with my telephone opera system, because I use the BLE Connection of System successfully. (PS. I can't received the Broadcast by the action "BluetoothDevice.ACTION_FOUND" , Thanks for your guide, I use your lib to scan the BL successfully) Now I have to use old api of BLE Connection.
Finally I think the "status=133" may be bug in some telephone.

ax003d commented 8 years ago

When status=133 shows, it means that the bluetooth stack of your phone is in an incorrect state, so you have to restart bluetooth in your phone, or restart your phone.