Search found 14 matches
- Tue Oct 29, 2019 4:03 pm
- Forum: ESP-IDF
- Topic: My multiple BLE client connection example rarely succeeds
- Replies: 9
- Views: 12945
Re: My multiple BLE client connection example rarely succeeds
Since the problem above doesn't necessarily block me I'm moving on. I would like to understand if this is a bug in the example somewhere else, but from a prototype point of view, I can continue with my testing. But now I have new problem with the multi-connect example. I see that garbage is printed ...
- Mon Oct 28, 2019 1:45 pm
- Forum: ESP-IDF
- Topic: My multiple BLE client connection example rarely succeeds
- Replies: 9
- Views: 12945
Re: My multiple BLE client connection example rarely succeeds
I posted the code, but for some reason it didn't show up on the forum. I've now changed to use the gattc_multi_connect and modified it for two devices. I changed this line "if (conn_device_a && conn_device_b /*&& conn_device_c*/ && !stop_scan_done){" While it works more consistently, I still crashes...
- Fri Oct 25, 2019 1:26 pm
- Forum: ESP-IDF
- Topic: My multiple BLE client connection example rarely succeeds
- Replies: 9
- Views: 12945
Re: My multiple BLE client connection example rarely succeeds
Here's my code. I'm leveraging the BLE wrapper created by nkolban. /** * Create a sample BLE client that connects to a BLE server and then retrieves the current * characteristic value. It will then periodically update the value of the characteristic on the * remote server with the current time since...
- Thu Oct 24, 2019 10:01 pm
- Forum: ESP-IDF
- Topic: My multiple BLE client connection example rarely succeeds
- Replies: 9
- Views: 12945
My multiple BLE client connection example rarely succeeds
I'm trying to connect my ESP32 WROOM to two BLE devices, an HM10 and HM18. Occasionally it works, but most of the time it fails in one of two ways. 1. It gets a disconnect event "gattClientEventHandler: disconnect event, reason: 62, connId: 0, my connId: 255, my IF: 4, gattc_if: 4". Or 2. it gets a ...