mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-28 08:37:22 +00:00
esp32: enable SCO over HCI
This commit is contained in:
parent
8701c8427c
commit
d72415a4a7
@ -21,6 +21,7 @@
|
||||
#define ENABLE_LE_SECURE_CONNECTIONS
|
||||
// ESP32 supports ECDH HCI Commands, but micro-ecc lib is already provided anyway
|
||||
#define ENABLE_MICRO_ECC_FOR_LE_SECURE_CONNECTIONS
|
||||
#define ENABLE_SCO_OVER_HCI
|
||||
#define ENABLE_LOG_ERROR
|
||||
#define ENABLE_LOG_INFO
|
||||
// #define ENABLE_LOG_DEBUG
|
||||
|
@ -245,6 +245,11 @@ static int transport_open(void){
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifdef ENABLE_SCO_OVER_HCI
|
||||
ret = esp_bredr_sco_datapath_set(ESP_SCO_DATA_PATH_HCI);
|
||||
log_info("transport: configure SCO over HCI, result 0x%04x", ret);
|
||||
#endif
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user