I'm developing an app that has to interface with an BLE (Bluetooth Low Energy) device, that I also have to make.
I use B4i (from B4X suite) to develop the iOS app, but it support also native Objective-C code in it... so If you have a solution for the following problem in the native language is ok, also in Swift, just to point in some direction.
I want to implement a sort of custom security mechanism… and actually I already successfully did it on device-side, so no problems there.
But this mechanism NEEDS the fact that the connected smartphone (iPhone) must be able to refresh the advertised services list while connected because a service starts in a second moment, after connection.
I tested my device (Esp32) using "nRF Connect" App by Nordic on Android, and there is a "refresh services" button that enables me to update the services list runtime (while connected)... so on Android side I'm covered.
I've to understand if it is possibile also on iOS, and if yes... someone of you can help me understand how?
Thanks in advance