BT90X Bluetooth Audio Source Module Common AT Commands & Test Flow

- Jul 11, 2020-

Many customers are struggling to find the best Bluetooth module for audio source (transmitter) applications. Regarding to this, the FSC-BT90X series might be fair choices.

 

And from below guideline, you can easily get the A2DP & HFP testing started!

 

BT90X A2DP Source Test Flow

image

                                                  Chart 1  

From Chart 1, it shows the whole process of a basic test for the A2DP Source application. Which will be,

1, Send AT+PROFILE=83, Set the module to A2DP source mode.

2, Send AT+SCAN=1, Search for nearby devices.

3, Send AT+A2DPCONN=MAC, Connect to the A2DP sink device.

4, Send AT+A2DPAUDIO=1, Activate A2DP channel.

BT90X HFP Source Test Flow

image

                                           Chart 2

From Chart 2, it shows the whole process of a basic test for the HFP Master application. Which will be,

1, Send AT+PROFILE=83, Set the module to HFP source mode.

2, Send AT+SCAN=1, Search for nearby devices.

3, Send AT+HFPCONN=MAC, Connect to the HFP sink device.

4, Send AT+HFPAUDIO=1, Activate HFP channel.


And from below, you would find an AT command sheet for reference.

Command No.

AT Command

Description

1

AT+NAME

Query Bluetooth Device Name.

2

AT+NAME=feasycom

Change Bluetooth Name,’feasycom’ stands for the new device name.

3

AT+PIN

Query PIN Code.

4

AT+PIN=123456

Change PIN Code,'123456’ stands for the new PIN code.

5

AT+ADDR

Query Bluetooth MAC Address.

6

AT+VER

Query Firmware Version.

7

AT+BAUD

Query Baud Rate (Default Baud Rate 115200).

8

AT+BAUD=115200

Change Baud Rate,‘115200’

stands for the new Baud rate.

9

AT+REBOOT

Reboot.

10

AT+RESTORE

Restore To Default Settings, the module’s firmware will restore to factory default when receives this command.

11

AT+PAUSE

Pause.

12

AT+PLAY

PLAY.

13

AT+BACKWARD

Previous Song.

14

AT+FORWARD

Next Song.

15

AT+SPKVOL=X

Set Up Audio Volume,’X‘ ranges from 0 to 15,stands for sound volume, 16 steps in total.

16

AT+SPKVOL

Query Current Audio Volume.

17

AT+SPPSEND=6,123456

Send Data Through SPP Profile. ‘6‘ stands for the length of the data,'123456’ stands for the data.

18

AT+GATTSEND=6,123456

Send Data Through BLE Profile. ‘6‘ stands for the length of the data,'123456’ stands for the data.

19

AT+TPMODE

Query Transmission Mode (1 stands for throughput mode, 0 stands for AT command mode).

20

AT+TPMODE=1

Open Throughput Mode.

21

AT+TPMODE=0

Close Throughput Mode.

22

AT+PROFILE=83

Switch to Audio Source Mode.

23

AT+SCAN=1

Search for Nearby Bluetooth Devices.

24

AT+A2DPCONN=123456789

Connect to Nearby Bluetooth Device to establish A2DP connection, '123456789’ stands for the MAC address of the slave device

25

AT+HFPCONN=123456789

Connect to Nearby Bluetooth Device to establish HFP connection,'123456789‘ stands for the MAC address of the slave device

26

AT+A2DPAUDIO=1

Activate A2DP audio channel

27

AT+HFPAUDIO=1

Activate HFP voice audio channel

 

Looking for a Bluetooth module for audio transmit application? Please visit Bluetooth audio module to learn more~