Commit Graph

317 Commits

Author SHA1 Message Date
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
Matthias Ringwald
c4cea4ae2b winusb: extract usb_sco_[un]register_buffers, make sure to call after setting alternative setting 2017-01-23 22:01:35 +01:00
Matthias Ringwald
99fc8027cd winusb: seach for ios endpoints on interface #1, alt setting #1 2017-01-23 17:26:53 +01:00
Matthias Ringwald
a93756fc8a winusb: add iso packet sizes 2017-01-23 17:24:04 +01:00
Matthias Ringwald
b5ffb4cad6 winusb: start/stop sco transfers 2017-01-23 17:12:39 +01:00
Matthias Ringwald
b9227387ac winusb: extract usb_sco_start/usb_sco_stop 2017-01-23 16:56:32 +01:00
Matthias Ringwald
1b3ee5c3b1 winusb: track sco changes 2017-01-23 16:49:48 +01:00
Matthias Ringwald
f64229a083 libusb: use appropriate iso packet size for alternate setting 2017-01-20 22:26:57 +01:00
Matthias Ringwald
c6f9dc916d libusb: pick alt setting based on voice settings/num connections 2017-01-19 18:10:47 +01:00
Matthias Ringwald
2117d3a5b1 libusb: dynamically set alternate setting for interface #1 2017-01-19 17:55:42 +01:00
Matthias Ringwald
56e558dbc2 libusb: start/stop isochronous transfers when SCO connections change 2017-01-19 17:44:52 +01:00
Matthias Ringwald
ee752bb8db hci_transport: add set_sco_config and call when nr. of SCO connections changes 2017-01-19 17:05:43 +01:00
Matthias Ringwald
47184392b9 libusb: remove debug msg for sco cancel on shutdown 2017-01-19 14:09:28 +01:00
Matthias Ringwald
f34d119bfa libusb: use alternate setting 1 for now, add table for iso packet size for each alt setting 2017-01-19 12:12:25 +01:00
Matthias Ringwald
a8bdd0b781 windows-h4: add comment about USB driver internal buffers and SCO data 2017-01-16 22:43:37 +01:00
Matthias Ringwald
a508997d74 Merge branch 'develop' into windows-h4 2017-01-16 21:32:42 +01:00
Matthias Ringwald
19423ce79f winusb: fix compile without enable_sco_over_hci 2017-01-16 14:44:17 +01:00
Matthias Ringwald
eef5d8269f libusb: fix compile without sco over hci 2017-01-14 22:23:38 +01:00
Matthias Ringwald
e86b2fec6e embedded: handle timers when system_time overruns 2017-01-13 18:00:38 +01:00
Matthias Ringwald
ee73ad13c7 libusb: streamline names for different packet types and transfers 2017-01-11 10:29:27 +01:00
Matthias Ringwald
08dc2fad0e reduce buffers to 8 * 3 for incoming sco like with libusb 2017-01-10 15:31:26 +01:00
Matthias Ringwald
fdd329349c cleanup code 2017-01-10 12:20:18 +01:00
Matthias Ringwald
11cb6f2da3 winusb: basically working 2017-01-09 16:14:50 +01:00
Matthias Ringwald
83f31aa4d7 sco sending implemented but not working 2017-01-09 10:57:59 +01:00
Matthias Ringwald
f9644fc508 process transfers in correct order - use single active data source 2017-01-06 17:27:18 +01:00
Matthias Ringwald
f258f41689 tests to manually schedule transfers, try processing transfers in correct order 2017-01-06 16:59:51 +01:00
Matthias Ringwald
e29e1f07a3 also free ISO data buffers 2017-01-05 17:34:32 +01:00
Matthias Ringwald
cea08008b9 implement usb close 2017-01-05 17:28:25 +01:00
Matthias Ringwald
83159bb637 Probe all USB devices, check Class, SubClass, and Protocol 2017-01-05 17:10:20 +01:00
Matthias Ringwald
51a84de64a setup iso transfer after scanning for endpoints 2017-01-05 15:45:07 +01:00
Matthias Ringwald
988201648f scan for endpoints 2017-01-05 15:35:19 +01:00
Matthias Ringwald
5da690179b windows: USB implementation based on WinUSB 2017-01-04 21:59:26 +01:00