181 Commits

Author SHA1 Message Date
Matthias Ringwald
90af00b83e posix/wav_util: reset wav file pointer after closing it 2021-04-13 09:55:55 +02:00
Matthias Ringwald
2d66e7972b btstack_audio_portaudio: fix automatic close stream for sink 2021-03-31 18:02:18 +02:00
Bjoern Hartmann
8300a979e2 posix: check if file was opened successfully 2021-03-25 22:13:10 +01:00
Matthias Ringwald
128d6c999a hci_dump: full rewrite, provide platform-specific implementations for posix and embedded platforms 2021-03-11 15:53:45 +01:00
Matthias Ringwald
1738838cad btstack_uart_posix: set parity 2021-03-08 18:43:55 +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
075edf12f9 btstack_run_loop_posix: use run loop base (code) 2021-03-05 11:46:58 +01:00
Matthias Ringwald
0894b823ac posix: btstack_uart_posix replaces btstack_uart_block_posix 2021-03-03 09:43:26 +01:00
Matthias Ringwald
f2cb8f201d posix: add SLIP-enabled btstack_uart_posix 2021-03-03 09:40:46 +01:00
Matthias Ringwald
9233108786 btstack_uart_block_posix: drain output before changing baud rate 2021-02-27 22:56:10 +01:00
Matthias Ringwald
09df0413c0 posix: add implementation of btstack_sco_transport for i2s test bridge 2021-02-22 12:23:36 +01:00
Matthias Ringwald
cb5a7fc3c5 posix: enumerate timers in in btstack_run_loop_posix_dump_timer 2020-11-16 21:19:05 +01:00
Milanka Ringwald
e0d13a1902 avoid warning for set but unused variables when log_info and log_error are disabled 2020-10-27 14:34:31 +01:00
Matthias Ringwald
4129d206a9 btstack_tlv_posix: add btstack_tlv_posix_deinit 2020-08-26 11:55:15 +02:00
Matthias Ringwald
4795fc1ab4 test/hfp: fix compile 2020-07-01 15:05:40 +02:00
Matthias Ringwald
1a551b1b77 btstack_audio_portaudio: minimal volume control by multiplying samples with volume^4 2020-06-26 17:40:30 +02:00
Matthias Ringwald
1b7f8fa10e btstack_audio: add set_volume() to sink and set_gain() to source interfaces (nop implementations for portaudio and embedded) 2020-06-26 15:12:53 +02:00
Matthias Ringwald
39f043d5d3 btstack_tlv_posix: only keep last value in memory, fix delete operation 2020-01-30 11:43:44 +01: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
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