From c01e9cbd6b0ba67c9c934852cf656b36693806ad Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Mon, 18 May 2009 20:35:45 +0000 Subject: [PATCH] prepare link state machine --- src/hci.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/hci.h b/src/hci.h index e80618bb0..8a03d9691 100644 --- a/src/hci.h +++ b/src/hci.h @@ -99,12 +99,25 @@ typedef struct { const char *format; } hci_cmd_t; +typedef enum { + SEND_NEGATIVE_LINK_KEY_REQUEST = 1 << 0, + SEND_PIN_CODE_RESPONSE = 1 << 1 +} hci_connection_flags_t; + typedef struct hci_connection { + // linked list struct hci_connection * next; + + // remote side bd_addr_t address; hci_con_handle_t con_handle; + + // hci state machine + hci_connection_flags_t flags; + } hci_connection_t; + typedef struct { hci_transport_t * hci_transport;