NimBLE disconnects right away after connecting [reason=531]

ffrige
Posts: 22
Joined: Thu Oct 15, 2020 3:44 am

NimBLE disconnects right away after connecting [reason=531]

Postby ffrige » Thu Oct 15, 2020 3:56 am

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!

ffrige
Posts: 22
Joined: Thu Oct 15, 2020 3:44 am

Re: NimBLE disconnects right away after connecting [reason=531]

Postby ffrige » Tue Oct 20, 2020 1:22 am


Who is online

Users browsing this forum: No registered users and 254 guests