diff --git a/port/esp32/template/components/btstack/include/btstack_config.h b/port/esp32/template/components/btstack/include/btstack_config.h index 83dd057e6..558517cfc 100644 --- a/port/esp32/template/components/btstack/include/btstack_config.h +++ b/port/esp32/template/components/btstack/include/btstack_config.h @@ -40,7 +40,13 @@ // // HCI Controller to Host Flow Control -#define ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL +// +// Needed on the ESP32, but not working yet +// see https://github.com/espressif/esp-idf/issues/480 +// +// #define ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL + +// Interal ring buffer #define HCI_HOST_ACL_PACKET_NUM 10 #define HCI_HOST_ACL_PACKET_LEN 1024 #define HCI_HOST_SCO_PACKET_NUM 10 diff --git a/port/esp32/template/components/btstack/main.c b/port/esp32/template/components/btstack/main.c index 220db0534..a6205fcb5 100644 --- a/port/esp32/template/components/btstack/main.c +++ b/port/esp32/template/components/btstack/main.c @@ -301,7 +301,8 @@ static void packet_handler (uint8_t packet_type, uint16_t channel, uint8_t *pack static void btstack_setup(void){ - hci_dump_open(NULL, HCI_DUMP_STDOUT); + // enable packet logger + // hci_dump_open(NULL, HCI_DUMP_STDOUT); /// GET STARTED with BTstack /// btstack_memory_init();