348 Commits

Author SHA1 Message Date
Matthias Ringwald
3ce3a4ebf3 btstack_uart_block: allow to 'unset' a callback by setting it to NULL. Update code for freertos and embedded to implement this 2017-07-24 11:53:29 +02:00
Matthias Ringwald
0c2f495327 add missing BTSTACK_FILE tags 2017-07-21 22:10:37 +02:00
Matthias Ringwald
c573ae3327 freertos: fix typo in btstack_uart_block_freertos.c 2017-07-18 11:42:58 +02:00
Matthias Ringwald
4a76e901eb esp32/freertos: don't create thread for BTstack. make run_loop_execute block - same as all other ports 2017-07-14 11:28:02 +02:00
Matthias Ringwald
38f05a1521 btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation 2017-07-05 11:27:44 +02:00
Matthias Ringwald
828fd804b0 freertos: HAVE_FREERTOS_TASK_NOTIFICATION uses FreeRTOS Task Notifications from v8.2 to trigger run loop 2017-07-04 19:43:02 +02:00
Matthias Ringwald
ee6b16138c test: fix compile. libusb: fix warning 2017-07-04 17:38:30 +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
19830e3fd9 daemon: fix warnings 2017-06-15 14:32:52 +02:00
Matthias Ringwald
609709dad2 /btstack_tlv_flash_sector: fix valid tlv storage detection for bank 0 2017-06-06 12:05:03 +02:00
Matthias Ringwald
d9f53676a5 test/flash_tlv: sort link key db using btstack_tlv on top of hal_flash_sector into main folders 2017-06-05 11:52:35 +02:00
Matthias Ringwald
70ba364580 introduce hal_audio_dma for dma-driven audio playback 2017-06-02 11:07:00 +02:00
Matthias Ringwald
13e71c7bf4 wiced: add le_device_db_wiced_dct to store LE pairing info in DCT 2017-05-30 13:54:20 +02:00
Matthias Ringwald
85447f545f wiced: add btstack_link_key_db_wiced_dct_get_storage_size for Classic Link Key DB 2017-05-30 13:54:04 +02:00
Matthias Ringwald
b570940d6e btstack_stdin: implement btstack_stdin_embedded.c that relies on new hal_stdin.h to receive console characters 2017-05-27 22:07:37 +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
Milanka Ringwald
b0920f2551 fix warnings in bluedroid and avdtp 2017-05-27 17:39:23 +02:00
Matthias Ringwald
13c10a34b0 fix wanring 'unreachable statement' 2017-05-18 18:24:18 +02:00
Matthias Ringwald
9786b3a9cd libusb: make iso_packet_size_for_alt_setting private 2017-05-18 15:15:46 +02:00
Matthias Ringwald
8838c9457b esp32: avoid compile error in freertos support as xEventGroupSetBitsFromISR is not defined, but not needed on esp32 2017-05-15 18:06:55 +02:00
Matthias Ringwald
3b1180c97a freertos: fix error message when xEventGroupSetBitsFromISR not defined, actually use it 2017-05-15 18:06:10 +02:00
Matthias Ringwald
92f3d82f1e freertos: show error if INCLUDE_xEventGroupSetBitFromISR is not set 2017-05-09 09:22:06 +02:00
Matthias Ringwald
f953952c6e esp32: add new set_wakeup_handler to btstack uart block freertos 2017-05-05 15:20:31 +02:00
Matthias Ringwald
7d5f53998d esp32: drop single_threaded attribute from function names 2017-05-05 15:20:31 +02:00
Matthias Ringwald
7ef3b0106f freertos: use data source for btstack_uart_block_freertos_single_threaded.c 2017-05-05 15:20:31 +02:00
Matthias Ringwald
1ca802329b freertos: add support for polled data sources 2017-05-05 15:20:31 +02:00
Matthias Ringwald
40ad9be2e8 freertos: wait on event group insted of queue 2017-05-05 15:20:31 +02:00
Matthias Ringwald
612e8fb6c9 freertos: use ISR version of btstack_run_loop_freertos_single_threaded_execute_code_on_main_thread 2017-05-05 15:20:31 +02:00
Matthias Ringwald
6503ab8282 freertos: provide btstack_uart_block_freertos_single_threaded.c 2017-05-05 15:20:31 +02:00
Matthias Ringwald
9345322f0e esp32: temp increase run loop queue size 2017-05-05 15:20:31 +02:00
Matthias Ringwald
0c9c335123 esp32: increase stack to 3072 2017-05-05 15:20:31 +02:00
Matthias Ringwald
17b3e0b8c9 esp32: use dedicated thread for btstack, fix run loop crash 2017-05-05 15:20:31 +02:00
Matthias Ringwald
3534659c26 esp32: follow update of esp-idf 2017-05-05 15:20:31 +02:00
Matthias Ringwald
75932a001c esp32: started on FreeRTOS/Single Threaded integration 2017-05-05 15:20:31 +02:00
Matthias Ringwald
0489d9babb btstack_uart_block/embedded: document sleep modes 2017-05-04 11:28:36 +02:00
Matthias Ringwald
e25b4a2f90 wiced: move common files into platform/wiced 2017-05-02 19:06:57 +02:00
Matthias Ringwald
224203d84a btstack_uart_block/embedded: support sleep 2017-05-02 00:22:41 +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
851e09fd8a add missing field initializers in hci transport h4 (ehcill) embedded 2017-03-01 10:16:58 +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
5a97f1ba9b winusb: dynamically pick alt setting based on voice settings and num connections 2017-01-23 23:08:33 +01:00
Matthias Ringwald
c6ac61cddc winusb: switch to alt setting #1 in usc_sco_start and back to #0 in usb_sco_stop 2017-01-23 22:27:04 +01:00