error: BR/EDR and LE connection failure reasons
authorMiao-chen Chou <mcchou@chromium.org>
Thu, 30 Sep 2021 22:37:26 +0000 (15:37 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:37 +0000 (19:08 +0530)
commitda4a2395c2ca909f0f23de745f8f62e0720cef13
treef734dd7c950af8d373d21c5e79c9e08ab2df7a53
parente4ce1fd08a525bee543bb529f70c590f11ab61b0
error: BR/EDR and LE connection failure reasons

The source of Connect() failures can be divided into the following
three.
- bluetoothd's device interface state transition and profile state
  transition
- Kernel's L2CAP layer state transition
- Potential HCI error codes returned by the remote device

Reviewed-by: Alain Michaud <alainm@chromium.org>
Reviewed-by: Howard Chung <howardchung@google.com>
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/error.c
src/error.h