38
www.lairdtech.com
Laird Technologies
BTM510/511
Bluetooth
®
Multimedia Module
Phase
Dev.
AT Command
Comment
Preparation
B
AT&F*
Restore factory default settings
A2DP profile is enabled per default in S102
ATS300=2
Enable Audio Source role
ATS515=$080400 Set A2DP device class (source)
AT&W
Store settings
ATZ
Reset
Initiate
Connection
B
AT+APD<BdAddr_
DevA>
Response:
“PAIR 0…” (pairing successful, A and B)
“CONNECT…” (connected, A and B)
Connected
Play music from the audio source
Music should be audible on the headphones/speakers. If not:
check audio output of the audio source (e.g., connect head
-
phones directly to audio source for a test)
Adjust
Volume
A
AT+GOU
Increment volume (audio output gain) by one
AT+GOD
Decrement volume (audio output gain) by one
B
AT+GIU
Increment volume (audio input gain) by one
AT+GID
Decrement volume (audio input gain) by one
Note: the audio input gain (A2DP source) is a critical setting
because the optimal setting cannot be verified by objective
means by the module itself.
Disconnect
A/B
AT+APH
Response “NO CARRIER 110D”: disconnection confirmed
T
able 3.14: A2DP Example 2 Command Sequence and Instructions
Figure 3.12: A2DP Example 2 – Preparation of Device A (Sink)
Figure 3.13: A2DP Example 2 – Preparation of Device B (Source)
AT COMMAND SET
REFERENCE