6652 Commits

Author SHA1 Message Date
Matthias Ringwald
839bb459a7 da14581: update .gitignore 2017-03-31 11:33:50 +02:00
Matthias Ringwald
d7d0a34773 da14581: forgot btstack_config for posix-h4-da14581 2017-03-31 11:32:21 +02:00
Matthias Ringwald
196886c36e remove accidental commit 2017-03-31 11:04:14 +02:00
Matthias Ringwald
6315579769 sdp_client: abort query on SDP_ErrorResponse 2017-03-30 22:42:20 +02:00
Matthias Ringwald
3e05a31cbd bluetooth_company_id: use scraped defines instead of small set from bluetooth.h before 2017-03-30 22:42:18 +02:00
Matthias Ringwald
61f37892ce bluetooth_company_id: use scraped defines instead of small set from bluetooth.h before 2017-03-30 22:19:17 +02:00
Matthias Ringwald
6797047d6d da14581: add to main readme 2017-03-30 21:56:50 +02:00
Matthias Ringwald
65b6e0cdf7 da14581: does not have fixed valid BD ADDR 2017-03-30 21:26:23 +02:00
Matthias Ringwald
fcf75f5bf8 da14581: verify crc after download 2017-03-30 21:19:53 +02:00
Matthias Ringwald
c240379e84 da14581: add to chipset docu 2017-03-30 19:31:13 +02:00
Matthias Ringwald
e72b198f65 da14581: add chipset support for Dialog Semiconductor DA14581. Download firmware before stack starts 2017-03-30 17:31:10 +02:00
Matthias Ringwald
502df37d2d test: fix des_iterator test 2017-03-26 23:19:26 +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
46b212911c bluetooth_sdp: add Browse Group Identifiers 2017-03-26 21:57:06 +02:00
Matthias Ringwald
a224d682a3 bnep: use UUIDs from bluetooth_sdp.h 2017-03-25 22:51:28 +01:00
Matthias Ringwald
dd80720956 debug: prepend filename and line number for log_X macros 2017-03-25 22:09:03 +01: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
Matthias Ringwald
03e09accef examples: add dummy GATT Server to GATT Client demos to avoid disconnect if LE Peripheral starts GATT queries on it's own 2017-03-24 14:50:52 +01:00
Matthias Ringwald
add9769e9d examples: add dummy GATT Server to GATT Client demos to avoid disconnect if LE Peripheral starts GATT queries on it's own 2017-03-24 14:47:52 +01:00
Matthias Ringwald
c00c65fa65 chipset: more on different HCI variants, spellcheck 2017-03-24 13:06:09 +01:00
Matthias Ringwald
2085ff8495 example: pbap_client -> pbap_client_demo to avoid confustion with pbap_client impl 2017-03-24 10:53:29 +01:00
Matthias Ringwald
bdd624350d Merge branch 'pbap' into develop
Add Phone Book Access Client (PBAP) over General Object Exchange (GOEP)
2017-03-23 22:28:29 +01:00
Milanka Ringwald
53f7f11996 avdpt: performance test for encoder, decoder 2017-03-23 22:28:04 +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
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