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
Matthias Ringwald
ca98ec55e1
posix/uart: wait 100 ms after opening serial port
2017-04-26 11:55:25 +02:00
Matthias Ringwald
fd19b115ee
posix: allow to configure LINK_KEY_PATH and LE_DEVICE_DB_PATH
2017-04-03 14:32:33 +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
Milanka Ringwald
747ec64600
a2dp: avdtp source sends sbc frames at constant speed
...
a2dp: introduce context, move common code to avdtp.c
a2dp: wrap source functionality
a2dp: enable packet handler
a2dp: draft implemetation source open stream
avrcp: add streaming connection opened/released events
avdtp source: introduce timer for storing audio data at const fr., encode into sbc, and prepare for sending
wav_util: fix return of wav_reader_read_int16
sbc: rename sbc to msbc test
sbc: improve usage output
sbc: fix makefile
sbc: remove hardcoded bitrate
avdtp: add encode/decode sine example without using ring buffer
avdtp: move ring buffer to stream endpoint
avdtp: add encode/decode test with ring buffer
sbc: use btstack_sbc_encoder_num_audio_frames - 1 audio frame contains 1 audio sample for mono and 2 for stereo
sbc: use btstack_sbc_encoder_num_audio_frames - 1 audio frame contains 1 audio sample for mono and 2 for stereo
sbc: revert sample counting
avdtp: source sending correct audio first time
avdtp: shorter timer for audio generation gets correct stream
avdtp: set state to AVDTP_STREAM_ENDPOINT_STREAMING_W2_SEND when more data is ready
avdtp: introduce transport category as mandatory
avdtp: introduce transport category as mandatory
2017-03-20 11:43:41 +01:00
Matthias Ringwald
eda85fbfc3
sm: don't store info for signed writes without ENABLE_LE_SIGNED_WRITE
2017-02-11 22:26:34 +01:00
Matthias Ringwald
7f812a1893
wav_util: annotate wav_reader_read_int16 to store in host endianess
2017-01-27 12:08:59 +01:00
Matthias Ringwald
92abe7b913
wav_util: wav_writer_write_int16 expects samples in host endianess, wav_writer_write_le_int16 expected little endian format
2017-01-26 22:00:02 +01:00
Matthias Ringwald
9419a14f96
windows: store link key in current dir instead of /tmp
2016-12-02 17:45:38 +01:00
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