noble / bleno

A Node.js module for implementing BLE (Bluetooth Low Energy) peripherals
MIT License
2.12k stars 448 forks source link

Connection Timeout after 20 sec #338

Closed shinhwap closed 6 years ago

shinhwap commented 6 years ago

HI, I'm using debian jessie 8.9 to create bleno server BlueZ 5.23, bleno 0.4.2 It's work fined and connect without error when using android phone like oppo, HTC, samsung. But when I use this tablet It will not connect to BLE server after 20sec. Here is the hcidump -t -x screenshot I had disable bluetoothd and hci0 were running.

Only this tablet will happen this problem. Is there the bluetooth problem in the tablet or I can do something in server side?

shinhwap commented 6 years ago

I use nRF connect to log error I see Connecting to E0:4F:43:21:40:5B gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) (hidden) [Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0) Error 133 (0x85): GATT ERROR Disconnected Then the tablet cannot connect to bleno. It seem that this is android bluetooth? Can bleno do anything to relsove it?