Having an issue where an Android device running the same app as an iPhone is seeing different BLE Characteristics and am not sure why this may be. The characteristics seen by the iPhone are the the correct but when switching to the Android platform it is seeing the id for an old characteristic that has been removed from the esp32's application.
iOS and Android development is not my realm of expertise so if anyone could shed some light on why the two are seeing different information that would be much appreciated.
BLE pairing with iPhone and Android
Re: BLE pairing with iPhone and Android
Most likely its because android is caching device information in ble to lower power consumption.
-
- Posts: 59
- Joined: Thu Aug 17, 2017 5:40 pm
Re: BLE pairing with iPhone and Android
Hi, I use ESP32 with Android (>= 4.0.3) and iOS (10.3 and 11.3).
Both working very well with ESP32 BLE.
I not have any cache problem with Android, as related by @chegewara.
I suggest You use the nRF Toolbox app, of Nordic, in both iOS and Android.
This is very complete tool app to BLE devices.
I just finish the Esp-Idf-Mobile-Apps github repos (ESP32 and IOS. Android soon).
Please give a look viewtopic.php?f=18&t=6806
Vou can try connect your mobiles app with this ESP-IDF sample, to identify if the problem is
in Android app or in ESP-IDF app.
I suspect in this, I have problems to connect ESP32 with mobiles.
I can it only with ble_uart_sample of @pcbreflux, another libs/examples not worked with me
Both working very well with ESP32 BLE.
I not have any cache problem with Android, as related by @chegewara.
I suggest You use the nRF Toolbox app, of Nordic, in both iOS and Android.
This is very complete tool app to BLE devices.
I just finish the Esp-Idf-Mobile-Apps github repos (ESP32 and IOS. Android soon).
Please give a look viewtopic.php?f=18&t=6806
Vou can try connect your mobiles app with this ESP-IDF sample, to identify if the problem is
in Android app or in ESP-IDF app.
I suspect in this, I have problems to connect ESP32 with mobiles.
I can it only with ble_uart_sample of @pcbreflux, another libs/examples not worked with me
Who is online
Users browsing this forum: No registered users and 123 guests