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.
This commit is contained in:
Jim Mussared
2020-04-07 15:02:52 +10:00
committed by Damien George
parent c987adb9e9
commit 7563d58210
8 changed files with 225 additions and 4 deletions

View File

@@ -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