161 Commits

Author SHA1 Message Date
Matthias Ringwald
bd539f2b3e posix: fix warning 2019-10-05 12:09:05 +02:00
Matthias Ringwald
160fcf341f posix: assert timer is not already in list (only checks items until it finds correct position) 2019-10-04 11:28:02 +02:00
Matthias Ringwald
55846b97e4 btstack_tlv_posix: free entry on delete 2019-08-16 22:31:43 +02:00
Matthias Ringwald
92b78dd714 posix: use monotonic clock as timebase if available 2019-08-12 14:58:52 +02:00
Matthias Ringwald
b6fc147f78 posix: handle time_ms overrun after 49 days 2019-08-04 19:52:27 +02:00
Matthias Ringwald
7fdcb0b5b7 btstack_stdin_posix: fix unused result warning 2019-05-17 17:49:00 +02:00
Matthias Ringwald
2d3020e7ab btstack_tlv_posix: avoid fwrite with len = 0 and ptr = NULL 2019-05-16 15:10:55 +02:00
Matthias Ringwald
4f7ec9205a posix: fix compile for linux again (regression from 766df38f0f) 2019-05-11 22:34:00 +02:00
Matthias Ringwald
766df38f0f posix: fix includes in btstack_network_posix.c for freebsd 2019-05-11 22:24:44 +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
d14ceebfc8 le_device_db: return BD_ADDR_TYPE_UNKNOWN if device unknown in posix_fs, wiced, and memory implementations 2019-05-01 20:27:11 +02:00
Matthias Ringwald
bc8e805046 posix: close fd on network down 2019-04-26 16:09:35 +02:00
Matthias Ringwald
0c26301252 Revert "posix: close fd on network down"
This reverts commit 8c0c8f9f17087b31bd9c14cc2b5d85c276f756de.
2019-04-26 16:07:57 +02:00
Matthias Ringwald
8c0c8f9f17 posix: close fd on network down 2019-04-25 18:33:42 +02:00
Matthias Ringwald
3dc3a67de7 le_device_db: add secure connection field 2019-03-06 12:58:53 +01:00
Matthias Ringwald
3abb6826ec portaudio: use correct sink/source in init 2019-03-04 15:24:48 +01:00
Matthias Ringwald
df991ce921 portaudio: use correct sink/source in start stream 2019-03-04 14:44:43 +01:00
Matthias Ringwald
bcd517299d portaudio: handle different number of channels for sink/source 2019-02-27 12:48:24 +01:00
Matthias Ringwald
1faf5e5562 portaudio: fix second init 2019-02-26 18:46:32 +01:00
Matthias Ringwald
24cc6ccc6d portaudio: cleanup debug output, don't try closing twice 2019-02-24 18:37:06 +01:00
Matthias Ringwald
1247fb8f7c portaudio: fix compile 2019-02-24 15:07:39 +01:00
Matthias Ringwald
3d3351f352 portaudio: split audio interface 2019-02-24 13:04:39 +01:00
Matthias Ringwald
d14da541e3 posix: use correct baudrate enums for baud rates higher than 921600 (linux) 2019-01-19 21:58:56 +01:00
Matthias Ringwald
6ecd409b9d posix/le_device_db_fs: fix EOF detection reading db 2018-11-26 21:37:20 +01:00
Matthias Ringwald
c77e7c454e initialze other malloc'ed memory 2018-11-23 18:02:27 +01:00
Matthias Ringwald
6b2d59ef27 posix: flush tlv file after write 2018-08-24 14:33:40 +02:00
Matthias Ringwald
a89df2dffc btstack_audio: implementation for PortAudio 2018-07-20 16:08:42 +02:00
Matthias Ringwald
398a95ec8e run_loop: avoid anonymous union 2018-07-05 23:07:52 +02:00
Matthias Ringwald
6138850c18 fix 'no newline at end of file' [-Wnewline-eof] 2018-07-05 22:19:19 +02:00
Matthias Ringwald
6fc9dda195 le_device_db: add le_device_db_max_count() for index iteration 2018-03-15 16:25:59 +01:00
Matthias Ringwald
d622dcd08a test: fix compile 2018-02-05 18:46:26 +01:00
Matthias Ringwald
d08566fb6e posix: implement link key iterator for btstack_link_key_db_fs 2018-02-05 18:25:10 +01:00
Milanka Ringwald
74c22f758c wav writter: check if wav file exists, prevent access to NULL pointer 2017-12-22 23:50:42 +01:00
Matthias Ringwald
539b14edca le_device_db_fs, le_device_db_tlv: reset memory for new device 2017-11-21 16:25:50 +01:00
Matthias Ringwald
70c9bf0392 posix: fix compile error in tlv implemenation 2017-11-09 12:32:56 +01:00
Matthias Ringwald
84693d68c6 network: fix compile, add btstack_network_get_name 2017-11-07 22:10:15 +01:00
Matthias Ringwald
f7ab42a59a network: extract POSIX network code into btstack_network_posix and use in panu_demo 2017-11-07 19:43:12 +01:00
Matthias Ringwald
4b7565a250 posix: avoid crash when data source is removed and fd set to -1 2017-11-07 12:30:13 +01:00
Matthias Ringwald
f61cf6aae2 btstack_tlv_posix: fix compile 2017-10-23 16:39:58 +02:00
Matthias Ringwald
d1700513b5 btstack_tlv_posix: basic implementation that keeps all entries in RAM but persists new entries to disk 2017-10-23 14:24:19 +02:00
Matthias Ringwald
f7ceae3115 btstack_uart_block_posix: report read/write errors and read/write of zero bytes 2017-10-12 10:30:06 +02:00
Matthias Ringwald
79d9f1ed77 posix: only get/set options once for open 2017-07-25 21:22:16 +02:00
Matthias Ringwald
cde6b088be posix: implement set_flowcontrol in btstack_uart_block interface 2017-07-25 19:42:12 +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
58044c3948 posix/btstack_link_key_db_fs_instance: only btstack_link_key_db_fs_instance is public 2017-06-30 08:17:09 +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