What do the acl_disconn_cmpl_stat error codes mean?
Posted: Wed Jun 12, 2024 8:36 am
I am currently debugging an issue while trying to connect an ESP32 with a Meta Quest 3. The pairing is successful, but then is always terminated 3 seconds later. Setting the error log to verbose gives me:
[ 41477][BluetoothSerial.cpp:609] esp_bt_gap_cb(): ESP_BT_GAP_ACL_DISCONN_CMPL_STAT_EVT ACL disconnection complete status event: reason 278, handle 129
According to ChatGTP, reason 278 is 0x116 which stands for "Connection Terminated Due to MIC Failure." however, no such error exists in Espressif's list of error codes https worse yet, 0x116 isn't even a valid error code according to the list.
I have tried plugging "278" into the esp_err_to_name function but all it returns is "ERROR".
What does "ACL disconnection complete status event: reason 278" mean?
Many thanks!
IA
[ 41477][BluetoothSerial.cpp:609] esp_bt_gap_cb(): ESP_BT_GAP_ACL_DISCONN_CMPL_STAT_EVT ACL disconnection complete status event: reason 278, handle 129
According to ChatGTP, reason 278 is 0x116 which stands for "Connection Terminated Due to MIC Failure." however, no such error exists in Espressif's list of error codes https worse yet, 0x116 isn't even a valid error code according to the list.
I have tried plugging "278" into the esp_err_to_name function but all it returns is "ERROR".
What does "ACL disconnection complete status event: reason 278" mean?
Many thanks!
IA