2953 Commits

Author SHA1 Message Date
Matthias Ringwald
6315579769 sdp_client: abort query on SDP_ErrorResponse 2017-03-30 22:42:20 +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
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
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
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
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
6eb7ba29da avrcp: events definition 2017-03-01 16:01:50 +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
2a029560d7 avrcp: introduced shuffle and repeat 2017-03-01 16:01:49 +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
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
Matthias Ringwald
7c2aa31e5c h5: track if peer supports data integrity check 2017-02-24 11:42:12 +01:00
Matthias Ringwald
79b61987df h5: enable Data Integrity Check, validate crc of incoming packets 2017-02-24 11:42:12 +01:00
Matthias Ringwald
f3b012f9c7 hci: skip SCO over HCI commands if not defined 2017-02-23 14:50:59 +01:00
Matthias Ringwald
f971afab88 device_id_server: bump version to 1.3 (latest) 2017-02-23 14:48:09 +01:00
Matthias Ringwald
59fb9ebde7 device_id_server: fix includes 2017-02-23 12:04:37 +01:00
Matthias Ringwald
d38c4adf3a sdp: provide BLUETOOTH_ATTRIBUTE_SERVICE_CLASS_ID_LIST and use in device_id_sever.c 2017-02-23 12:00:02 +01:00
Matthias Ringwald
c4b3290d9e sdp: provide device_id_server.h to generate Device ID SDP records 2017-02-22 17:28:57 +01:00
Matthias Ringwald
f5aa8d7048 docs: spelling fixes from eaec219ce0 2017-02-20 15:22:57 +01:00
Matthias Ringwald
5d5a5a9cd5 events: fix events where len(format) != len(params) 2017-02-20 15:16:44 +01:00
Matthias Ringwald
2c737695ff events: fix events where len(format) != len(params) 2017-02-20 12:41:57 +01:00
Matthias Ringwald
53be73e88a tests: fix compile 2017-02-20 11:30:58 +01:00
Matthias Ringwald
779b256e49 web scraper for company ids, add src/bluetooth_company_id.h 2017-02-20 10:29:54 +01:00
Matthias Ringwald
22aa151238 le_device_db_memory: make nr of entries configurable via MAX_NR_LE_DEVICE_DB_ENTRIES 2017-02-11 22:44:02 +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
6d1c8fe6bb fix compile 2017-02-10 11:17:27 +01:00
Milanka Ringwald
cd41da7eac avrcp: play info event 2017-02-10 11:07:03 +01:00
Milanka Ringwald
e57a25456e util: add read big endian 24 2017-02-10 11:07:03 +01:00
Milanka Ringwald
7f535380ac add big_endian_store_24 2017-02-10 11:07:03 +01:00
Milanka Ringwald
decc740c46 avrcp: send cmd unit_info 2017-02-10 11:07:03 +01:00