Bluetooth: Host: Move HCI error codes to its own header

Move the HCI error codes to its own public API header since these
status codes are given in the connection callbacks (connected and
disconnected). This avoids the conn.h header file to depend on the
entire HCI header file.

Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
Joakim Andersson 2019-10-16 12:16:40 +02:00 committed by Carles Cufí
commit e53ee2d383
3 changed files with 64 additions and 42 deletions

View file

@ -20,7 +20,7 @@
#include <stdbool.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_err.h>
#include <bluetooth/addr.h>
#ifdef __cplusplus