summaryrefslogtreecommitdiff
path: root/extmod/btstack/btstack_config.h
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2020-04-07 15:02:52 +1000
committerDamien George <damien.p.george@gmail.com>2020-04-29 16:45:46 +1000
commit7563d582100d7947eb61960c9116c8fc10f1e996 (patch)
treef7f3884fa8f98b012c8ffa8814d8ea5c46ae9511 /extmod/btstack/btstack_config.h
parentc987adb9e938dbcb1a50e7b0947913c4e37e0943 (diff)
unix: Add support for modbluetooth and BLE using btstack.
This commit adds full support to the unix port for Bluetooth using the common extmod/modbluetooth Python bindings. This uses the libusb HCI transport, which supports many common USB BT adaptors.
Diffstat (limited to 'extmod/btstack/btstack_config.h')
-rw-r--r--extmod/btstack/btstack_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/extmod/btstack/btstack_config.h b/extmod/btstack/btstack_config.h
index 0976bbe72..f420f47a5 100644
--- a/extmod/btstack/btstack_config.h
+++ b/extmod/btstack/btstack_config.h
@@ -41,4 +41,7 @@
// BTstack HAL configuration
#define HAVE_EMBEDDED_TIME_MS
+// Some USB dongles take longer to respond to HCI reset (e.g. BCM20702A).
+#define HCI_RESET_RESEND_TIMEOUT_MS 1000
+
#endif // MICROPY_INCLUDED_EXTMOD_BTSTACK_BTSTACK_CONFIG_H