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]
Re: NimBLE disconnects right away after connecting [reason=531]
531 是主机端主动断开了,原因多数是协议错误,主机无法接受。比如HID描述符不合法,描述符里面的根集合太多了(windows最多支持3个)。
Who is online
Users browsing this forum: Qwantbot and 5 guests