Hi Team,
In my application I m using NUS and and a custom service.
Everything works fine in redmi note 4(android version 7),Lenova K9(Android version 8) and Samsung Galaxy M30S(Android version 10)
But in Nokia 7.2 and pixel 2 I m getting the following error.
13:30:43.138 Connecting to FE:07:CC:51:09:3F...
13:30:43.138 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
13:30:43.350 [Server callback] Connection state changed with status: 0 and new state: CONNECTED (2)
13:30:43.350 [Server] Device with address FE:07:CC:51:09:3F connected
13:30:43.352 [Server] MTU changed to 247
13:30:43.415 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2)
13:30:43.415 Connected to FE:07:CC:51:09:3F
13:30:43.416 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED
13:30:43.524 Discovering services...
13:30:43.525 gatt.discoverServices()
13:30:48.714 [Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
13:30:48.715 [Server] Device disconnected
13:30:48.802 Connection parameters update failed with status 8 (interval: 45.0ms, latency: 0, timeout: 5000ms)
13:30:48.803 Error 8 (0x8): GATT INSUF AUTHORIZATION
13:30:48.803 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
13:30:48.803 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
13:30:48.803 Error 8 (0x8): GATT CONN TIMEOUT
13:30:48.803 Disconnected
Softdevice verison : s140
nRF sdk version : 15.2.0
I tried changing min and max connection timeout
Please guide me on resolving thos