Commit Graph

63 Commits

Author SHA1 Message Date
Matthias Ringwald
d34d17d7a7 btstack_run_loop_windows: implement poll_data_sources_from_irq 2021-07-02 16:51:58 +02:00
Matthias Ringwald
5bea0138e2 btstack_run_loop_windows: implement execute on main thread 2021-07-02 16:51:58 +02:00
Matthias Ringwald
82b879d843 btstack_run_loop_windows: implement trigger exit 2021-07-02 16:51:58 +02:00
Matthias Ringwald
c8dfe071e5 hci_transport: extract convenience function declaration for h4, h5, em9304_spi, and usb into separate hci_transport_{type}.h 2021-03-26 11:51:57 +01:00
Matthias Ringwald
cf159062a6 btstack_uart: add NULL for SLIP function in existing uart implementations (avoid warnings) 2021-03-10 10:03:58 +01:00
Matthias Ringwald
9f1d8eee3d remove btstack_run_loop_base.h include from run loop implementations and tests 2021-03-08 10:45:31 +01:00
Matthias Ringwald
a9efd76d35 btstack_run_loop_windows: remove unused vars, use base for add/remove data source 2021-03-07 17:49:31 +01:00
Matthias Ringwald
dfbf4e35dd btstack_run_loop_windows: use run loop base (code) 2021-03-05 11:49:44 +01:00
Matthias Ringwald
9c30c2b3e9 hci usb: update list of known devices for libusb and winusb 2021-03-05 09:59:51 +01:00
Matthias Ringwald
eec4d6c63c windows: fix test in usb_close 2020-08-24 17:43:52 +02:00
Matthias Ringwald
e58afcb452 btstack_uart_block_windows: allow to call open again 2020-07-16 16:20:41 +02:00
Matthias Ringwald
ff3cc4a537 MISRAC2012-Rule-14.4_d: use while(true) instead of while(1) 2019-12-03 12:52:10 +01:00
Matthias Ringwald
d58a1b5f11 linked list/run loop: return true if item/data source/timer was removed 2019-11-27 18:23:11 +01:00
Matthias Ringwald
f885e026a0 windows: remove unused POSIX includes 2019-10-21 17:06:19 +02:00
Matthias Ringwald
2e331c2584 windows: handle time_ms overrun after 49 days 2019-08-04 20:15:26 +02:00
Matthias Ringwald
e501bae083 Use BTSTACK_FILE__ without __ prefix (MISRAC2012-Rule-21.1) 2019-05-11 19:31:55 +02:00
Matthias Ringwald
80e33422a9 Use FILENAME_H as include guard (MISRAC2012-Rule-21.1) 2019-05-11 19:08:52 +02:00
Matthias Ringwald
d2b52257dc libusb/winusb: track open/close state 2018-09-24 09:59:04 +02:00
Matthias Ringwald
1b5d2ea069 winusb: fix compile warning 2018-09-21 16:15:58 +02:00
Matthias Ringwald
507db03762 winusb: on acl read error, reset pipe and resubmit transfer 2018-09-21 08:37:39 +02:00
zhadaolong
c4a8fd4568 run_loop_windows timeout_ms type 2018-09-03 11:15:37 +08:00
Matthias Ringwald
661115ee91 winusb: log messages during usb_close 2018-08-30 17:16:58 +02:00
Matthias Ringwald
b43fd83de0 windows:f ix compile -> named union on btstack_data_source_t 2018-08-10 23:03:38 +02:00
Matthias Ringwald
398a95ec8e run_loop: avoid anonymous union 2018-07-05 23:07:52 +02:00
Milanka Ringwald
784eb10cc7 windows-winusb: ignore virtual Bluetooth adapter provided by VMware (compile fix) 2018-07-02 15:08:47 +02:00
Milanka Ringwald
9d31f827ed windows-winusb: ignore virtual Bluetooth adapter provided by VMware 2018-07-02 14:59:29 +02:00
Matthias Ringwald
bc71fcbb5e libusb/windows-winusb: add BCM20702B0 2018-06-20 12:09:41 +02:00
Matthias Ringwald
5b81efe293 windows: repeat UART read/write operation if not all bytes have been read or written 2018-01-04 17:21:25 +01:00
Matthias Ringwald
c4218671d7 windows-winusb: fix compile without ENABLE_SCO_OVER_HCI 2017-12-18 21:22:20 +01:00
Matthias Ringwald
ecf76c8d4f windows-winusb: prefix isochronous functions and types with BTstack/BTSTACK to avoid name collisions, support device whitelist 2017-08-07 14:39:35 +02:00
Matthias Ringwald
6b7504f2db windows: fix compile 2017-07-26 16:11:57 +02:00
Matthias Ringwald
6ae5f6886d windows: support set_flowcontrol 2017-07-25 21:29:11 +02:00
Matthias Ringwald
4b929998c3 btstack_uart_block: add set_flowcontrol 2017-07-25 17:53:01 +02:00
Matthias Ringwald
b7832c7f15 btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation 2017-07-04 15:27:27 +02:00
Matthias Ringwald
95a8ee01a4 btstack_stdin: provide console input in callback 2017-05-27 21:50:39 +02:00
Matthias Ringwald
7ea7688a8f btstack_stdin: replace stdin_support.[ch] with btstack_stdin.h and platform implementations 2017-05-27 21:50:19 +02:00
Matthias Ringwald
c3dafd4604 btstack_uart_block: add set_wakeup_handler to allow wake up notifications 2017-05-01 18:13:51 +02:00
Matthias Ringwald
ab2c6ae4b7 tool: add update_filename.py that adds __BTSTACK_FILE__ to every .c file for use with debug output instead of __FILE__ 2017-03-24 23:39:20 +01:00
Matthias Ringwald
5a97f1ba9b winusb: dynamically pick alt setting based on voice settings and num connections 2017-01-23 23:08:33 +01:00
Matthias Ringwald
c6ac61cddc winusb: switch to alt setting #1 in usc_sco_start and back to #0 in usb_sco_stop 2017-01-23 22:27:04 +01:00
Matthias Ringwald
c4cea4ae2b winusb: extract usb_sco_[un]register_buffers, make sure to call after setting alternative setting 2017-01-23 22:01:35 +01:00
Matthias Ringwald
99fc8027cd winusb: seach for ios endpoints on interface #1, alt setting #1 2017-01-23 17:26:53 +01:00
Matthias Ringwald
a93756fc8a winusb: add iso packet sizes 2017-01-23 17:24:04 +01:00
Matthias Ringwald
b5ffb4cad6 winusb: start/stop sco transfers 2017-01-23 17:12:39 +01:00
Matthias Ringwald
b9227387ac winusb: extract usb_sco_start/usb_sco_stop 2017-01-23 16:56:32 +01:00
Matthias Ringwald
1b3ee5c3b1 winusb: track sco changes 2017-01-23 16:49:48 +01:00
Matthias Ringwald
ee752bb8db hci_transport: add set_sco_config and call when nr. of SCO connections changes 2017-01-19 17:05:43 +01:00
Matthias Ringwald
a8bdd0b781 windows-h4: add comment about USB driver internal buffers and SCO data 2017-01-16 22:43:37 +01:00
Matthias Ringwald
19423ce79f winusb: fix compile without enable_sco_over_hci 2017-01-16 14:44:17 +01:00
Matthias Ringwald
08dc2fad0e reduce buffers to 8 * 3 for incoming sco like with libusb 2017-01-10 15:31:26 +01:00