1113 Commits

Author SHA1 Message Date
Matthias Ringwald
7c03fe59ad example/spp_streamer_client: use state to decide on next action on inquiry complete 2017-06-12 11:24:11 +02:00
Matthias Ringwald
287c758dd4 example/spp_streamer_client: use gap_inquiry functions instead of sending hci 2017-06-09 23:05:23 +02:00
Matthias Ringwald
eaac31e881 fix build 2017-06-07 15:14:53 +02:00
Milanka Ringwald
0bd7cb1f0a avdtp sink demo: removed events 2017-06-07 11:49:42 +02:00
Matthias Ringwald
a48e17d9c4 example/avdtp_sink: fix compile for POSIX without Portaudio, disable HAVE_PORTAUDIO in libusb again 2017-06-02 14:45:35 +02:00
Matthias Ringwald
08c0d996ca example/avdtp_sink: move avdtp_sink_demo to examples 2017-06-02 14:32:04 +02:00
Matthias Ringwald
f40f8caeca example: new avdtp_source_demo example that plays 441 hz sine or small mod file 2017-05-29 12:51:46 +02:00
Matthias Ringwald
9620590336 example/hfg_ag: missing break 2017-05-29 11:22:55 +02:00
Matthias Ringwald
95a8ee01a4 btstack_stdin: provide console input in callback 2017-05-27 21:50:39 +02:00
Matthias Ringwald
7ea7688a8f btstack_stdin: replace stdin_support.[ch] with btstack_stdin.h and platform implementations 2017-05-27 21:50:19 +02:00
Matthias Ringwald
cee62800b7 example: add spp_streamer_client 2017-05-25 19:19:32 +02:00
Matthias Ringwald
402122d413 example/spp_streamer: new version that acts as a server, similar to le_streamer 2017-05-25 16:49:39 +02:00
Matthias Ringwald
3d58195059 example/spp_and_le_streamer: send data via SPP or LE as fast as possible 2017-05-25 16:25:17 +02:00
Matthias Ringwald
b528169261 more missing breaks 2017-05-25 15:17:12 +02:00
Matthias Ringwald
ba6f86f834 example/hfp_hf: add missing break 2017-05-25 14:47:22 +02:00
Matthias Ringwald
6316c8ed51 example: fix warning for unused argc, argv 2017-05-22 22:04:20 +02:00
Matthias Ringwald
16f28706fd examples: use gap_pin_code_response in examples and tests 2017-05-22 11:44:40 +02:00
Matthias Ringwald
4d2bcd2adc example/panu_demo: fix compile, use gap pairing functions 2017-05-22 11:34:34 +02:00
Matthias Ringwald
6e87f20c5b example/hfp_ag: use gap inquiry functionality 2017-05-22 11:04:15 +02:00
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