페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages

General AT Command ← Bluetooth Dual-mode Module for Data Only

 

 

General Description Modules
B2101 AT UART Communication Test  
B2102 AT+VER Read firmware version  
B2103 AT+ADDR Read BR/EDR MAC Address  
B2104 AT+LEADDR Read BLE MAC Address  
B2105 AT+NAME Read/Write BR/EDR Local Name  
B2106 AT+LENAME Read/Write BLE Local Name  
B2107 AT+PIN Read/Write PIN Code  
B2108 AT+SSP Turn On/Off Secure Simple Pairing <need reboot>  
B2109 AT+BAUD Read/Write Baud Rate  
B2110 AT+COD Read/Write Class Of Device <need reboot>  
B2111 AT+MODE Read/Write Run Mode  
B2112 AT+PLIST Read/Clear Paired Record  
B2113 AT+TPMODE Turn On/Off Throughput Mode  
B2114 AT+LPM Turn On/Off Low Power Mode  
B2115 AT+FLOWCTL Turn On/Off Hardware Flow Control <need reboot>  
B2116 AT+AUTOCONN Turn On/Off Power On Auto Reconnect <need reboot>  
B2117 AT+DSCA Release All Connections  
B2118 AT+REBOOT Soft Reboot  
B2119 AT+RESTORE Restore Factory Settings  
B2120 AT+SCAN Scan Nearby Devices  
B2121 AT+PIOCFG PIO Function Configuration  

 

 

 

 

B2101   AT     UART Communication Test

Test the UART communication between HOST and Module after power-on.

E) AT OK  

 

Example

 AT

 OK 

 

 

 

 

B2102   AT+VER     Read firmware version

Q) AT+VER

+VER=Param

OK

Param: Firmware version (16 Bytes ASCII)

 

Example

AT+VER

+VER=8.3.1,FSC-BT816S

OK

Read module’s firmware version

 

 

 

B2103   AT+ADDR     Read ER/BDR MAC Address

Q) AT+ADDR

+ADDR=Param

OK

Param: Module’s BR/EDR MAC address (12 Bytes ASCII)

 

Example

AT+ADDR

+ADDR=DC0D30123456

OK

Read Module’s BR/EDR MAC address

 

 

 

B2104   AT+LEADDR     Read BLE MAC Address

Q) AT+LEADDR

+LEADDR=Param

OK

Param: Module’s BLE MAC address (12 Bytes ASCII)

 

Example AT+LEADDR
+LEADDR=DD0D30123456
OK
Read Module’s BLE MAC address

 

 

 

B2105   AT+NAME     Read/Write BR/EDR Local Name

Write local name if parameter exists, otherwise read the current local name.

Q) AT+NAME

+NAME=Param

OK

 
E) AT+NAME {=Param1{, Param2}} OK

Param1:BR/EDR local name (1~31 Bytes ASCII)

Param2: MAC address suffix (0/1, default:1)

(0)     Disable suffix

(1)     Enable suffix “-XXXX” (lower 4 bytes of MAC address) after the local name

 

Example

AT+NAME

NAME=Feasycom

OK

Read current local name
Example

AT+NAME=ABC

OK

Change module’s local name to “ABC”
Example

AT+NAME=ABC,1

OK

Change module’s local name to “ABC” and enable suffix

 

 

 

B2106   AT+LENAME     Read/Write BLE Local Name

Write the local name if the parameter exists, otherwise read the current local name.

Q) AT+LENAME

+LENAME=Param

OK

 
E) AT+LENAME {=Param1{, Param2}} OK

Param1: BLE local name (1~25 Bytes ASCII)

Param2: MAC address suffix (0/1, default:1)

(0) Disable suffix

(1)     Enable suffix “-XXXX” (lower 4 bytes of MAC address) after the local name

 

Example AT+LENAME
+LENAME=Feasycom-LE
OK
Read current BLE local name
Example

AT+LENAME=ABC

OK

Change module’s BLE local name to “ABC”
Example

AT+LENAME=ABC,1

OK

Change module’s BLE local name to “ABC” and enable suffix

 

 

 

B2107   AT+PIN     Read/Write PIN Code

Q) AT+PIN

+PIN=Param

OK

 
E) AT+PIN{=Param}   Param: Pin code (4~15 Bytes ASCII, default:0000)

 

Example


AT+PIN

+PIN=0000

OK

Read module’s pin code

AT+PIN=1234

OK

Change module’s pin code to “1234”

아래에 있는 AT+SSP 명령으로 PIN 코드와 관련된 Pairing 절차를 설정할  수 있다.

 

 

 

B2108   AT+SSP     Turn On/Off Secure Simple Pairing  <need reboot>

Pin code input will be bypassed if the simple pairing is on in the pairing procedure

Q) AT+SSP

+SSP=Param

OK

 
E) AT+SSP{=Param}  

Param: Simple pairing (0/1, default:1)

(0)     Turn Off

(1)     Turn On

 

 

 

B2109   AT+BAUD     Read/Write Baud Rate

The module’s baud rate will be changed immediately after receiving this command

 

Q) AT+BAUD

+BAUD=Param

OK

 
E) AT+BAUD{=Param}  

Param: 1200/2400/4800/9600/19200/38400/57600/115200/

230400/460800/921600, default:115200)

 

 

 

B2110   AT+COD     Read/Clear Paired Record

Pin code input will be bypassed if the simple pairing is on in the pairing procedure

Q) AT+COD

+COD=Param

OK

 
E) AT+COD{=Param}  

Param: Class of the device (6 bytes ASCII, default:240404 Handsfree device)

 

 

 

B2111   AT+MODE     Read/Write Run Mode

After the command is executed, the BT8XX switches to the new Run Mode.

Q) AT+ MODE

+SSP=Param

OK

 
E) AT+ MODE{=Param}   Param: Run Mode (1~4, default:4)
(1)  SPP Mode(2) HID Mode
(3)  BLE Mode
(4)  SPP+BLE Mode

 

Example

AT+MODE

+MODE=4

OK

Read current Run Mode
Example

AT+MODE=2

OK

Change module’s Run Mode to HID Mode

 

 

 

B2112   AT+PLIST      Read/Clear Paired Record

When GATT profile is connected and throughput mode is on,

the AT command will be de-active, every byte received via physical UART will be sent to air, vice visa

Q) AT+PLIST

+PLIST= {

+PLIST=Param1, Param2

+PLIST=}

Param1: (1~8) Paired device’s index

Param2: (MAC) Paired device’s MAC address

E) AT+PLIST{=Param}  

Param: (0/(1~8)/12 Bytes MAC Address 

(0)    Clear all paired record

(1~8)     Clear specific paired record  with index

(MAC) Clear specific paired record with MAC address

 

Example

AT+PLIST

+PLIST= {

+PLIST=1,1C5CF226D773

+PLIST=2, A0BC30075421
+PLIST=}
OK

Read module’s paired record
Example

AT+PLIST=0

OK

Clear module’s paired record

 

 

 

B2113   AT+TPMODE      Turn On/Off Throughput Mode <Need Reboot>

When SPP/HID/GATT profile is connected and throughput mode is on, the AT command will be de-active,

every byte received via physical UART will be sent to air, and vice visa.

 

Q) AT+TPMODE

+TPMODE=Param

OK

 
E) AT+TPMODE{=Param}  

Param: Throughput Mode(Default is 0)

(0)      Turn Off

(1)      Turn On

 

Example

AT+TPMODE

+TPMODE=1

OK 

Read current throughput mode
Example

AT+TPMODE=0

OK

Turn off throughput mode

 

 

 

B2114   AT+LPM      Turn On/Off  Low Power Mode

This instruction is only applicable to BT816S module

Q) AT+LPM +LPM=Param  
E) AT+LPM{=Param}  

Param: Low Power MODE (0/1, Default: 0)

(0) Turn Off

(1) Turn On

 

Example AT+LPM
+LPM=0
OK
Read current Low Power Mode
Example AT+LPM=1
OK
Turn on Low Power Mode

 

 

 

B2115   AT+FLOWCTL      Turn On/Off  Hardware Flow Control <need reboot>

Q) AT+FLOWCTL +FLOWCTL=Param  
E) AT+FLOWCTL{=Param}  

Param: Hardware Flow Control (0/1, default: 1)

(0) Turn Off

(1) Turn On

 

 

 

B2116   AT+AUTOCONN      Turn On/Off Power On Auto Reconnect <need reboot>

The module will attempt to connect the last device after power on if set and +MODE=1/+MODE=2

Q) AT+AUTOCONN +AUTOCONN=Param  
E) AT+AUTOCONN{=Param}  

Param: Option (0~15, default:1)

(0)    Turn Off

(1-15)     Turn on and reconnect times

 

 

 

B2117   AT+DSCA     Release All Connections

Module release all Bluetooth connections with remote device

E) AT+ DSCA    

 

 

 

B2118   AT+REBOOT     Soft Reboot

Module release all Bluetooth connections with the remote device then reboot

E) AT+REBOOT    

 

 

 

B2119   AT+RESTORE      Restore Factory Settings

Module restore all factory settings then reboot

E) AT+RESTORE    

 

 

 

B2120   AT+SCAN     Scan Nearby Devices

Refer to the “Indication Table” page for a format description of scan results.

Q) AT+SCAN    
E) AT+SCAN =Param1{, Param2{, Param3}}  

Param1:(0 ~2)

(0) Stop scan
(1) Scan nearby BR/EDR devices
(2) Scan nearby BLE devices

Param2:(1~48) Scan period. unit:1.28s, default:12.8s

 

Example

AT+SCAN=1

OK

+SCAN={

+SCAN=1,2,DC0D30000F7D,-21,14,FSC-BT955-0F7D

+SCAN=2,2,AC8995D9D1C4,-66,19,BeoSound 1_27168461

+SCAN=}

 

Scan 중에 AT+SCAN=0으로 Scan을 멈출 수 있다.

 

Read module’s pin code

 

 

 

 

B2121   AT+PIOCFG      PIO Function Configuration

Disconnect all devices connected and put module enter unconnectable and undiscoverable state.

Always effective even reboot

E) AT+ PIOCFG{=Param1,Param2} +PIOCFG=Param1,Param2

Param1

0:     Disable Command/Transmission mode switch function
1:     Enable Command/Transmission mode switch function

Param2
0:     Disable Bluetooth disconnect function

1:     Enable Bluetooth disconnect function

 

 

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT/GNSS

 

www.simcom.com

 

Viewed Page List