Commit Graph

195 Commits

Author SHA1 Message Date
Matthias Ringwald
d762ae9adc posix: remove accidental debug output 2022-02-05 23:15:33 +01:00
Matthias Ringwald
4437baf628 posix: fix RTS/CTS configuration by keeping local termios copy 2022-02-05 23:10:35 +01:00
Matthias Ringwald
c78b4f699d btstack_posix_tlv: use max value size of 2048, assert if size is larger in store 2021-11-20 20:34:09 +01:00
Milanka Ringwald
2fca4dad95 license: update text 2021-11-02 09:31:00 +01:00
Matthias Ringwald
9e6ecc42e2 Fix warnings 2021-10-21 22:17:24 +02:00
Matthias Ringwald
894c930c47 btstack_portaudio: fix unused variables warning 2021-10-08 10:36:45 +02:00
Matthias Ringwald
783a8debb9 posix: avoid use-after-free in signal handler 2021-07-18 14:14:41 +02:00
Matthias Ringwald
970469cf7e posix: support for handling POSIX signals 2021-07-05 16:10:05 +02:00
Matthias Ringwald
90d4f18637 btstack_run_loop_posix: implement poll_data_sources_from_irq 2021-07-02 16:51:58 +02:00
Matthias Ringwald
41158b7431 btstack_run_loop_posix: implement execute on main thread 2021-07-02 16:51:58 +02:00
Matthias Ringwald
2e357f7a2f btstack_run_loop_posix: implement trigger exit 2021-07-02 16:51:58 +02:00
Matthias Ringwald
eb0d557942 hci_dump: define HCI_DUMP_MAX_MESSAGE_LEN for use in POSIX implementation 2021-06-25 18:28:32 +02:00
Matthias Ringwald
9620d15fc7 hci_dump_posix_fs: add HCI_DUMP_BTSNOOP 2021-06-25 11:34:49 +02:00
Matthias Ringwald
21a309a4d7 posix/le_device_db_fs: fix db read from file 2021-06-21 15:33:53 +02:00
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 8c0c8f9f17.
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