1027 Commits

Author SHA1 Message Date
Matthias Ringwald
8eb8d46326 hid_device: extract l2cap handling into classic/hid_device, send events 2017-04-27 14:57:02 +02:00
Matthias Ringwald
d40c9ac6cf hid_device: move hid_create_sdp_record into classic/hid_device.h 2017-04-27 11:39:25 +02:00
Milanka Ringwald
da4d68913d avdtp: fix send audio, enable mod 2017-04-26 15:46:32 +02:00
Milanka Ringwald
5cfe7f4cc8 fix sink demo, fix source demo sending audio 2017-04-26 12:25:11 +02:00
Milanka Ringwald
60ec20d049 introduce flags for suspend, abort, close 2017-04-25 17:12:36 +02:00
Milanka Ringwald
46e6b06306 clean up open/close stream api 2017-04-21 16:34:57 +02:00
Milanka Ringwald
a42de5830e add start/stop streaming events 2017-04-21 14:13:13 +02:00
Milanka Ringwald
b548dda644 send sine 2017-04-19 16:12:03 +02:00
Milanka Ringwald
ba155c2213 move connect/open stream to a2dp 2017-04-18 17:05:33 +02:00
Milanka Ringwald
274391e8b2 use a2dp interface to init demo app 2017-04-18 14:05:17 +02:00
Milanka Ringwald
b442c9e641 add ad2p files 2017-04-18 11:58:07 +02:00
Milanka Ringwald
bd1ecb8ab0 use defines from bluetooth sdp 2017-04-18 11:22:15 +02:00
Milanka Ringwald
a0ed80bdc9 move config to stream endpoint 2017-04-18 10:51:31 +02:00
Milanka Ringwald
106b2cc4d7 move sbc_configuration_storage init to avdtp 2017-04-18 10:21:37 +02:00
Milanka Ringwald
78d08d098e move choose config to avdtp 2017-04-12 15:58:49 +02:00
Milanka Ringwald
f9bca1f39e avdtp: use avdtp cid instead con handle 2017-04-12 14:12:50 +02:00
Milanka Ringwald
57f317a13d add media con handle to stream endpoint 2017-04-12 11:34:57 +02:00
Milanka Ringwald
9e42cfcc12 remove sep tracking from demo apps 2017-04-12 11:08:24 +02:00
Milanka Ringwald
85efc5ac63 avdtp: add remote seps on discovery 2017-04-11 18:05:24 +02:00
Milanka Ringwald
44c53bbced avdtp: move remote seps to connection 2017-04-11 17:37:46 +02:00
Milanka Ringwald
e08eb62a64 remove audio ring buffer 2017-04-11 15:56:33 +02:00
Milanka Ringwald
c79ed74c57 add mod, move streuct to avdtp 2017-04-07 16:15:01 +02:00
Milanka Ringwald
25cdefb095 use hxcmod player, in addition to playing sine 2017-04-07 15:20:42 +02:00
Matthias Ringwald
1b84b25d6a sdp_util: fix sdp_service_search_pattern_for_uuid128 2017-04-06 16:21:52 +02:00
Matthias Ringwald
55bb522c69 sdp_client_rfcomm: mark read-only args as const 2017-04-06 14:16:05 +02:00
Matthias Ringwald
09ac355c8a sdp_rfcom_query: add sdp_client_query_rfcomm_channel_and_name_for_uuid128, use sdp_service_search_pattern_for_uuid16 and sdp_service_search_pattern_for_uuid128 instead of creating search pattern manually 2017-04-06 12:18:31 +02:00
Milanka Ringwald
aa8c26dbfa avdtp: move preparing media packet and sending to avdtp source 2017-04-05 17:05:54 +02:00
Milanka Ringwald
699ee5096c avdtp: move sbc encoder state to app, use actual configuration 2017-04-05 14:18:50 +02:00
Milanka Ringwald
a04ed5e965 move handling stream endpoint state to avdtp source 2017-04-04 16:26:40 +02:00
Milanka Ringwald
ab07e0cd4a move sbc buffer to app 2017-04-04 15:45:33 +02:00
Milanka Ringwald
659f0ea70b move timer to app 2017-04-04 15:25:40 +02:00
Milanka Ringwald
1b5de46c3e move samples tracking to app 2017-04-04 15:22:55 +02:00
Milanka Ringwald
f7103c9035 avdtp: move sending code to app 2017-04-04 15:01:21 +02:00
Milanka Ringwald
4ae2f2585c avdtp source: remove unused api call 2017-04-04 14:30:38 +02:00
Milanka Ringwald
af68b735bb avdtp source: move audio buffer to the app 2017-04-04 14:29:08 +02:00
Milanka Ringwald
1bb14c3802 avdtp source: move buffer storage to the app 2017-04-04 14:16:00 +02:00
Milanka Ringwald
432dd4e851 avdtp source: move run to the app 2017-04-04 13:50:59 +02:00
Milanka Ringwald
c7288d936f avdtp source: move audio buffer handler to the app 2017-04-04 13:47:43 +02:00
Milanka Ringwald
842624026c avdtp source: move timer to the app 2017-04-04 13:38:30 +02:00
Milanka Ringwald
f68a5d67c5 avdtp: move stream start/stop to the app code 2017-04-04 13:27:40 +02:00
Milanka Ringwald
6501960148 move avdtp_source_test to pts 2017-04-04 11:34:01 +02:00
Matthias Ringwald
2a7d66b392 avdtp: delete sbc decoding from avdtp_source 2017-03-31 16:05:40 +02:00
Matthias Ringwald
6315579769 sdp_client: abort query on SDP_ErrorResponse 2017-03-30 22:42:20 +02:00
Matthias Ringwald
235946f152 bluetooth_sdp: use scraped SDP UUID and PSMs for SDP record creation and parsing 2017-03-26 22:19:18 +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
fa84a2d42f avdtp: source sends audio at const. speed 2017-03-23 22:28:04 +01:00
Milanka Ringwald
e033427c27 avdtp: fix compile 2017-03-23 22:28:04 +01:00
Milanka Ringwald
8ebc0d8ad6 avdtp source: fix compile 2017-03-23 22:28:03 +01:00
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
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