User's Manual

47
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
5.2 AVRCP - Control (CT) and Target (TG)
This section describes AT Commands an S registers which are common to BTM5xx AVRCP
Controller role and AVRCP Target role.
5.2.1 Initiate AVRCP Connection
AT+AVD<bd_addr
hex
>
Initiate AVRCP control connection to Bluetooth address <bd_addr
hex
>. The module must
be congured as AVRCP Control by S register 301 = 1. Furthermore, a category must be
selected in S register 302.
Response: <cr,lf>CONNECT 123456789012,110E,><cr,lf>
Or: <cr,lf>NO CARRIER 110E<cr,lf>
Or: <cr,lf>ERROR 47<cr,lf>
Or: <cr,lf>ERROR 48<cr,lf>
After an AVRCP connection has been established, the module remains in AT command
mode. S Register 531 is ignored for AVRCP connections.
5.2.2 Release AVRCP Control Connection
AT+AVH
Release AVRCP control connection.
Response <cr,lf >NO CARRIER 110E<cr,lf>
5.3 AVRCP - Control (CT)
This section describes AT Commands an S registers when BTM5xx is congured as an AVRCP
Controller (S301=1).
5.3.1 Send UNIT INFO Request
AT+AVU
Send a Unit Info request to a connected AVRCP target.
Response immediately: <cr,lf>OK<cr,lf>
On command completion:
<cr,lf>AVUR <n>,<unit_id
hex
>,<unit_type
hex
>,<company_id
hex
><cr,lf>
<n> = status
dec
: 0 – success
1 – fail
4 – timeout
For unit_type see Table 3.21: AV/C Unit/Subunit Types.
5.3.2 Send SUBUNIT INFO Request (Incomplete*)
AT+AVS<page
dec
>
Send a Subunit Info request to a connected AVRCP target.
Response: <cr,lf>OK<cr,lf> (immediately)
And: <cr,lf>AVSR <n>,<page
dec
>,<pagedata
hex
> <cr,lf> (after command completion)
<n> = status
dec
: 0 – success
1 – fail
4 – timeout
<page
dec
> : requested page [0..31]
<pagedata
hex
>: 1st word of requested page
*) incomplete because only the rst word of the requested page is being displayed in the
AVSR asynchronous message
AT COMMAND SET
REFERENCE