examples: register hci event handler

This commit is contained in:
Matthias Ringwald 2016-09-30 09:48:26 +02:00
parent a895b9f0fd
commit 186bfbec4d
2 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,7 @@ static uint8_t negotiated_codec = HFP_CODEC_CVSD;
static hci_con_handle_t acl_handle = -1;
static hci_con_handle_t sco_handle;
static int memory_1_enabled = 1;
static btstack_packet_callback_registration_t hci_event_callback_registration;
static int ag_indicators_nr = 7;
static hfp_ag_indicator_t ag_indicators[] = {

View File

@ -80,6 +80,7 @@ static hci_con_handle_t sco_handle;
static uint8_t codecs[] = {HFP_CODEC_CVSD, HFP_CODEC_MSBC};
static uint16_t indicators[1] = {0x01};
static uint8_t negotiated_codec = HFP_CODEC_CVSD;
static btstack_packet_callback_registration_t hci_event_callback_registration;
char cmd;