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

Vincent zhang
Posts: 7
Joined: Tue Oct 18, 2022 8:14 am

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

Postby Vincent zhang » Tue Apr 04, 2023 7:20 am

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?

Vincent zhang
Posts: 7
Joined: Tue Oct 18, 2022 8:14 am

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

Postby Vincent zhang » Tue Apr 04, 2023 8:17 am

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

Who is online

Users browsing this forum: Bing [Bot] and 78 guests