Commit Graph

196 Commits

Author SHA1 Message Date
Matthias Ringwald
49232d5c0e fix compile 2017-05-17 23:22:05 +02: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
0657d3c47f hfp: fix test 2017-01-30 16:30:12 +01:00
Matthias Ringwald
fac2e2fe9d hfp: use 16-bit samples for narrow-band / CVSD 2017-01-23 14:59:39 +01:00
Matthias Ringwald
815e8f5127 test/hfp: create 16-bit live sample, but use 8-bit for tst 2017-01-23 12:42:34 +01:00
Milanka Ringwald
6f91db60fb hfp test: cleanup data folder, remove printf 2016-11-16 11:21:23 +01:00
Milanka Ringwald
d165ed7980 create directory results 2016-11-16 10:57:28 +01:00
Milanka Ringwald
ebacc5ae5e hfp test: mode input to data, generated files to results 2016-11-16 10:54:43 +01:00
Milanka Ringwald
25234a7e05 Merge branch 'develop' into a2dp
Conflicts:
	example/Makefile.inc
	example/sco_demo_util.c
	port/pic32-harmony/app.X/nbproject/Makefile-default.mk
	port/pic32-harmony/app.X/nbproject/Makefile-genesis.properties
	port/pic32-harmony/app.X/nbproject/configurations.xml
	port/pic32-harmony/create_examples.py
	src/classic/btstack_cvsd_plc.c
	src/classic/btstack_sbc_bludroid.c
	src/classic/btstack_sbc_plc.c
	test/ring_buffer/.gitignore
2016-11-14 15:54:38 +01:00
Milanka Ringwald
a23045e2bf extend btstack defines, and memory generator 2016-09-27 15:17:16 +02:00
Milanka Ringwald
f33d36711a test: hfp add missing test files 2016-09-27 15:05:38 +02:00
Milanka Ringwald
d0c4aea60c HFP: Emit codec event after SCO connection is established, CODECS event is deleted, codec added as param in AUDIO_CONN event 2016-09-19 15:53:35 +02:00
Milanka Ringwald
249f614da0 use wav util 2016-09-19 15:02:59 +02:00
Milanka Ringwald
abc9118691 refactoring wav utils 2016-09-14 17:30:47 +02:00
Milanka Ringwald
202da3172e reworked test, extracted wav_utils 2016-09-14 16:06:19 +02:00
Milanka Ringwald
651e3b75e5 refactor function count eq bytes 2016-09-13 15:11:09 +02:00
Milanka Ringwald
08df0a8d74 remove casting 2016-09-13 12:15:55 +02:00
Milanka Ringwald
7e6b1e83d2 sbc plc: renamed vars 2016-09-13 10:35:08 +02:00
Milanka Ringwald
a3b51b7f14 cvsd plc: renamed vars 2016-09-13 10:19:11 +02:00
Milanka Ringwald
8c38e749df hfp: plc for cvsd 2016-08-31 15:41:01 +02:00
Milanka Ringwald
c774f3a0e5 hfp cvsd: plc for periodic sine signal 2016-08-29 23:10:32 +02:00
Milanka Ringwald
011577ab36 move esco accept connection to the upper layers (hfp, hsp) 2016-07-28 11:41:57 +02:00
Milanka Ringwald
c862649892 hfp hf api change: use acl_handle instead of device addr 2016-07-27 14:47:57 +02:00
Milanka Ringwald
d97d752d32 hfp ag api change: use acl_handle instead of bd_addr 2016-07-27 12:22:28 +02:00
Matthias Ringwald
13839019fa HFP + HSP: use uniform btstack_packet_handler_t 2016-04-21 21:37:40 +02:00
Milanka Ringwald
f4bc971fce fix compile 2016-04-08 17:08:38 +02:00
Milanka Ringwald
a0653c3b5c hfp: HFP_SUBEVENT_SERVICE_LEVEL_CONNECTION_ESTABLISHED emited with connection handle 2016-04-08 17:04:40 +02:00
Matthias Ringwald
d68dcce183 hfp: fix outgoing connections 2016-04-08 15:19:06 +02:00
Matthias Ringwald
683dbd933c test/hfp: emit rfcomm can send now event 2016-04-08 14:05:24 +02:00
Milanka Ringwald
bd452f90a0 hfp unit test: fix compile 2016-04-08 13:56:56 +02:00
Matthias Ringwald
e30a6a47f3 hfp: request rfcomm can send now in run loop 2016-04-07 17:20:39 +02:00
Matthias Ringwald
f8f6a918bd events: RFCOMM_EVENT_OPEN_CHANNEL_COMPLETE -> RFCOMM_EVENT_CHANNEL_OPENED 2016-03-31 23:37:33 +02:00
Matthias Ringwald
55bdd63de7 Revert "test/hfp: use small outgoing rfcomm mtu"
This reverts commit 497fcc1c7f.
2016-03-30 10:23:45 +02:00
Matthias Ringwald
497fcc1c7f test/hfp: use small outgoing rfcomm mtu 2016-03-30 10:12:27 +02:00
Matthias Ringwald
0cb5b9716d fix prototypes for fn() 2016-03-28 11:44:30 +02:00
Matthias Ringwald
efda0b48f9 sdp_util: extract sdp_create_spp_service into spp_server and use spp_create_sdp_record 2016-03-17 11:24:38 +01:00
Matthias Ringwald
763c9b6f30 sdp_client: rename sdp_query_rfcomm -> sdp_client_query_rfcom 2016-03-17 10:58:11 +01:00
Matthias Ringwald
7fbb5f59ef sdp_client: use sdp_client_query prefix for rfcomm queries 2016-03-17 10:42:14 +01:00
Matthias Ringwald
d63c37a1e9 merge follow-up 2016-03-03 14:29:18 +01:00
Matthias Ringwald
a0ffb263e0 Merge branch 'master' into ble-api-cleanup 2016-03-03 14:26:11 +01:00
Milanka Ringwald
e86127dffc hfp ag: update docu 2016-02-19 14:47:26 +01:00
Matthias Ringwald
bcf00d8fa4 examples: move out of embedded subfolder 2016-02-19 09:46:37 +01:00
Milanka Ringwald
352dca4473 hfp remove status field from events 2016-02-18 17:00:56 +01:00
Matthias Ringwald
023f27646b sdp_query_util: inline into sdp_util and sdp_client 2016-02-18 12:10:47 +01:00
Matthias Ringwald
c03cf9db38 c++ warning fixes 2016-02-18 11:31:33 +01:00
Matthias Ringwald
9b10478f28 hfp: fix calls to renamed hfp_init_ functions 2016-02-18 11:22:55 +01:00
Milanka Ringwald
e424899e4e hfp hf docu 2016-02-18 10:32:37 +01:00
Matthias Ringwald
871e126195 sdp_client: remove sdp_parser.c references 2016-02-17 20:54:21 +01:00
Matthias Ringwald
6c927b22a9 sdp_query: pass in packet handler on query instead of global registration. integrate sdp_parser into sdp_client 2016-02-17 20:21:21 +01:00
Milanka Ringwald
3b6b9749b9 hfp hf docu 2016-02-17 16:34:01 +01:00