From 577ca2d3baed31b9f7d07c12200050c780fb3452 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 3 Oct 2016 17:07:43 +0200 Subject: [PATCH] hci: skip write synchronous flow control enable and write default erroneos data reporting if commands not supported --- src/hci.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hci.h b/src/hci.h index cdb2dfeef..5de837c2b 100644 --- a/src/hci.h +++ b/src/hci.h @@ -495,6 +495,7 @@ typedef enum hci_init_state{ HCI_INIT_WRITE_SCAN_ENABLE, HCI_INIT_W4_WRITE_SCAN_ENABLE, + // SCO over HCI HCI_INIT_WRITE_SYNCHRONOUS_FLOW_CONTROL_ENABLE, HCI_INIT_W4_WRITE_SYNCHRONOUS_FLOW_CONTROL_ENABLE, HCI_INIT_WRITE_DEFAULT_ERRONEOUS_DATA_REPORTING, @@ -611,6 +612,8 @@ typedef struct { /* local supported commands summary - complete info is 64 bytes */ /* 0 - read buffer size */ /* 1 - write le host supported */ + /* 2 - Write Synchronous Flow Control Enable (Octet 10/bit 4) */ + /* 3 - Write Default Erroneous Data Reporting (Octect 18/bit 3) */ uint8_t local_supported_commands[1]; /* bluetooth device information from hci read local version information */