You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing an issue with the BLE connection. So what exactly happening is that some iOS-based clients are trying to connect with Android-based advertisers and we are using this library to do the job and it works in most of our use cases. implementation 'no.nordicsemi.android:ble-ktx:2.6.0'
Except for few times when some iOS-based devices are trying to connect and it connects and just after that it disconnects automatically.
So here is the sequence of overridden functions that gets called.
onServicesInvalidated() \ invalidates the server connection
It is able to do the job on repeat but in some cases, it does not does the main job of writing back the data as before writing anything it gets disconnected as soon as it connects.
onServicesInvalidated() \ invalidates the server connection
the issue is that it disconnects just after it connects and it is doing continuously so for some specific devices. But it is working fine for other ios devices and Android devices.
And since we are not getting any error msg or status code so we are not sure what's causing the issue. If you guys are aware of anything related to this issue, please help us or any suggestions that we could do in config or setup from the advertiser side. OR should we look into the client side, please do suggest.
Thanks for library
The text was updated successfully, but these errors were encountered:
Hi, sorry for the late response. Did you manage do fix the issue?
Do you have any logs which could be useful? They are sent to log(...) method in BleManager.
Hey All,
I'm facing an issue with the BLE connection. So what exactly happening is that some iOS-based clients are trying to connect with Android-based advertisers and we are using this library to do the job and it works in most of our use cases.
implementation 'no.nordicsemi.android:ble-ktx:2.6.0'
Except for few times when some iOS-based devices are trying to connect and it connects and just after that it disconnects automatically.
So here is the sequence of overridden functions that gets called.
onDeviceConnectedToServer(device: BluetoothDevice)
\ device connectsClientConnection
which extendsBleManager
\ does the job and writes backonDeviceDisconnectedFromServer(device: BluetoothDevice)
\ disconnectsonServicesInvalidated()
\ invalidates the server connectionIt is able to do the job on repeat but in some cases, it does not does the main job of writing back the data as before writing anything it gets disconnected as soon as it connects.
onDeviceConnectedToServer(device: BluetoothDevice)
\ device connectsonDeviceDisconnectedFromServer(device: BluetoothDevice)
\ disconnectsonServicesInvalidated()
\ invalidates the server connectionthe issue is that it disconnects just after it connects and it is doing continuously so for some specific devices. But it is working fine for other ios devices and Android devices.
And since we are not getting any error msg or status code so we are not sure what's causing the issue. If you guys are aware of anything related to this issue, please help us or any suggestions that we could do in config or setup from the advertiser side. OR should we look into the client side, please do suggest.
Thanks for library
The text was updated successfully, but these errors were encountered: