mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-14 01:27:41 +00:00
Merge branch 'master' into develop
This commit is contained in:
commit
ecb8c3ae56
@ -248,6 +248,39 @@ calling *sdp_register_service*. BTstack provides the
|
||||
empty buffer of approximately 200 bytes, a description, and a security
|
||||
description.
|
||||
|
||||
## HSP - Headset Profile
|
||||
|
||||
The HSP profile defines how a Bluetooth-enabled headset should communicate
|
||||
with another Bluetooth enabled device. It relies on SCO for audio encoded
|
||||
in 64 kbit/s CVSD and a subset of AT commands from GSM 07.07 for
|
||||
minimal controls including the ability to ring, answer a call, hang up and adjust the volume.
|
||||
|
||||
The HSP defines two roles:
|
||||
- Audio Gateway (AG) - a device that acts as the gateway of the audio, typically a mobile phone or PC.
|
||||
- Headset (HS) - a device that acts as the AG's remote audio input and output control.
|
||||
|
||||
There are following restrictions:
|
||||
- The CVSD is used for audio transmission.
|
||||
- Between headset and audio gateway, only one audio connection at a time is supported.
|
||||
- The profile offers only basic interoperability – for example, handling of multiple calls at the audio gateway is not included.
|
||||
- The only assumption on the headset’s user interface is the possibility to detect a user initiated action (e.g. pressing a button).
|
||||
|
||||
%TODO: audio paths
|
||||
|
||||
|
||||
## HFP - Hands-Free Profile
|
||||
|
||||
The HFP profile defines how a Bluetooth-enabled device, e.g. a car kit or a headset, can be used to place and receive calls via a audio gateway device, typically a mobile phone.
|
||||
It relies on SCO for audio encoded in 64 kbit/s CVSD and a bigger subset of AT commands from GSM 07.07 then HSP for
|
||||
controls including the ability to ring, to place and receive calls, join a conference call, to answer, hold or reject a call, and adjust the volume.
|
||||
|
||||
The HFP defines two roles:
|
||||
- Audio Gateway (AG) – a device that acts as the gateway of the audio,, typically a mobile phone.
|
||||
- Hands-Free Unit (HF) – a device that acts as the AG's remote audio input and output control.
|
||||
|
||||
%TODO: audio paths
|
||||
|
||||
|
||||
## GAP LE - Generic Access Profile for Low Energy
|
||||
|
||||
|
||||
@ -411,4 +444,5 @@ BTstack only provides an ATT Server, while the GATT Server logic is
|
||||
mainly provided by the GATT compiler. While GATT identifies
|
||||
Characteristics by UUIDs, ATT uses Handles (16 bit values). To allow to
|
||||
identify a Characteristic without hard-coding the attribute ID, the GATT
|
||||
compiler creates a list of defines in the generated \*.h file.
|
||||
compiler creates a list of defines in the generated \*.h file.
|
||||
|
||||
|
@ -71,7 +71,7 @@ EXAMPLES = \
|
||||
spp_counter \
|
||||
spp_streamer \
|
||||
gap_le_advertisements \
|
||||
hsp_hs_test \
|
||||
hsp_hs_demo \
|
||||
|
||||
EXAMPLES_USING_LE = \
|
||||
ancs_client_demo \
|
||||
@ -161,7 +161,7 @@ led_counter: ${CORE_OBJ} ${COMMON_OBJ} led_counter.c
|
||||
gap_le_advertisements: ${CORE_OBJ} ${COMMON_OBJ} ad_parser.c gap_le_advertisements.c
|
||||
${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@
|
||||
|
||||
hsp_hs_test: ${CORE_OBJ} ${COMMON_OBJ} ${SDP_CLIENT} hsp_hs.o hsp_hs_test.c
|
||||
hsp_hs_demo: ${CORE_OBJ} ${COMMON_OBJ} ${SDP_CLIENT} hsp_hs.o hsp_hs_demo.c
|
||||
${CC} $^ ${CFLAGS} ${LDFLAGS} -o $@
|
||||
|
||||
clean:
|
||||
|
Loading…
x
Reference in New Issue
Block a user