I am testing the standard blehr example on a ESP32-WROOM-32 module and everything works fine. Then I test the same piece of code on a ESP32-CAM and the bluetooth disconnects immediately after connecting:
connection established; status=0
disconnect; reason=531
GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=0 adv_itvl_max=0
I pulled the latest esp-idf repository, no change.
Where can I find out what "reason 531" means?
Also, what could be the difference between the WROOM and the CAM module? What configuration settings should I change to make the code work well on the second device?
Thanks!
NimBLE disconnects right away after connecting [reason=531]
Who is online
Users browsing this forum: No registered users and 254 guests