When discovering services with BLE, I get different results when connecting to the same ESP32 module between iOS and Android.
My app is a B4X app, trying to make a cross platform version of it.
With iOS, in Manager_Connected, the services consists of only one line:
with Android, it finds three:
With iOS, I use the single found entry as ServiceID, then do a ReadData of that service I, and I can send data using a hardcoded characterstic ID, works fine.
With Android, when i try write data using the same hardcoded characteristic, it crashes with characteristic not found. I am calling the UUID function to convert the hardcoded characterstic.
Any idea what else I can try?
My app is a B4X app, trying to make a cross platform version of it.
With iOS, in Manager_Connected, the services consists of only one line:
with Android, it finds three:
With iOS, I use the single found entry as ServiceID, then do a ReadData of that service I, and I can send data using a hardcoded characterstic ID, works fine.
With Android, when i try write data using the same hardcoded characteristic, it crashes with characteristic not found. I am calling the UUID function to convert the hardcoded characterstic.
Any idea what else I can try?