请教关于ESP-IDF中蓝牙从机例程周期性断连问题

cxm007
Posts: 15
Joined: Wed Mar 15, 2023 2:44 am

请教关于ESP-IDF中蓝牙从机例程周期性断连问题

Postby cxm007 » Wed Mar 22, 2023 8:56 am

环境:window11 vscode
版本库:v5.0-rc1*
例程:gatt_server_service_table_demo
在使用ESP32S3作为从机时,被其他主机连接后,每隔40s左右都会出现断链的情况;
  1. W (569653) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x22
  2. I (569653) GATTS_TABLE_DEMO: ESP_GATTS_DISCONNECT_EVT, reason = 0x22
  3. I (569663) GATTS_TABLE_DEMO: advertising start successfully
请问需要调整哪里?才可以避免或解决这个问题。
打破认知

Who is online

Users browsing this forum: Baidu [Spider] and 40 guests