59
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
6.2.12 AG - HSP Summary (HSG)
Task
AT-Command /
S Register
Comment
Enable HSP-AG role
S102
0x08 = AG role of HSP (bitmask), needs subsequent
“AT&W” and “atz” to activate
Initiate SLC from AG (HSP)
AT+HSGD<bd_ad-
dr
hex
>
Responses:
successful: “CONNECT 123456789012,1108,>”
failed: “NO CARRIER”
wrong state: “ERROR 63”
profile disabled: “ERROR 59”
Alert HS by RING or in-band
ringing
AT+HSGC
An existing SLC is required. RING / in-band-ringing is
controlled by S346. Automatic alerting can be config
-
ured using S345.
Cancel alerting before an-
swered by HS
AT+HSGCH
HSG must be in alerting state (ATI64=5 or =6)
HSG will stop sending RING-message or release audio
(in-band ringing)
Initiate audio / Transfer audio
from AG to HS
AT+HSGA
An existing SLC is required
Release audio connection /
Transfer audio from HS to AG
AT+HSGR
Response:
successful: “OK” and “HSG”AU0”
wrong state:” ERROR 63”
profile/role disabled: “ERROR 59“
Release audio and SLC from
AG
AT+HSGH or
ATH1112 or ATH*
Response:
successful: NO CARRIER 1112
(AG(HSP) was connected previously)
wrong state:” ERROR 63”
profile/role disabled: “ERROR 59“
Enable automatic alerting on
ACL establishment
S345
0 = disable auto alerting
1 = auto alerting on outgoing ACL established
2 = auto alerting on incoming ACL established
3 = auto alerting on outgoing and incoming ACL
established
Enable in-band ringing
S346
0 = disable in-band ringing
1 = enable in-band ringing
Enable automatic ACL release S347
0 =disable
1 = ACL will be released automatically when audio was
released by the HS.
Inquire AG status
ATI64
0 = not connected
1 = ACL connected
2 = Audio connected
5 = Ringing (ACL connected)
6 = In-band ringing (Audio connected)
Table 3.27: Audio gateway role (HSP) – Summary of S Registers and AT Commands
AT COMMAND SET
REFERENCE