63
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
7.1.12 Query Subscriber Number from HFG (#20_4.30)
AT+HFS?
Query subscriber numbers from HFG. “AT+CNUM” is sent to the HFG. HFG will send the
subscriber number information, indicated on the HF by HF”+CNUM,,,””. An “OK” will be sent
by HFG on termination, indicated on HF by the asynchronous message HF”CNUM,OK”. If the
HFG does not support this feature, it should send ERROR, indicated on HF as HF”CNUM,ERROR”.
Refer to section 7.1.17 on page 64.
Response:
<cr><lf>OK<cr><lf>
(immediately, BTM accepting command)
and one of the following:
<cr><lf>HF”+CNUM:<number>,<type>,<service>”<cr><lf>
(refer to section 3.2.7.1.17)
<cr><lf>HF”CNUM,OK”<cr><lf>
or
<cr><lf>HFX”<SLC_message>”<cr><lf>
(original SLC response from HF gateway,
but response format not compliant to HFP specification)
<cr><lf>HF”CNUM,OK”<cr><lf>
or
<cr><lf>HF”CNUM,ERROR” <cr><lf>
(feature not supported by HF-gateway)
or
Nothing, if the HF-gateway is ignoring this query for any reason
7.1.13 Query Operator Selection (#2_4.8)
AT+HFO?
Query operator selection from HFG. “AT+COPS?” is sent to the HFG. HFG will send the
operator selection information, indicated on the HF by HF”+COPS,,,””. An “OK” will be
sent by HFG on termination, indicated on HF by the asynchronous message HF”COPS,OK”.
If the HFG does not support this feature, it should send ERROR, indicated on HF as
HF”COPS,ERROR”. Refer to section 7.1.17 on page 64.
Response:
<cr><lf>OK<cr><lf>
(immediately, BTM accepting command)
And one of the following:
<cr><lf>HF”+COPS:<mode>,<operator_size>,<operator>”<cr><lf>
(refer to section 7.1.17 on page 64)
<cr><lf>HF”COPS,OK”<cr><lf>
or:
<cr><lf>HF”COPS,ERROR”<cr><lf>
7.1.14 Enable Extended Error Codes in HFG – CMEE (#2_4.9)
AT+HFE1
Enable operator selection from HFG. “AT+CMEE=1” is sent to the HFG. HFG will respond
with “OK”, indicated at the HF by HF”CMEE,OK” or “ERROR” indicated at the HF by
HF”CMEE,ERROR”
Response:
<cr><lf>OK<cr><lf>
(immediately, BTM accepting command)
And one of the following:
<cr><lf>HF”CMEE,OK”<cr><lf>
(confirmation from HFG)
or:
<cr><lf>HF”CMEE,ERROR”<cr><lf> (error, e.g. not supported by HFG)
AT COMMAND SET
REFERENCE