This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

error 34(0x22): GATT CONN LMP TIMEOUT on Android devices

I am getting the following error message in the log when I try to connect with an Android device. It remains connected for about 40 seconds and then automatically disconnects. Any idea why this might be happening? I am not sure what it means by GATT CONN LMP TIMEOUT.

I have looked on other threads but it doesn't seem to be solved in any of them. 

Log 2019-07-22 16:37:38

nRF Connect, 2019-07-22

IMP004m (0C:2A:69:11:27:C6)

V 16:27:45.510 Connecting to 0C:2A:69:11:27:C6...

D 16:27:45.510 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)

D 16:27:45.749 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)

I 16:27:45.749 Connected to 0C:2A:69:11:27:C6

D 16:27:45.751 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED

V 16:27:45.764 Discovering services...

D 16:27:45.764 gatt.discoverServices()

D 16:27:46.899 [Callback] Services discovered with status: 0

I 16:27:46.899 Services discovered

V 16:27:46.916 Unknown Service (00003801-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a01-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a02-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a03-0000-1000-8000-00805f9b34fb)

Battery Service (0x180F)

- Battery Level [R] (0x2A19)

Device Information (0x180A)

- Manufacturer Name String [R] (0x2A29)

- Serial Number String [R] (0x2A25)

- Model Number String [R] (0x2A24)

- Firmware Revision String [R] (0x2A26)

W 16:28:25.765 Connection parameters update failed with status 34 (interval: 45.0ms, latency: 0, timeout: 5000ms)

E 16:28:25.766 Error 34 (0x22): GATT CONN LMP TIMEOUT

D 16:28:25.783 [Callback] Connection state changed with status: 34 and new state: DISCONNECTED (0)

E 16:28:25.784 Error 34 (0x22): GATT CONN LMP TIMEOUT

I 16:28:25.784 Disconnected

D 16:28:25.894 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED

D 16:29:15.095 gatt.close()

D 16:29:15.098 wait(200)

V 16:29:15.299 Connecting to 0C:2A:69:11:27:C6...

D 16:29:15.299 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)

D 16:29:16.837 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)

I 16:29:16.837 Connected to 0C:2A:69:11:27:C6

D 16:29:16.871 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED

V 16:29:16.882 Discovering services...

D 16:29:16.882 gatt.discoverServices()

D 16:29:18.035 [Callback] Services discovered with status: 0

I 16:29:18.035 Services discovered

V 16:29:18.047 Unknown Service (00003801-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a01-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a02-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a03-0000-1000-8000-00805f9b34fb)

Battery Service (0x180F)

- Battery Level [R] (0x2A19)

Device Information (0x180A)

- Manufacturer Name String [R] (0x2A29)

- Serial Number String [R] (0x2A25)

- Model Number String [R] (0x2A24)

- Firmware Revision String [R] (0x2A26)

W 16:29:56.829 Connection parameters update failed with status 34 (interval: 45.0ms, latency: 0, timeout: 5000ms)

E 16:29:56.829 Error 34 (0x22): GATT CONN LMP TIMEOUT

D 16:29:56.835 [Callback] Connection state changed with status: 34 and new state: DISCONNECTED (0)

E 16:29:56.835 Error 34 (0x22): GATT CONN LMP TIMEOUT

I 16:29:56.835 Disconnected

D 16:29:56.866 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED

D 16:33:40.919 gatt.close()

D 16:33:40.921 wait(200)

V 16:33:41.124 Connecting to 0C:2A:69:11:27:C6...

D 16:33:41.124 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)

D 16:33:43.466 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)

I 16:33:43.466 Connected to 0C:2A:69:11:27:C6

D 16:33:43.473 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED

V 16:33:43.491 Discovering services...

D 16:33:43.491 gatt.discoverServices()

D 16:33:44.584 [Callback] Services discovered with status: 0

I 16:33:44.584 Services discovered

V 16:33:44.598 Unknown Service (00003801-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a01-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a02-0000-1000-8000-00805f9b34fb)

- Unknown Characteristic [R W] (00003a03-0000-1000-8000-00805f9b34fb)

Battery Service (0x180F)

- Battery Level [R] (0x2A19)

Device Information (0x180A)

- Manufacturer Name String [R] (0x2A29)

- Serial Number String [R] (0x2A25)

- Model Number String [R] (0x2A24)

- Firmware Revision String [R] (0x2A26)

W 16:34:23.467 Connection parameters update failed with status 34 (interval: 45.0ms, latency: 0, timeout: 5000ms)

E 16:34:23.468 Error 34 (0x22): GATT CONN LMP TIMEOUT

D 16:34:23.485 [Callback] Connection state changed with status: 34 and new state: DISCONNECTED (0)

E 16:34:23.486 Error 34 (0x22): GATT CONN LMP TIMEOUT

I 16:34:23.486 Disconnected

D 16:34:23.581 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED

Related