User's Manual

49
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
5.4.4 PASS THROUGH Indication
An incoming PASS THROUGH command will be indicated by an unsolicited message.
AVPTI <subunit_id
hex
>,<operation_id
hex
>,<button_state>
For subunit_id
hex
see Table 3.21. For operation_id
hex
see Table 3.20.
<button_state>: ‘0’ is Button pushed
‘1’ is Button released
5.4.5 PASS THROUGH Response
AT+AVR<avrc_response_type
hex
>
If S register 310 == 0, a Pass Through (PT) response is required from the host. The response
is sent using the command:
AT+AVR<avrc_response_type
dec
>
Parameter:
<avrc_response_type
dec
>: see Table 3.22, write-value.
If S register 310 == 1, a Pass Through response is sent automatically with an
<avrc_response_type> dened by S register 311. In this case, the host is not required to respond.
Task AT-Command / S Register Comment
Enable AVRCP prole S102 256 = AVRCP, Error 47 if AVRCP role has not
been set (see S301);
Error 48 if S301== 2 and Category has not
been set (see S302)
Needs subsequent AT&W and ATZ to be-
come effective
Set AVRCP role S301 [0..2] 0 = disabled
1 = Control “CT” (default)
2 = Target “TG”
Needs subsequent AT&W and ATZ to be-
come effective
Set AVRCP category S302 [0..4] 0 = Feature disabled (default)
1 = Player/Recorder
2 = Monitor/Amplier
3 = Tuner
4 = Menu
Needs subsequent AT&W and ATZ to be-
come effective
Initiate outgoing AVRCP con-
trol connection
AT+AVD<bd_addr> Response if accepted:
“CONNECT 0123456789012,110E,>”
Response if rejected:
“NO CARRIER 110E”
Close only AVRCP connection “AT+AVH“ or “ATH110E” Response:
“NO CARRIER 110E” if connection has
existed and S329=0
“NO CARRIER” if connection has not existed
and S329=0
Close all connections ATH* Response:
“NO CARRIER <proleUUID>” for each
prole that was previously connected (see
section 4, page 83)
Send remote control command
(Control)
AT+AVC<operation_
id
hex
>,<state>
<operation_id
hex
>: see Table 3.20
<state> (optional): ‘0’ Button pushed
‘1’ Button released
Response on command completion:
“AVPTC <n>,<operation_id
hex
>,<state>”
AT COMMAND SET
REFERENCE