I have added a new service in the BLE device, It is getting on the android device, but not on the iOS device. I don't know why this happening. please help if anyone knows.
is there any limit For BLE services, I have added New Service in BLE device in iOS swift But Not getting in IOS
398 Views Asked by AkshAy At
2
There are 2 best solutions below
0

iOS caches the services of a ble device. It performs discovery of services only once and then saves in cache. In all future connections it will load services from cache and not read from the device. This is done to increase speed. To refresh the cache and ask the iOS system to discover the services, go to settings and manually turn off bluetooth and turn it on. Then you will be able to see updated services in iOS.
No there is nothing like limitations for BLE in IOS.
here you mention that it works in android it means your BLE service is Working properly.
I think the problem is in your service calling (your ios code to use service) so please check it again.
you can refer example of this https://github.com/troystribling/BlueCap