Page 1 of 1

How can i know the ble is disconnected while use the Wi-Fi Provisioning

Posted: Tue Apr 04, 2023 7:20 am
by Vincent zhang
i use IDF 4.2 and Wi-Fi Provisioning over BLE transport to receive wifi credentials,it works well. But now i have a request, when the ble is disconnected with phone App,i need to konw. How can i know the connection is disconnected? Is there any callback API can inform me?

Re: How can i know the ble is disconnected while use the Wi-Fi Provisioning

Posted: Tue Apr 04, 2023 8:17 am
by Vincent zhang
Whenever the connection is disconnected, I receive this log "GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256", but I don't know where it was printed