FSC-BT910x Printer Multi-link AT Command Set
Introduction
Description
This design guide is suitable for engineers to develop FSC-BT910x Series Bluetooth module
Module Default Settings
Name |
<Model_Number>
Example: FSC-BT9101
|
LE-Name |
<Model_Number>
Example: FSC-BT9101
|
Pin Code |
0000 |
Secure Simple Pairing Mode |
OFF |
Service UUID |
18F0 |
Write UUID |
2AF1 |
Notify UUID |
2AF0 |
UART Baudrate |
115200/8/N/1 |
Command Description
Terms
This applies to the entire document
This version of the instructions is suitable for printer multi-Link application.
{} : This includes a link with {…} is optional.
<< : From the host to the module COMMAND .
>> : The module replies to the host RESPONSE/EVENT .
Command
Commands are control instructions actively sent by the host to the module; after receiving the commands, the module shall respond with <CR><LF>OK<CR><LF> as reply.
Command Format
AT+Command{=Param1{,Param2{,Param3...}}}<CR><LF>
All instructions start with AT and end with <CR><LF>
<CR> stands for carriage return, corresponding to HEX 0x0D
<LF> represents a newline character, corresponding to HEX 0x0A
If the instruction contains parameters, the parameters should be separated from the instruction using =
If the instruction contains multiple subparameters, the parameters should be separated by ,
If a response is returned, the response starts with <CR><LF> and ends with <CR><LF>
Module will always report command’s execution result by using OK for success or ERROR for failure
Example:Read the module Bluetooth name
Send: <<AT+NAME<CR><LF>
Response: >><CR><LF>+NAME=FSC-BT9101<CR><LF>
Response:>><CR><LF>OK<CR><LF>
Write an unsupported baud rate
Send: <<AT+BAUD=0<CR><LF>
Response: >><CR><LF>ERROR<CR><LF>
Commands Table
General Command
AT+HELP - Get firmware function and command description
Command |
AT+HELP |
Response |
[General]:Main instructions.
[Misc]:reset instruction.
|
Description |
Use the help command to get all the instructions |
AT - UART Communication Test
Command |
AT |
Response |
OK |
Description |
Test the UART communication between the host and the module when the power
is on or the baud rate is changed.If you reply OK, it means that the communication
is normal. If you do not reply, you need to find out the reason.
|
AT+REBOOT - Soft Reboot
Command |
AT+REBOOT |
Response |
OK |
Description |
The module will undergo a software reset |
AT+RESTORE - Restore Factory Settings
Command |
AT+RESTORE |
Response |
OK |
Description |
Module restore all factory settings then reboot |
AT+NAME - Get/Set BR/EDR Local Name
Command |
AT+NAME{=Param{,Param1}} |
|
BR/EDR Bluetooth name(1~31 Bytes ASCII) |
|
Enable MAC address suffix(0~1,default:0)
0: Disable suffix
1: Enable suffix“XXXX”(lower 4 bytes of MAC address)
|
Response |
+NAME=Param |
|
Bluetooth name |
Description |
Write local name if parameter exist, otherwise read current local name |
AT+LENAME - Get/Set BLE Local Name
Command |
AT+LENAME{=Param{,Param1}} |
|
BLE local name(1~31 Bytes ASCII) |
|
Enable MAC address suffix(0~1,default:0)
0: Disable suffix
1: Enable suffix“XXXX”(lower 4 bytes of MAC address)
|
Response |
+LENAME=Param |
|
BLE local name |
Note |
This command temporarily cannot be used to set the BLE local name independently.
If you need to enable this function, please contact FEASYCOM: Contact Information
|
AT+PIN - Get/Set BR/EDR Pin Code
Command |
AT+PIN{=Param} |
|
Pin code(4~15 Bytes ASCII, default:0000) |
Response |
+PIN=Param |
Note |
When + SSP = 0 and open security verification, pairing password is effective
Reference AT+SSP
|
AT+ADDR - Get BR/EDR MAC Address
Command |
AT+ADDR |
Response |
+ADDR=Param |
|
Module’s BR/EDR MAC address (12 Bytes ASCII) |
AT+LEADDR - Get BLE MAC Address
Command |
AT+LEADDR |
Response |
+LEADDR=Param |
|
Module’s LE MAC address (12 Bytes ASCII) |
Note |
The default BLE bluetooth address consistent with BR/EDR bluetooth address
If you need to change the BLE address to be inconsistent with BR/EDR Bluetooth
please refer to AT+SAMEADDR
|
AT+PLIST - Read/clear paired records
Command |
AT+PLIST{=Param} |
|
(0 / 1~8)
(0) Clear all paired record
(1~8) Clears the matched records for the specified index
|
Response |
+PLIST=Param, Param1 |
|
(1~8) Paired device’s index |
|
(MAC)Paired device’s MAC address |
Description |
If parameters exist, delete the corresponding pairing information;
otherwise, just read the pairing list.
|
AT+BAUD - Get/Set UART Baudrate
Command |
AT+BAUD{=Param} |
|
Baud rate(9600/19200/38400/57600/115200/
230400/460800/921600/128000/256000/512000, default:115200)
|
Response |
+BAUD=Param |
|
Baud rate |
Description |
The module will switch the baud rate as soon as it receives this instruction. |
Note |
After sending command to set the baud rate,
please switch the set baud rate and then communicate with the module.
|
AT+SAMEADDR - Whether EDR and BLE use the same address
Command |
AT+SAMEADDR{=Param} |
|
(0/1, default: 1)
0: use a different address
1: use the same address
|
Response |
+SAMEADDR=Param |
|
Whether to use the same address |
Description |
Set/query whether SPP·BLE uses the same address |
AT+VER - Get Firmware Version
Command |
AT+VER |
Response |
+VER{=Param,Param1} |
|
firmware version |
|
module model |
Description |
Get the version number and module model |
AT+COD - Get/Set Device Class
Command |
AT+COD=Param |
|
Class of device(6 bytes ASCII, default:040680 printer device) |
Response |
+COD=Param |
Note |
The module needs to be restarted for it to take effect. |
Related Configuration References COD.
AT+INITDLY - Initialization delay of a Bluetooth device after it is powered on
Command |
AT+INITDLY{=Param} |
|
Initialization delay after power on (default: 0)
|
Response |
+INITDLY=Param |
|
Time delay after power on
|
Description |
This directive can set and query the delay time, the default is no delay. |
AT+FLOWCTL - Open/close serial port flow control
Command |
AT+FLOWCTL{=Param1} |
|
parameter(0~1,default:1)
0:close the flow control
1: Open the flow control
|
Response |
+FLOWCTL=Param |
Description |
Open/close serial port flow control |
AT+SSP - Get/Set BR/EDR Pairing Mode
Command |
AT+SSP{=Param} |
|
Pairing mode (0~1, default:0) 0: close SSP 1: open SSP |
Response |
+SSP=Param |
Description |
Default is to close the safe simple pairing |
Note |
Restart takes effect |
AT+MODE - Get/Set Bluetooth mode
Command |
AT+MODE{=Param} |
|
Pairing mode (1~3, default:3)
(1) EDR PROFILE
(2) BLE PROFILE
(3) EDR/BLE PROFILE
|
Response |
+MODE=Param |
Note |
Restart takes effect |
AT+SECURITY - Open/Close security validation
Command |
AT+SECURITY{=Param} |
|
Mode(0~3,default:0)
0: Security validation is not enabled
1: Enable EDR security validation
2: Enable BLE security validation
3: Enable EDR/BLE security validation
|
Response |
+SECURITY=Param |
Description |
Turn on/off security validation |
Note |
Restart takes effect |
AT+TXPOWER - Get/Set TXPOWER
Command |
AT+TXPOWER{=Param} |
|
TXPOWER(0~6,default:3)
0: -12dBm
1: -8dBm
2: -4dBm
3: 0dBm
4: 4dBm
5: 8dBm
6: 10dBm
|
Response |
+TXPOWER=Param |
|
TXPOWER |
Description |
Restart takes effect |
AT+ADVADDR - Open/Close the broadcast address
Command |
AT+ADVADDR{=Param} |
|
Mode (0 to 1, default:0);0: Off broadcast address;1: On broadcast address |
Response |
+ADVADDR=Param |
Description |
Turn on/off the broadcast module address |
Note |
Restart takes effect |
AT+HSM - Enable/Disable high speed mode
Command |
AT+HSM{=Param} |
|
Mode (0-1; default:0)
0: Bluetooth communication uses standard speed.
1: Bluetooth communication uses higher speed.
|
Response |
+HSM=Param |
Description |
Turn on/off high speed mode |
Note |
The high-speed mode supports one BLE connection and one SPP connection. |
AT+SCM - Enable/Disable short connections
Command |
AT+SCM{=Param} |
|
Mode (0-1, default :0)
0: Disable short connections
1: Enable short connections.
|
Response |
+SCM=Param |
Description |
Turn on/off short connections |
Note |
Short connection supports 1 SPP connection. |
AT+CONNMODE - Get/Set whether multiple apps can connect
Command |
AT+CONNMODE{=Param} |
|
Mode(0~1,default:0) |
Response |
+CONNMODE=Param |
Description |
0: Enable multiple phones to be connected, and multiple
applications can be connected in one phone.
1: Only enable connecting multiple phones, not connecting
multiple applications within a phone.
|
AT+STATE - Get/Set status of Bluetooth device
Command |
AT+STATE{=Param} |
|
Mode (0-3, default :3) |
Response |
+STATE=Param |
Description |
0:Device cannot be found by other devices, nor can it be connected by other devices
1:Device cannot be found by other devices, but it can be connected by other devices
2:Devices can be found by other devices and cannot be connected by other devices
3:Devices can be discovered and connected by other devices
|
AT+MSC - Get/Set the maximum number of SPP connections
Command |
AT+MSC{=Param} |
|
Mode (1-7, default :7) |
Response |
+MSC=Param |
Description |
Get/Set the maximum number of SPP connections,
the maximum is no more than 7, the minimum is 1.
|
AT+PIOCFG - Enable/Disable the IO Port Control Module
Command |
AT+PIOCFG{=Param,Param1} |
|
Mode (0/1, default: 1) Switching pin for command and transparent |
|
Parameter (0/1, default: 1) Disconnecting connection pin |
Response |
+PIOCFG=Param,Param1 |
Description |
Enable the functions of the relevant pins |
AT+CLOSEAT - Disable in-flight instructions
Command |
AT+CLOSEAT |
Response |
NULL |
Description |
Turn off the airborne command mode. |
AT+IBEACON - Enable/Disable ibeacon broadcasting
Command |
AT+IBEACON{=Param} |
|
Mode (0-1, default 1)
0: Turn off the ibeacon broadcast
1: Enable ibeacon broadcasting.
|
Response |
+IBEACON=Param |
Description |
Turn on/off ibeacon broadcasting |
Note |
Broadcast length limit: After enabling iBeacon broadcast,
other broadcasts will not be visible.
|
AT+ADVDATA - Get/Set BLE broadcast 0xFF data
Command |
AT+ADVDATA{=Param} |
|
Vendor-defined broadcast data (data length up to 26) |
Response |
+ADVDATA=Param |
|
Broadcast data with tag 0xFF |
Description |
The vendor defines the broadcast data tag as 0xFF |
Note |
If you need to broadcast custom data through the module,
please set AT+IBEACON=1 and then set the custom broadcast number.
|
AT+PCPT - Get/Set printer channel unlock time
Command |
AT+PCPT{=Param} |
|
Unlock time (default :1500ms) |
Response |
+PCPT=Param |
Description |
The time interval during which the data module of the mobile phone receives
data when multiple mobile phones are connected
|
Application and Development
Please refer to:
This guide is intended to provide technical support and resource references for the product development and mass production based on FSC-BT910x series modules. It includes hardware design references, functional description, quick development kits, quick start, obtain firmware version, typical application development examples, and firmware upgrade methods, etc.
Contact Information
Shenzhen Feasycom Co.,Ltd.
Address : Rm 508, Building, Fenghuang Zhigu, NO.50, Tiezai Road, Xixiang, Baoan Dist, Shenzhen, 518100, China.
Telphone : 86-755-23062695
Sales Service : sales@feasycom.com
Support : support@feasycom.com
Home Page : www.feasycom.com
Support Forum : forum.feasycom.com