A2DP/AVRCP Indications
1. A2DP State
Format: +A2DPSTAT=Param
Param | Indication |
Param:(0~4) |
0 Unsupported 1 Standby2 Connecting 3 Connected 4 Streaming |
2. A2DP Device Information
Format: +A2DPDEV=Param
Param | Indication |
Param |
12 Bytes ASCII, Remote device’s MAC address of current A2DP connection |
3. AVRCP State
Format: +AVRCPSTAT=Param
Param | Indication |
Param(0~3) |
0 Unsupported 1 Standby 2 Connecting 3 Connected |
4. Media Player State
Format: +PLAYSTAT=Param
Param | Indication |
Param(0~4) |
0 Stopped 1 Playing 2 Paused 3 Fast Forwarding 4 Fast Rewinding |
5. Media Player State
Format: +TRACKSTAT=Param1, Param2, Param3
Param | Indication |
Param1:(0~4) |
Media Player State |
Param2 |
Decimal ASCII, Elapsed time of current track in second |
Param3 |
Decimal ASCII, Total time of current track in second |
Example |
Read media player play progress every 3s AT+AVRCPCFG=7 |