103 Commits

Author SHA1 Message Date
Matthias Ringwald
5ea446fa57 implement stdin_support for Windows 2016-11-30 15:27:50 +01:00
Matthias Ringwald
a1dc4edb43 stdin: add btstack_stdin_read() and use in examples 2016-11-30 11:29:55 +01:00
Matthias Ringwald
d198cb2001 stdin: drop unused blocking helper functions btstack_stdin_query_int and btstack_stdin_query_hex 2016-11-30 11:10:13 +01:00
Milanka Ringwald
db2b9aad81 hfp test: cleanup data folder, remove printf 2016-11-16 13:01:05 +01:00
Matthias Ringwald
35fd3fb9bc sco_util: move sine generation into sco_util 2016-11-11 14:06:23 +01:00
Matthias Ringwald
e690b6a5e4 posix: use IOSSIOSPEED ioctl on OS X to set speed - allows for max baud rates 2016-10-21 23:31:28 +02:00
Milanka Ringwald
fbc7c9f2bc sco utils: use wav util 2016-09-19 14:40:47 +02:00
Milanka Ringwald
abc9118691 refactoring wav utils 2016-09-14 17:30:47 +02:00
Matthias Ringwald
7c959318bb fix warnings related to potential loss of precision for integer conversions 2016-07-05 11:31:53 +02:00
Matthias Ringwald
f33ad81deb sm: add le_device_db_set_local_addr and call with local address 2016-06-27 15:58:58 +02:00
Matthias Ringwald
9ed01c3693 posix: add le_device_db_fs that stores db at /tmp/btstack_le_device_db.txt as basic csv 2016-06-27 15:20:16 +02:00
Matthias Ringwald
1890600882 link_key_db: use sizeof to compute buffer size at compile time 2016-06-07 10:05:49 +02:00
Matthias Ringwald
1624665a98 link_key_db: add set_local_bd_addr to be able to store link key pairs (local/remote). Use in posix fs link key db 2016-06-07 09:57:21 +02:00
Matthias Ringwald
18b8d0cbee btstack_uart_block: add get_supported_sleep_modes() and set_sleep(mode) 2016-04-26 17:29:24 +02:00
Matthias Ringwald
bd021c4e5b h4/h5: move platform independent implementations into core 2016-04-22 16:23:23 +02:00
Matthias Ringwald
643dd87f7c h4/h5: drop all references to POSIX 2016-04-22 16:19:05 +02:00
Matthias Ringwald
327a82080c posix: set fd in data source 2016-04-22 15:57:59 +02:00
Matthias Ringwald
084ad01c1a hci_transport/btstack_uart_block: create btstack_uart_block_embedded on top of hal_uart_dma. Pass in uart driver to H4/H5 instances 2016-04-20 23:18:15 +02:00
Matthias Ringwald
b300903afd btstack_uart_block_posix: inline btstack_uart_posix 2016-04-20 12:27:39 +02:00
Matthias Ringwald
b52fe0206e hci_transport_h4: general btstack_uart_block.h 2016-04-20 12:12:18 +02:00
Matthias Ringwald
895c53dde9 posix-h5: implement close 2016-04-19 22:17:50 +02:00
Matthias Ringwald
dbc7912665 posix-h4: use btstack_uart_posix 2016-04-19 22:16:58 +02:00
Matthias Ringwald
55c4d40957 uart: extract btstack_uart_posix_block implementation 2016-04-14 17:33:55 +02:00
Matthias Ringwald
502fb3624b uart: extract btstack_uart_block_t from h5 posix implementation 2016-04-14 17:23:26 +02:00
Matthias Ringwald
5776f225a3 h5: extract complete btstack_uart_block_t abstraction 2016-04-14 17:17:58 +02:00
Matthias Ringwald
3a187b038a h5: collect POSIX specific code 2016-04-14 14:57:57 +02:00
Matthias Ringwald
08e2303440 h5: order/rename functions 2016-04-14 14:41:56 +02:00
Matthias Ringwald
abd4d2eb21 btstack_uart_posix: add write really 2016-04-14 12:11:44 +02:00
Matthias Ringwald
6f3b19bc84 h5: switch to async writes 2016-04-14 12:11:19 +02:00
Matthias Ringwald
10e8808cc8 h5: send packets from hci_transport_link_run, use state var for actions 2016-04-14 11:59:16 +02:00
Matthias Ringwald
7205a54d7d h5: extract hci_transport_h5_process_read 2016-04-14 10:42:49 +02:00
Matthias Ringwald
200f5f4d16 hci_transport: add reset_link function 2016-04-13 18:18:50 +02:00
Matthias Ringwald
a6da1bb0db h5: enable even parity on posix if incorrect frame received 2016-04-13 16:50:36 +02:00
Matthias Ringwald
c7525ffc25 hci_transport_hX_posix: extract open into btstack_uart_posix 2016-04-13 14:51:48 +02:00
Matthias Ringwald
7aaf71bd93 hci_transport_hX_posix: extract open into btstack_uart_posix 2016-04-13 14:33:02 +02:00
Matthias Ringwald
c6a9a3658c hci_transport_hX_posix: extract set baudrate into btstack_uart_posix 2016-04-13 13:58:15 +02:00
Matthias Ringwald
88e0b3b2b2 posix: fix compile 2016-04-01 16:08:58 +02:00
Matthias Ringwald
615ae44436 posix: cleanup fast FTDI hack 2016-03-30 17:02:46 +02:00
Matthias Ringwald
d382f5313a fix compile 2016-03-30 15:06:15 +02:00
Matthias Ringwald
f316a84558 posix: use ms timeouts in run loop and also in hci.c 2016-03-30 15:03:26 +02:00
Matthias Ringwald
d0755cd68c prefix POSIX related HAVE_ defines 2016-03-30 10:59:47 +02:00
Matthias Ringwald
0cb5b9716d fix prototypes for fn() 2016-03-28 11:44:30 +02:00
Matthias Ringwald
fcb78cc1ab posix-h4: start sending immediately 2016-03-25 22:03:30 +01:00
Matthias Ringwald
8e28e4d320 hci_transport_posix_h4: implement async write 2016-03-24 23:41:21 +01:00
Matthias Ringwald
9120e843c2 runloop: implement data source callbacks for posix - also support write ready 2016-03-24 22:31:44 +01:00
Matthias Ringwald
0d70dd6280 runloop: pass enable/disable callbacks to run loop impl 2016-03-24 22:19:26 +01:00
Matthias Ringwald
24ced5a6f6 runloop: enable callback for all data sources 2016-03-24 22:12:50 +01:00
Matthias Ringwald
7cd5ef9557 runloop: pass callback type to data source process functions 2016-03-24 20:46:20 +01:00
Matthias Ringwald
c4ae7169b8 runloop: replace struct btstack_data_source with btstack_data_source_t 2016-03-24 20:26:16 +01:00
Matthias Ringwald
3a5c43eebf runloop: set data source fd by new setter 2016-03-24 20:04:14 +01:00