User's Manual

48
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
5.3.3 Send Remote Control Command
AT+AVC<operation_id
hex
>,<button_state>
Send a remote control command to a connected AVRCP target. Internally, a PASS THROUGH
command is created and sent to the PANEL subunit of the AVRCP target.
<operation_id
hex
> is the value for the actual remote control command. Valid values are
specied in Table 3.20. Some Operation IDs can be replaced by mnemonics, see Table 3.20.
<button_state> represents “Button pushed” (=0) or “Button released” (=1) If <button_state>
is not specied, two PASS THROUGH commands, each with button_state=0 and
button_state=1, will be created and being sent consecutively.
The “OK” response is sent immediately on receipt of AT+AVC command. On command
completion, an unsolicited message will be sent to the host in the form “AVPTC <n>,
<bd_addr>, <button_state>”. AVPTC means “AVrcp Pass Through Conrmation”.
Parameter n indicates the command’s status:
‘n’=0: successful, command conrmation received from target
‘n’=1: timeout, target has not sent conrmation within the specied maximum time
‘n’=2: all other unsuccessful outcomes
Parameters:
<operation_id
hex
> (mandatory): see Table 3.20
<button_state> (optional) : ‘0’ - Button pushed
‘1’ - Button released
Response: <cr,lf>OK<cr,lf> (immediately)
And: <cr,lf>AVPTC <n>,<operation_id
hex
>,<button_state><cr,lf>
(after command completion)
If status n indicates an unsuccessful outcome,<operation_id
hex
> and <button_state> are omitted.
5.4 AVRCP – Target (TG)
This section describes AT Commands an S registers when BTM5xx is congured as an AVRCP
Target (S301=2). In this mode, BTM5xx supports one subunit PANEL (see [3]).
5.4.1 Incoming AVRCP Connection Request
An incoming AVRCP connection request is accepted automatically if a valid link key for the
paging device exists. If no link key is available, Secure Simple Pairing (SSP, BT2.1) or legacy
pairing (BT2.0 or earlier) is carried out, depending on the Bluetooth Version of the paging device.
After an AVRCP connection has been established, the module remains in AT command
mode. S Register 531 is ignored for AVRCP connections.
5.4.2 UNIT INFO Response
It is mandatory to respond to a UNIT INFO command if congured as AVRCP target.
Required response parameters are IEEE Company ID and a Unit Type.
The IEEE Company ID is a 24 bit integer which can be set via S Register 303.
The response is sent automatically with the company ID as per S303 and a xed unit
type of 0x09 (“Panel”).
5.4.3 SUBUNIT INFO Response
It is mandatory to respond to a SUBUNIT INFO command if congured as AVRCP target.
Required response parameters are Subunit type and MaxSubUnitId.
The response is sent automatically with a xed value of 0x09 (“Panel”) for parameter
Subunit type and a xed value of 0x00 for parameter MaxSubUnitId (only one subunit exists,
which is panel).
AT COMMAND SET
REFERENCE