- From: Per Thomas Jahr via GitHub <sysbot+gh@w3.org>
- Date: Tue, 12 Jan 2016 12:27:52 +0000
- To: public-web-bluetooth-log@w3.org
Thanks for the clarifications. Regarding the stale adapter: what I meant was that after multiple connect and disconnect tries, I finally end up with not being able to use the Bluetooth adapter at all. In the log there is growing list like this: ``` 01-12 13:12:45.956 2726 2872 W bt_btif : bta_gattc_conn_cback() - cif=3 connected=0 conn_id=3 reason=0x0016 01-12 13:12:45.957 2726 2872 W bt_btif : bta_gattc_conn_cback() - cif=4 connected=0 conn_id=4 reason=0x0016 01-12 13:12:45.957 2726 2872 W bt_btif : bta_gattc_conn_cback() - cif=5 connected=0 conn_id=5 reason=0x0016 01-12 13:12:45.957 2726 2872 W bt_btif : bta_gattc_conn_cback() - cif=6 connected=0 conn_id=6 reason=0x0016 01-12 13:12:45.957 2726 2872 W bt_btif : bta_gattc_conn_cback() - cif=7 connected=0 conn_id=7 reason=0x0016 01-12 13:12:45.957 2726 2872 W bt_btif : bta_gattc_conn_cback() - cif=8 connected=0 conn_id=8 reason=0x0016 ``` In the end (when cif is 32) I'm getting this in the log: ``` 01-12 13:13:00.280 2726 2872 E bt_btif : Register with GATT stack failed. ``` Then I can't connect to the peripheral anymore and other apps can't use the adapter either. This was just a small test I made and probably I'm not releasing the resource in the correct way. But when I used BluetoothGatt.java#close() this problem went away. My test page: http://people.opera.com/perja/webbt/disconnect.html -- GitHub Notification of comment by perja12 Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/192#issuecomment-170896201 using your GitHub account
Received on Tuesday, 12 January 2016 12:27:54 UTC