Closed ChocolateLoverRaj closed 10 months ago
I ran cargo run --example ble_server without any modifications to the example, and I get this log:
cargo run --example ble_server
I (186902) ble_server: Multi-connect support: start advertising I (186902) NimBLE: GAP procedure initiated: advertise; I (186912) NimBLE: disc_mode=2 I (186912) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=0 adv_itvl_max=0 I (186922) NimBLE: I (188112) ble_server: Client disconnected (205) I (188242) ble_server: Client connected I (188242) NimBLE: GAP procedure initiated: I (188242) NimBLE: connection parameter update; conn_handle=2 itvl_min=24 itvl_max=48 latency=0 supervision_timeout=60 min_ce_len=0 max_ce_len=0 I (188252) NimBLE: I (188262) ble_server: Multi-connect support: start advertising I (188262) NimBLE: GAP procedure initiated: advertise; I (188272) NimBLE: disc_mode=2 I (188272) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=0 adv_itvl_max=0 I (188282) NimBLE: I (189552) ble_server: Client disconnected (205)
And it repeats forever. I can connect to the ESP32C3 from one device, but when I try to connect a second device the ESP32C3 crashes and restarts.
Turns out it was my laptop that kept connecting and disconnecting, I don't think it's an issue with the ESP32-C3
I ran
cargo run --example ble_server
without any modifications to the example, and I get this log:And it repeats forever. I can connect to the ESP32C3 from one device, but when I try to connect a second device the ESP32C3 crashes and restarts.