Arden Kolodner
Arden Kolodner
Oddly enough, setting the connection parameters will reverse the issue: the _first_ connected device will now be the fast one, and the others, including the last one, will be slow....
Update: the problem seems to be occurring somewhere in ble_gap_conn_find in ble_gap.c. At first, the connection works fine, for a second or so. During this time, every call to ble_gap_conn_find...
Update 3: Here's a full stack trace immediately before the call to ble_gap_conn_find that returns 0 (causing the assert fail): `Backtrace: [...] 0x42025347: NimBLECharacteristic::handleGapEvent(unsigned short, unsigned short, ble_gatt_access_ctxt*, void*) at...
Update 4: in ble_gattc_notify_custom, argument txom is non-null until the very last call (the one that causes an error), where it's null. It never seems to be null when I...
Finally found something that makes it work: in ble_gattc.c, line 4169, replacing "BLE_HS_CONN_HANDLE_NONE" with "conn_handle" makes it work (essentially, instead of using the "no conn handle" marker, it just uses...
Thank you! I'm on ESP-IDF 4.4.3 (it says "v4.4.3-dirty" when I run idf.py --version, not sure if that matters). The version of this repo is 1.4.1 and Arduino is ESP...
@h2zero Any update on this?
Okay, I've created an issue with Espressif, hopefully they can fix the issue. Thank you!
Another note on this that I just discovered: the `log_w("- Truncating to %d bytes (maximum notify size)", _mtu - 3);` line turns out to take a total of 9ms to...