6726 Commits

Author SHA1 Message Date
Milanka Ringwald
85a0c7cd62 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-23 22:28:03 +01:00
Matthias Ringwald
d2eba9d1c5 hfp: ENABLE_HFP_WIDE_BAND_SPEECH required for HFP mSBC 2017-03-23 22:28:03 +01:00
Matthias Ringwald
52aef63f9c events: add params for BTSTACK_EVENT_NR_CONNECTIONS_CHANGED 2017-03-23 22:28:03 +01:00
Matthias Ringwald
75c2bb6417 hci: fix compile 2017-03-23 22:28:03 +01:00
Matthias Ringwald
c5bccd71ca hci: reduced incoming prebuffer to 0 for LE-only, and outgoing to 0 if HAVE_HOST_CONTROLLER_API defined 2017-03-23 22:28:03 +01:00
Matthias Ringwald
d200c10271 l2cap: reduce minimal HCI_ACL_PAYLOAD_SIZE to 27 for LE only 2017-03-23 22:28:02 +01:00
Matthias Ringwald
262fedb80e hci: mark hci_write_local_name as Classic only, hci_le_generate_dhkey depend on HAVE_HCI_CONTROLLER_DHKEY_SUPPORT, reduce HCI Command Buffer size for LE only 2017-03-23 22:28:02 +01:00
Matthias Ringwald
f1b34e8dd9 pbap: add Phone Book Access Client (PBAP) over General Object Exchange (GOEP)
create RFCOMM connection
send OBEX Connect and receive response
retrieve phone book
repeat GET request when response incomplete
start extracting goep_client.h
support CONNECT message
support GET message
add obex_iterator
use obex_iterator
goep_client adds connection_id if available
avoid accessing internal goep state from pbap
start extracting pbap_client.h
events: add meta events and data packet types for GOEP and PBAP
use events and data packet type for goep
use events and data packet type for pbap
remove private fields from GOEP_SUBEVENT_CONNECTION_OPENED
implement SetPhoneBook
return cid in connect operations, return errors if busy, return obex errors
limit OBEX packet size by bearer MTU
split into obex.h, goep_client.h, goep_client.c, pbap_client.h, pbab_client.c
fix state after pull phonebook
add console UI for testing
clean up code
provide packet_handler in create connection for pbap_client and goep_client
annotate headers for goep_client and pbap_client
2017-03-23 22:27:59 +01:00
Milanka Ringwald
9344e45fa0 avdpt: performance test for encoder, decoder 2017-03-20 17:03:46 +01:00
Milanka Ringwald
3f8ff0dcb6 avdtp: source sends audio at const. speed 2017-03-20 16:27:24 +01:00
Milanka Ringwald
25b97bfab2 avdtp: fix compile 2017-03-20 11:53:08 +01:00
Milanka Ringwald
e6a4f9ede0 avdtp source: fix compile 2017-03-20 11:49:14 +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
1bbecc2b49 hfp: ENABLE_HFP_WIDE_BAND_SPEECH required for HFP mSBC 2017-03-20 10:59:17 +01:00
Matthias Ringwald
723a9de2e2 events: add params for BTSTACK_EVENT_NR_CONNECTIONS_CHANGED 2017-03-12 21:21:16 +01:00
Matthias Ringwald
fe53f27bc6 hci: fix compile 2017-03-12 21:09:15 +01:00
Matthias Ringwald
689a7eb932 hci: reduced incoming prebuffer to 0 for LE-only, and outgoing to 0 if HAVE_HOST_CONTROLLER_API defined 2017-03-12 21:03:36 +01:00
Matthias Ringwald
b5a7c9b3d5 l2cap: reduce minimal HCI_ACL_PAYLOAD_SIZE to 27 for LE only 2017-03-12 20:59:44 +01:00
Matthias Ringwald
f9f2075cea hci: mark hci_write_local_name as Classic only, hci_le_generate_dhkey depend on HAVE_HCI_CONTROLLER_DHKEY_SUPPORT, reduce HCI Command Buffer size for LE only 2017-03-12 20:59:44 +01:00
Matthias Ringwald
bfb465b059 examples: enable Active Scanning in gap_le_advertisements 2017-03-08 17:22:55 +01:00
Matthias Ringwald
429122cc10 hci: log actual and used ACL buffer sizes 2017-03-07 16:17:29 +01:00
Matthias Ringwald
1f8d704626 h5: don't require post buffer anymore 2017-03-03 13:51:26 +01:00
Matthias Ringwald
c65ae2a0ed h5: fix corruption of outgoing fragmented ACL packets. 2017-03-03 12:24:27 +01:00
Matthias Ringwald
f7d194e559 h5: use correct scope for temp control message buffer 2017-03-03 12:24:27 +01:00
Matthias Ringwald
d9d230549a use log_debug for 'can send now' events 2017-03-02 16:48:13 +01:00
Milanka Ringwald
be32e7f162 avrcp: promote avrcp to src/classic folder 2017-03-01 16:17:03 +01:00
Milanka Ringwald
15fddeb817 avrcp: remove debug info for now playing event 2017-03-01 16:05:42 +01:00
Milanka Ringwald
6eb7ba29da avrcp: events definition 2017-03-01 16:01:50 +01:00
Milanka Ringwald
2ee51a9031 avrcp: print new line 2017-03-01 16:01:50 +01:00
Milanka Ringwald
1e1e0942d6 avrcp: added missing event 2017-03-01 16:01:49 +01:00
Matthias Ringwald
e222d6a026 avrcp: reorder fields in AVRCP_SUBEVENT_NOW_PLAYING_INFO, extend event generator to handle multiple variable length fields 2017-03-01 16:01:49 +01:00
Milanka Ringwald
f9a34d7a00 avrcp: play now event 2017-03-01 16:01:49 +01:00
Milanka Ringwald
8da210c895 avrcp: draft send play info 2017-03-01 16:01:49 +01:00
Milanka Ringwald
2a029560d7 avrcp: introduced shuffle and repeat 2017-03-01 16:01:49 +01:00
Milanka Ringwald
96b12aa570 avrcp: fix enable disable 2017-03-01 16:01:49 +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
e0e73eb2f5 posix-h4: update serial ports for my test boards 2017-03-01 09:20:24 +01:00
Matthias Ringwald
7c3351a5e0 libusb: remove parsed -u argument from command line arguments before passing it to btstack_main() 2017-03-01 09:19:32 +01:00
Matthias Ringwald
1a24892321 le_streamer: limit test packet size to sizeof(test_data) currently 200 2017-03-01 09:18:40 +01:00
Matthias Ringwald
d16a039205 h4_ehcill/h5: use unique id for HCI_EVENT_TRANSPORT_SLEEP_MODE 2017-02-28 12:16:27 +01:00
Matthias Ringwald
62ca45d755 h4_ehcill/h5: provide HCI_EVENT_TRANSPORT_SLEEP_MODE event that indicates to app if it can put device into deep sleep 2017-02-28 12:08:10 +01:00
Matthias Ringwald
43b285efe5 tests: disable maths while it fails to build on build server 2017-02-27 20:43:10 +01:00
Matthias Ringwald
f7cf838843 tests: add avdtp, avrcp, and maths to list 2017-02-27 20:32:07 +01:00
Matthias Ringwald
d1bcfa544e Update README.md 2017-02-27 11:35:45 +01:00
Matthias Ringwald
bef131fbe9 Update README.md 2017-02-27 11:28:26 +01:00
Matthias Ringwald
be78c07978 Update README.md 2017-02-27 11:15:06 +01:00
Matthias Ringwald
43a197a7ca Update README.md following suggestions from https://github.com/bluekitchen/btstack/pull/26 2017-02-27 11:13:29 +01:00
Matthias Ringwald
e80f486f6b ports: remove missing ports from general makefile 2017-02-24 16:41:57 +01:00
Matthias Ringwald
c6df6d84d0 h5: append data integrity check for outgoing packets if supported by peer 2017-02-24 11:42:12 +01:00
Matthias Ringwald
e9c151bc12 h5: provide 2 byte post buffer for outgoing packets - used for 16-bit data integrity check 2017-02-24 11:42:12 +01:00