1144 Commits

Author SHA1 Message Date
Matthias Ringwald
b7f1ee76fc gap: provide gap_remote_name_request 2017-05-21 22:44:47 +02:00
Matthias Ringwald
f5875de52c gap: provide gap_inquiry_start + gap_inquiry_stop. emit GAP_EVENT_INQUIRY_COMPLETE 2017-05-21 22:23:03 +02:00
Matthias Ringwald
1cfb383e56 gap: unify inquiry, inquiry with rssi, and extended inquiry response into GAP_EVENT_INQUIRY_RESULT with optional RSSI and name. Update gap_inquiry example 2017-05-17 23:07:55 +02:00
Matthias Ringwald
cde6ece438 example/pbap_client_demo: fix include 2017-05-04 11:29:13 +02:00
Matthias Ringwald
7bc1dbab74 posix-h5: show error for BCM chipset, remove all BCM code 2017-05-03 11:55:13 +02:00
Matthias Ringwald
bace42effc fix format warnings for uint32_t values 2017-05-02 16:17:33 +02:00
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
Matthias Ringwald
6518788a7f hid_device: send demo text if no stdin available 2017-04-27 11:25:17 +02:00
Matthias Ringwald
ca44a803f1 hid_device: lookup keycode in US keyboard table 2017-04-27 11:11:27 +02:00
Matthias Ringwald
4cf728558f hid_device: support for typing [a-zA-Z0-9], space, backspace 2017-04-26 22:13:45 +02:00
Matthias Ringwald
0316aa6f75 hid_device: report connect/disconnect, track l2cap cids 2017-04-26 21:50:47 +02:00
Matthias Ringwald
2fa56ea6fd hid_device: start demo, define keyboard boot protocol descriptor, create sdp record 2017-04-26 18:14:27 +02:00
Matthias Ringwald
c692d77638 sm: use micro-ecc for p256r1 calculation 2017-04-13 15:23:09 +02:00
Matthias Ringwald
6211b0c037 example/sco_util: fix unused var warning 2017-04-12 15:45:54 +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
a224d682a3 bnep: use UUIDs from bluetooth_sdp.h 2017-03-25 22:51:28 +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
2085ff8495 example: pbap_client -> pbap_client_demo to avoid confustion with pbap_client impl 2017-03-24 10:53:29 +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
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
bfb465b059 examples: enable Active Scanning in gap_le_advertisements 2017-03-08 17:22:55 +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
c4b3290d9e sdp: provide device_id_server.h to generate Device ID SDP records 2017-02-22 17:28:57 +01:00
Matthias Ringwald
3f974179ba example/le_counter: fix gap device name 2017-02-10 11:06:11 +01:00
Matthias Ringwald
c8f97be681 example: add le_streamer_client that connects to le_streamer 2017-02-02 14:40:41 +01:00
Matthias Ringwald
d4f907a637 sco_util: CVSD PLC only needed with wav writer or portaudio 2017-02-01 15:02:28 +01:00
Matthias Ringwald
2c7ae6e1fa sco_demo_util: don't stop PortAudio when WAV sample was written 2017-01-30 17:49:47 +01:00
Matthias Ringwald
e36764ddb7 sco_demo_util: fix warning 2017-01-30 15:16:42 +01:00
Matthias Ringwald
305f79c9c9 sco_util: re-enable CVSD PLC 2017-01-27 12:26:18 +01:00
Matthias Ringwald
8fd6902d67 sco_util: flip big endian samples from microphone for outgoing CVSD SCO packets 2017-01-26 22:21:12 +01:00
Matthias Ringwald
5303ddeefc sco_util: fix receive CVSD SCO data for big endian 2017-01-26 22:02:33 +01:00
Matthias Ringwald
59c97ae1ec sco_demo_util: store 8 kHz samples for CVSD/SCO packets as little endian, store 16 kHz samples for mSBC in host endianess 2017-01-26 19:27:31 +01:00
Matthias Ringwald
b025eb5fa2 sco_util: support mSBC with PortAudio input 2017-01-25 17:23:55 +01:00
Matthias Ringwald
2b89dbfc6b sco_util: send PortAudio input as CVSD 2017-01-25 16:58:03 +01:00
Matthias Ringwald
463c9c89cd sco_util: prefix port audio vars with pa_output 2017-01-24 17:26:55 +01:00
Matthias Ringwald
b4fe8701b8 Merge branch 'develop' into h2-sco 2017-01-20 23:16:21 +01:00
Matthias Ringwald
c4e666bc60 sco_util: refactor portaudio code 2017-01-20 23:08:05 +01:00
Matthias Ringwald
e68aec34d6 sco_demo_util: prepare for 16-bit CVSD 2017-01-20 17:01:36 +01:00
Matthias Ringwald
e5167d910d sco_demo_util: ignore sco data after audio release 2017-01-20 16:11:21 +01:00
Matthias Ringwald
e4f319364d sco_util_demo: enable to start/stop audio multiple times 2017-01-20 15:39:39 +01:00
Matthias Ringwald
b038503d09 hfp_ag_demo: cleanup log output, call sco_demo_close on audio release 2017-01-20 15:38:27 +01:00
Matthias Ringwald
1f8694cc3a sco_util: use larger buffer for processing CVSD data 2017-01-19 12:27:44 +01:00
Matthias Ringwald
a11bf4163d sco_util: fix compile for SCO_DEMO_MODE_55 2017-01-19 11:55:07 +01:00
Matthias Ringwald
3963d0366d fix unused warning 2017-01-17 20:33:10 +01:00
Matthias Ringwald
a508997d74 Merge branch 'develop' into windows-h4 2017-01-16 21:32:42 +01:00
Milanka Ringwald
d3d88e8bb5 Merge branch 'develop' into a2dp 2017-01-16 15:30:07 +01:00