oh how I love Java

Linus Torvalds torvalds at linux-foundation.org
Thu Jun 29 21:25:44 PDT 2017


On Thu, Jun 29, 2017 at 9:10 PM, Dirk Hohndel <dirk at hohndel.org> wrote:
>
> Linus, here's what I get when trying to connect to the Perdix from
> Android:
>
> 06-29 21:06:19.864 23293 23304 D BtGatt.GattService: clientConnect() - address=E4:3B:31:49:F5:D0, isDirect=true
> 06-29 21:06:19.865 23293 23315 D bt_btif_config: btif_get_address_type: Device [e4:3b:31:49:f5:d0] address type 1
> 06-29 21:06:19.865 23293 23315 D bt_btif_config: btif_get_device_type: Device [e4:3b:31:49:f5:d0] type 2
> 06-29 21:06:19.865 23293 23328 E bt_btif : Connection open failure

Sounds like it's not connecting at all - so we never even get to the
point where we can start scanning for services.

> 06-29 21:06:19.866 21696 21708 W QtBluetoothGatt: Unhandled error code on connectionStateChanged: 133 0
>
> Any ideas / suggestions?

Not really. Google finds other cases of that unhandled
connectionStateChanged(), eg

    https://forum.qt.io/topic/59841/ble-demos-fail-on-android

does the lowenergyscanning example work for you?

                  Linus


More information about the subsurface mailing list