FSC-BT2064
2.0

Contents:

  • FSC-BT2064 Printer Multi-link AT Command Set
    • Description
      • Module default configuration
    • AT Command Description
      • Specification Description
      • Command
      • Command Format
    • Command Table
      • General Commands
        • AT+HELP - Query firmware functions and command descriptions
        • AT - UART Communication Test
        • AT+REBOOT - Software Reset
        • AT+RESTORE - Restore Factory Settings
        • AT+NAME - Read/Write BR/EDR Bluetooth Name
        • AT+LENAME - Read/Write BLE Bluetooth Name
        • AT+PIN - Read/Write Pairing Password
        • AT+ADDR - Read BR/EDR Bluetooth MAC Address
        • AT+LEADDR - Read BLE Bluetooth MAC Address
        • AT+PLIST - Read/Clear Pairing Records
        • AT+BAUD - Read/Write UART Baud Rate
        • AT+SAMEADDR - Set/Query Whether SPP·BLE Use the Same Address
        • AT+VER - Read Firmware Version
        • AT+COD - Read/Write Device Class
        • AT+INITDLY - Initialization Delay After Bluetooth Device Power-On
        • AT+FLOWCTL - Enable/Disable UART Flow Control
        • AT+SSP - Read/Write BR/EDR Pairing Mode
        • AT+MODE - Read/Write Bluetooth PROFILE
        • AT+SECURITY - Enable/Disable Security Authentication
        • AT+TXPOWER - Read/Write Transmit Power
        • AT+ADVADDR - Enable/Disable Broadcast Address
        • AT+HSM - Enable/Disable High-Speed Mode
        • AT+SCM - Enable/Disable Short Connection Mode
        • AT+CONNMODE - Set/Query Connection Mode
        • AT+STATE - Set/Query Bluetooth Device State
        • AT+MSC - Set/Query Maximum SPP Connections
        • AT+PIOCFG - Enable/Disable IO Port Control Module
        • AT+CLOSEAT - Disable Over-the-Air (OTA) Command Mode
        • AT+IBEACON - Enable/Disable iBeacon Broadcasting
        • AT+ADVDATA - Read/Write BLE Broadcast Data with Tag 0xFF
        • AT+PCPT - Query/Modify Printer Channel Unlock Time
    • Contact Information
    • Appendix
      • PDF Download
FSC-BT2064
  • FSC-BT2064 Printer Multi-link AT Command Set

FSC-BT2064 Printer Multi-link AT Command Set

[中文版]

Description

This guide is intended for engineers developing the FSC-BT2064 series of Bluetooth modules.

Module default configuration

Name

FSC-BT2064

LE-Name

FSC-BT2064

PIN Code

0000

Secure Simple Pairing Mode

OFF

Service UUID

18F0

Write UUID

2AF1

Notify UUID

2AF0

UART Baudrate

115200/8/N/1

AT Command Description

Specification Description

Applicable to the entire document

  • {} : Including content in {…} is optional

  • << : COMMAND sent by the host to the module

  • >> : Module responds to the host’s RESPONSE/EVENT

Command

The command is a control instruction actively sent by the host to the module. After receiving the command, the module needs to reply with <CR><LF>OK<CR><LF> as an acknowledgment.

Command Format

AT+Command{=Param1{,Param2{,Param3...}}}<CR><LF>
  • All instructions start with AT,and end with <CR><LF>

  • <CR> represents carriage return, corresponding to HEX as 0x0D

  • <LF> represents a line break, corresponding to HEX as 0x0A

  • If the instruction contains parameters, the parameters should be separated by =

  • If the instruction contains multiple parameters, the parameters should be separated by ,

  • If the instruction returns a response, the response starts with <CR><LF>, ends with <CR><LF>

  • The module should always return the result of instruction execution (success returns OK,failure returns ERROR)

Example:Read module Bluetooth name

Send: <<AT+NAME<CR><LF>
Response: >><CR><LF>+NAME=FSC-BT2064<CR><LF>
Response:>><CR><LF>OK<CR><LF>

Write unsupported Baud rate

Send: <<AT+BAUD=0<CR><LF>
Response: >><CR><LF>ERROR<CR><LF>

Command Table

General Commands

AT+HELP - Query firmware functions and command descriptions

Command

AT+HELP

Response

[General]:Main commands.
[Misc]:Reset command.

Description

Use the help command to get all instructions

AT - UART Communication Test

Command

AT

Response

OK

Description

Test UART communication between host and module upon power-up or Baud rate change

Example:
<< AT
>> OK

AT+REBOOT - Software Reset

Command

AT+REBOOT

Response

OK

Description

The module will perform a reset

Example:
<< AT+REBOOT
>> OK

AT+RESTORE - Restore Factory Settings

Command

AT+RESTORE

Response

OK

Description

The module will restore to factory default settings

Example:
<< AT+RESTORE
>> OK

AT+NAME - Read/Write BR/EDR Bluetooth Name

Command

AT+NAME{=Param{,Param1}}

Param

BR/EDR Bluetooth name (1~31 Bytes ASCII)

Param1

Enable MAC address suffix (0~1, default: 0)
0: Disable suffix
1: Enable suffix “XXXX” (last 4 bytes of MAC address)

Response

+NAME=Param

Param

Bluetooth name

Description

Set the BR/EDR Bluetooth name; use sub-parameters to display the address suffix

Example:
Read BR/EDR Bluetooth name
<< AT+NAME
>> +NAME=FSC-BT2064
>> OK

Set BR/EDR Bluetooth name to “ABC” and automatically add address suffix
<< AT+NAME=ABC,1
>> OK

Set BR/EDR Bluetooth name and disable suffix
<< AT+NAME=ABC,0
>> OK

AT+LENAME - Read/Write BLE Bluetooth Name

Command

AT+LENAME{=Param{,Param1}}

Param

BLE Bluetooth name (1~31 Bytes ASCII)

Param1

Enable MAC address suffix (0~1, default: 0)
0: Disable suffix
1: Enable suffix “XXXX” (last 4 Bytes of MAC address)

Response

+LENAME=Param

Param

BLE Bluetooth 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 - Read/Write Pairing Password

Command

AT+PIN{=Param}

Param

Pairing password (4~15 Bytes ASCII, default: 0000)

Response

+PIN=Param

Note

When +SSP=1, Simple Secure Pairing (SSP) is performed without using a pairing code.
Refer to the AT+SSP command.
Example:
Query pairing password
<< AT+PIN
>> +PIN=0000
>> OK

Modify pairing password to 1234
<< AT+PIN=1234
>> OK

AT+ADDR - Read BR/EDR Bluetooth MAC Address

Command

AT+ADDR

Response

+ADDR=Param

Param

BR/EDR Bluetooth MAC address of the module (12 Bytes ASCII)

Example:
<< AT+ADDR
>> +ADDR=DC0D30010203
>> OK

AT+LEADDR - Read BLE Bluetooth MAC Address

Command

AT+LEADDR

Response

+LEADDR=Param

Param

BLE Bluetooth MAC address of the module (12 Bytes ASCII).

Note

By default, it is the same as the BR/EDR Bluetooth address.
For the reason, refer to the AT+SAMEADDR command.

AT+PLIST - Read/Clear Pairing Records

Command

AT+PLIST{=Param}

Param

(0 / 1~8) Parameter 0 or 1~8
(0) Clear all pairing records
(1~8) Clear the pairing record of the specified index

Response

+PLIST=Param, Param1

Param

(1~8) Paired device sequence number

Param1

(MAC) MAC address of the paired device

Description

If a parameter exists, delete the corresponding pairing information; otherwise, only read the pairing list

Example: Read the module’s pairing records
<< AT+PLIST
>> +PLIST=1,1C5CF226D773
+PLIST=2,A0BC30075421
>> OK

Example: Clear all pairing records of the module
<< AT+PLIST=0
>> OK

AT+BAUD - Read/Write UART Baud Rate

Command

AT+BAUD{=Param}

Param

Baud rate (9600/19200/38400/57600/115200/
230400/460800/921600/128000/256000/512000, default: 115200)

Response

+BAUD=Param

Param

Baud rate

Description

The module will switch the Baud rate after receiving this command

Note

After sending the Baud rate setting command, please switch to the set UART Baud rate before communicating with the module

Example:
Read Baud rate
<< AT+BAUD
>> +BAUD=115200
>> OK

Set Baud rate
<< AT+BAUD=230400
>> OK

AT+SAMEADDR - Set/Query Whether SPP·BLE Use the Same Address

Command

AT+SAMEADDR{=Param}

Param

Mode (0/1, default: 1)
0: Different addresses
1: Same address

Response

+SAMEADDR=Param

Param

Setting of whether to use the same address

Description

Set/query whether SPP·BLE use the same address

AT+VER - Read Firmware Version

Command

AT+VER

Response

+VER{=Param,Param1}

Param

Firmware version

Param1

Module model

Description

Read the version number and module model

Example:
<< AT+VER
>> +VER=8.6.5,FSC-BT2064
>> OK

AT+COD - Read/Write Device Class

Command

AT+COD=Param

Param

Device class (6 bytes ASCII, default: 040680 printer device)

Response

+COD=Param

Note

After modifying the COD, the module needs to be restarted to reset the COD

Related configuration reference COD.

AT+INITDLY - Initialization Delay After Bluetooth Device Power-On

Command

AT+INITDLY{=Param}

Param

Initialization delay after power-on (default: 0)

Response

+INITDLY=Param

Param

Delay time after power-on

Description

This command can set and query the delay time; the default is no delay.

AT+FLOWCTL - Enable/Disable UART Flow Control

Command

AT+FLOWCTL{=Param1}

Param1

Parameter (0~1, default: 1) 0: Disable flow control 1: Enable flow control

Response

+FLOWCTL=Param

Description

Enable/disable UART flow control

Example:
<< AT+FLOWCTL
>> +FLOWCTL=1
>> OK

AT+SSP - Read/Write BR/EDR Pairing Mode

Command

AT+SSP{=Param}

Param

Mode (0~1, default: 0) 0: Disable SSP 1: Enable SSP

Response

+SSP=Param

Description

Simple Secure Pairing (SSP) is disabled by default

Note

Takes effect after restart

AT+MODE - Read/Write Bluetooth PROFILE

Command

AT+MODE{=Param}

Param

Mode (1~3, default: 3)
(1) EDR PROFILE
(2) BLE PROFILE
(3) EDR/BLE PROFILE

Response

+MODE=Param

Note

Takes effect after restart

AT+SECURITY - Enable/Disable Security Authentication

Command

AT+SECURITY{=Param}

Param

Mode (0~3, default: 0)
0: Disable security authentication
1: Enable EDR security authentication
2: Enable BLE security authentication
3: Enable EDR/BLE security authentication

Response

+SECURITY=Param

Description

Enable or disable security authentication to improve the security level during pairing and connection

Note

Takes effect after restart

Example:
Set to enable EDR security authentication
<< AT+SECURITY=1
>> OK

Get security authentication information
<< AT+SECURITY
>> +SECURITY=1
>> OK

AT+TXPOWER - Read/Write Transmit Power

Command

AT+TXPOWER{=Param}

Param

Transmit power (0~6, default: 3)
0: -12dBm
1: -8dBm
2: -4dBm
3: 0dBm
4: 4dBm
5: 8dBm
6: 10dBm

Response

+TXPOWER=Param

Param

Transmit power

Description

Modify the transmit power; takes effect after restart

Example:
Read transmit power
<< AT+TXPOWER
>> +TXPOWER=3
>> OK

Set transmit power to 10dBm
<< AT+TXPOWER=6
>> OK

AT+ADVADDR - Enable/Disable Broadcast Address

Command

AT+ADVADDR{=Param}

Param

Mode (0~1, default: 0) 0: Disable broadcast address 1: Enable broadcast address

Response

+ADVADDR=Param

Description

Enable/disable broadcasting the module address

Note

Takes effect after restart

AT+HSM - Enable/Disable High-Speed Mode

Command

AT+HSM{=Param}

Param

Mode (0~1, default: 0)
0: Bluetooth communication uses standard speed 1: Bluetooth communication uses higher speed

Response

+HSM=Param

Description

Enable/disable high-speed mode

Note

High-speed mode supports 1 BLE and 1 SPP connection

AT+SCM - Enable/Disable Short Connection Mode

Command

AT+SCM{=Param}

Param

Mode (0~1, default: 0) 0: Disable short connection 1: Enable short connection

Response

+SCM=Param

Description

Enable/disable short connection mode

Note

Short connection mode supports 1 SPP connection

AT+CONNMODE - Set/Query Connection Mode

Command

AT+CONNMODE{=Param}

Param

Mode (0~1, default: 0)

Response

+CONNMODE=Param

Description

0: Enable multi-phone connection and support multiple applications connecting within one phone
1: Only enable multi-phone connection; do not support multiple applications connecting within one phone

AT+STATE - Set/Query Bluetooth Device State

Command

AT+STATE{=Param}

Param

Mode (0~3, default: 3)

Response

+STATE=Param

Description

0: The device is not discoverable and not connectable by other devices.
1: The device is not discoverable but connectable by other devices.
2: The device is discoverable but not connectable by other devices.
3: The device is discoverable and connectable by other devices.

AT+MSC - Set/Query Maximum SPP Connections

Command

AT+MSC{=Param}

Param

Parameter (1~7, default: 7)

Response

+MSC=Param

Description

Set/query the maximum number of SPP connections; the maximum shall not exceed 7, and the minimum is 1

AT+PIOCFG - Enable/Disable IO Port Control Module

Command

AT+PIOCFG{=Param,Param1}

Param

Mode (0/1, default: 1) Pin for switching between command and transparent transmission data

Param1

Parameter (0/1, default: 1) Disconnection pin

Response

+PIOCFG=Param,Param1

Description

Enable related pin functions

Example:
Get IO port enable status
<< AT+PIOCFG
>> +PIOCFG=1,1
>> OK

Set IO port configuration
<< AT+PIOCFG=0,0
>> OK

AT+CLOSEAT - Disable Over-the-Air (OTA) Command Mode

Command

AT+CLOSEAT

Response

NULL

Description

Disable OTA command mode; return error if not in OTA command mode

AT+IBEACON - Enable/Disable iBeacon Broadcasting

Command

AT+IBEACON{=Param}

Param

Mode (0~1, default: 0)
0: Disable iBeacon broadcasting
1: Enable iBeacon broadcasting

Response

+IBEACON=Param

Description

Enable/disable iBeacon broadcasting

Note

Broadcast length limit; other broadcasts are invisible after enabling iBeacon broadcasting

Enable iBeacon Broadcasting
<< AT+IBEACON=1
>> OK
Example:
After enabling iBeacon broadcasting
Query iBeacon broadcast-related information, including UUID, Major, Minor, and 1m distance measurement signal value
<< AT+IBEACON
>> +IBEACON=FDA50693A4E24FB1AFCFC6EB07647825,10065,26049,-58
>> OK

AT+ADVDATA - Read/Write BLE Broadcast Data with Tag 0xFF

Command

AT+ADVDATA{=Param}

Param

Manufacturer-defined broadcast data (data length not exceeding 26 bytes)

Response

+ADVDATA=Param

Param

Broadcast data with tag 0xFF

Description

Manufacturer-defined broadcast data with tag 0xFF

Note

To enable the module to broadcast custom data, set AT+IBEACON=1 first, then configure the custom broadcast data
Example:
Query manufacturer-defined broadcast data content; x represents hexadecimal data
<< AT+ADVDATA
>> +ADVDATA=\x03\x01\x02
>> OK

Set manufacturer-defined broadcast data content; x represents hexadecimal data
<< AT+ADVDATA=\x03\x01\x02
>> OK

AT+PCPT - Query/Modify Printer Channel Unlock Time

Command

AT+PCPT{=Param}

Param

Unlock time (default: 1500, unit: ms)

Response

+PCPT=Param

Description

When multiple phones are connected, it refers to the interval time for the module to receive data sent by the phones
Example:
Query unlock time
<< AT+PCPT
>> +PCPT=1500
>> OK
Set unlock time to 3 seconds
<< AT+PCPT=3000
>> OK

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

Appendix

PDF Download

PDF Download

Previous

Copyright © 2015 - 2025 Shenzhen Feasycom Co.,Ltd.

Address:Rm 508, Building, Fenghuang Zhigu, NO.50, Tiezai Road, Xixiang, Baoan Dist, Shenzhen, 518100, China.

Home Page : www.feasycom.com | Support Forum : forum.feasycom.com