72
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
7.2.13 AG - HFP summary (HFG)
Task
AT-Command / S Register
Comment
Enable HFP-AG role
S102
0x40 = AG role of HFP (bitmask), needs subsequent
“AT&W” and “ATZ” to activate
Initiate SLC from HFG
AT+HFGD<bd_addr
hex
>
Responses:
Successful:“CONNECT 123456789012,111F,>”
failed: “NO CARRIER”
profile disabled: “ERROR 59”
incorrect state: “ERROR 63”
Initiate audio connection from AG /
Transfer Audio from AG to HF
AT+HFGA
Response:
HFG“AU1”
Release audio only from AG /
Transfer Audio from HF to AG
AT+HFGR
Response:
HFG“AU0”
Disconnect SLC from HFG (and
audio if exists)
AT+HFGH / ATH111F /
ATH*
Please note section 4, page 83 and section
6, page
85
Signal incoming call to HF
AT+HFGC”<number_
string>”,<type
dec
>
Sends “RING” and “+CLIP: <number_string>, <type>”
to HF
<type> must be in range 128..175
Refer to section 7.2.5 on page 68
Signal outgoing call status to HF
AT+HFGC1
Outgoing call is being initiated by AG as result of a
HF request . Use this AT command as positive
confirmation of:
HFG”Dnnn” or
HFG”D>mmm” or
HFG”L”
AT+HFGC2
Outgoing call:
Remote party has been reached and is being alerted
AT+HFGC3
Outgoing call:
Remote party has answered the call
Signal termination of a call or a call
setup procedure to HF
AT+HFGCH
Command also used to inform HF about remote
rejection of outgoing call
Send AG indicator status to HF
(+CIEV…)
AT+HFGI<indicator_
id
dec
>,<value
dec
>
For <indicator_id> and <value> see Table 3.31.
Command is recommended to be used only with
indicator IDs 1, 5, (6) and 7. For all other commands
the appropriate call managing AT commands are
recommended. They send the indicators automatically.
Send network operator string to HF
AT+HFGO”<operator_
string>”
Command used to respond to HFG”OP?”
Send error to HF
AT+HFGE
Sends “ERROR” to HF. Needed on HFG”D>mmm” if
memory location is invalid or on HFG”L” if last dialled
number not available
Send extended error result code
to HF
AT+HFGE<cme_code
dec
>
“+CME ERROR: <cme_code
dec
>” is sent to HF if HF
did enable this feature earlier. Otherwise a simple
“ERROR” is sent to HF.
Enable verbose indicators
S333
0 – display indicator ID only in HFI.. asynchronous
message (Section 7.1.15
on page 64
)
1 – display indicator string in HFI… asynchronous
message (Section 7.1.15
on page 64
)
Inquire HFG status
ATI66
0 = not connected
1 = SLC connected
2 = Audio connected
3 = in call - SLC
4 = in call – audio
Table 3.32: AG-HFP (HFG) – Summary of S Registers and AT Commands
AT COMMAND SET
REFERENCE