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

BLE AT Command ← Feasycom’s BLE Module

 

 

 

 

B1001   AT     UART Communication Test

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

E) AT OK  

 

Example

 AT

 OK 

 

 

 

 

B1002   AT+VER     Read firmware version

Q) AT+VER

+VER=Param

OK

Param: Firmware version (15 Bytes ASCII)

 

Example

AT+VER

+VER=1.0.1,FSC-BT630

OK

 

 

 

 

B1003   AT+ADDR     Read MAC Address

Q) AT+ADDR

+ADDR=Param

OK

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

 

Example

AT+ADDR

+ADDR=DC0D300014ED

OK

 

 

 

 

B1004   AT+NAME     Read/Write Local Name

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

Q) AT+NAME

+NAME=Param

OK

Param: BLE local name (1~29 Bytes ASCII)
E) AT+NAME {=Param1{, Param2}} OK

Param1: BLE local name (1~29 Bytes ASCII, default: Feasycom)

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

(0)      Disable suffix

(1)      Enable suffix “-XXXX” (lower 4 bytes of MAC address) after 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

 

 

 

 

B1005   AT+BAUD     Read/Write Baud Rate

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, default:115200

 

 

 

 

B1006   AT+TPMODE      Turn On/Off Throughput Mode

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

 

Mode

Status

Operation
TPMODE=1

Disconnected

AT Command Works
Connected

AT Command doesn’t work

All the input data from UART is sent to the paired device transparently.

The device can’t receive any notification message.

TPMODE=0

Disconnected

AT cmd works always.

Connected

AT cmd works always.

Data can be sent by AT+LESEND

The device can receive a notification message always.

 

 

Q) AT+TPMODE

+TPMODE=Param

OK

 
E) AT+TPMODE{=Param}  

Param: Throughput Mode

(0)      Turn Off,  Default is 0

(1)      Turn On

 

Example

AT+TPMODE

+TPMODE=1

OK 

Read current throughput mode
Example

AT+TPMODE=0

OK

Turn off throughput mode

 

 

 

 

B1007   AT+LPM      Turn On/Off  Low Power Mode

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

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

(0) Turn Off, Default

(1) Turn On

 

 

 

B1008   AT+FLOWCTL      Turn On/Off  Hardware Flow Control

⊗ 이 명령은 현재 지원하고 있지 않습니다.

 

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

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

(0) Turn Off, Default

(1) Turn On

 

 

 

 

B1009   AT+ROLE   Read/Write Master/Slave Mode

After the command is executed, the BT6XX switches to the new Mode

⊕ 또는 설정을 따로 하지 않고 Master/Slave 역할로 사용할 수 있습니다.

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

Param: Master/Slave mode (0/1, default: 0)

(0)      Slave Mode(GATT Server), Default

(1)      Master Mode(GATT Client)

 

 

Example

AT+ROLE

+ROLE=0

OK

Read current Master/Slave mode

 

 

 

 

B1010   AT+PIOCFG     PIO Function Configuration

⊗ 이 명령은 특화 개발의 경우 지원 될 수 있는 명령입니다.

 

Q) AT+PIOCFG

+PIOCFG=Param1, Param2

OK

 
E) AT+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

 

Example  

 

 

 

 

B1011   AT+SCAN     Scan Nearby Devices

 

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

Param1

(0)      Stop scan

(1)      Scan nearby BLE devices

Param2

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

Param3

(1~25 Bytes ASCII) Name filter. Filter scan results with a name if set

 

 

Example

AT+SCAN=1

OK
+SCAN{

+SCAN=0,dd0d300013bf,-48,12,FSC-BT958-LE

+SCAN}

 

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

Read current throughput mode

 

 

 

 

B1012   AT+DISC     Release All Connections

Module release all Bluetooth connections with remote device

E) AT+DISC    

 

 

 

 

B1013   AT+REBOOT     Soft Reboot

Module release all Bluetooth connections with the remote device then reboot

E) AT+REBOOT    

 

 

 

 

B1014   AT+RESTORE      Restore Factory Settings

Module restore all factory settings then reboot

E) AT+RESTORE    

 

 

 

 

B1015   AT+LECCONN      Establish GATT Connection (GATT Client only)

If parameter 2, parameter 3, parameter 4 do not exist, the module will automatically search for the GATT service connected to the remote device

 

E)  AT+LECCONN=Param1{,Param2,

Param3,Param4}

 

Param1:MAC address of target device & MAC address type (13 Bytes ASCII) 

Param2: Service-UUID, Support 16 Bit and 128 Bit (4 Bytes/32 Bytes ASCII)

Param3: Write-UUID, Support 16 Bit and 128Bit (4 Bytes/32 Bytes ASCII)

Param4: Notify-UUID, Support 16 Bit and 128Bit (4 Bytes/32 Bytes ASCII)

 

Example

AT+LECCONN=123456ABCDEF0,

FFF0,FFF2,FFF1

OK

Specified remote device service connections

 

 

  

 

B1016   AT+LESEND      Send Data Via GATT

E) AT+LESEND=Param1,Param1,Param2  

Param1: Link channel (0~5)

Param2: Payload length (1~155)

Param3: Payload (1~155 Bytes, UTF8)

 

Example

+GATTSTAT=0,3

~

~

AT+LESEND=0,10,1234567890

OK

Notification when the device is connected to the master

 

 

Send data “1234567890” to a remote device via GATT

 

  Master는 “Notify” 특성으로 Slave가 보낸 데이터를 수신한다. 

 

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

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

 

www.simcom.com

 

Viewed Page List