fix(client): connectTimeout in ms, NVS addr byte order, onScanEnd callback
All checks were successful
CI / build (push) Successful in 1m14s
All checks were successful
CI / build (push) Successful in 1m14s
- setConnectTimeout(5000ms) instead of 10ms (NimBLE-Arduino v2 uses ms) - Fix NVS stored address: use ble_addr_t struct constructor to avoid double byte-reversal, and correct type BLE_ADDR_PUBLIC - Use onScanEnd callback to defer connect until scan fully terminated - Separate foundAddr to avoid race between scan callback and loop
This commit is contained in:
parent
a51936f819
commit
3c87990a9c
3 changed files with 433 additions and 32 deletions
Binary file not shown.
Loading…
Reference in a new issue