Ubuntu 18.1SDK : 15.0 SD 132 v 6.0
The device once connected to the device is immediately dropping the connection upon going into discoverServices(), as seen in the logs. I am unable to understand the reason exactly. The same behaviour is seen in OnePlus 5, Vivo Nex Smartphones. Surprisingly, phones from same brand, OnePus 3 and OnePlus 6 don't exhibit this behaviour. Please suggest if something can be done to fix this
nRF Connect, 2019-03-16
V 11:29:39.723 Connecting to FB:55:34:92:A5:46...
D 11:29:39.723 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D 11:30:05.422 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
I 11:30:05.422 Connected to FB:55:34:92:A5:46
D 11:30:05.424 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
V 11:30:05.452 Discovering services...
D 11:30:05.452 gatt.discoverServices()
D 11:30:05.452 [Callback] Connection state changed with status: 34 and new state: DISCONNECTED (0)
E 11:30:05.453 Error 34 (0x22): GATT CONN LMP TIMEOUT
I 11:30:05.453 Disconnected
D 11:30:05.461 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
Have you ran nRF Sniffer to capture the link layer packets?
No I don't have a sniffer, I am trying to find one. Is there any other way to get a more detailed logs which could help debug the issue?
LMP TIMEOUT is Link Manager Protocol Timeout. This happens when a link layer request didn't get a response after (usually) 30 seconds. It would be much easier to know what exactly causing the issue if you can provide a sniffer trace.