Chapter 1 Introduction 1.1 Description This instruction manual is provided for engineers to develop FSC-BT986 series Bluetooth mod- ules, which are also suitable for BT982 and BT981 series modules 1.2 Module default configuration Name FSC-BT986 LE-Name FSC-BT986-LE Pin Code 0000...
• If the MCU needs to obtain the connection status of the Bluetooth module, it needs to be connected to the STATUS pin. • After drawing the schematic diagram, please send it to Feasycom for review to avoid Bluetooth distance not achieving the best effect.
Chapter 3 Function Description 3.1 GPIO Indications Connection status PIN 24 State Description Low level Throughput mode High level AT command mode Connection status PIN 23 State Description Low level High level disconnected LED PIN 32 State Description 1Hz square disconnected wave High level...
FSC-BT986 Programming User Guide, Release 1.0.0 State Description Low level disconnected High level connected 3.2 Working mode Throughput mode Bluetooth is not connected, and the data received by the serial port is parsed according to AT instructions; After Bluetooth connection, all data received from the serial port is sent to the remote Bluetooth as is.
Chapter 4 AT Command Description 4.1 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** 4.2 Command Command are control commands that the host actively sends to the module, and the module needs to reply <CR><LF>OK<CR><LF>...
FSC-BT986 Programming User Guide, Release 1.0.0 • 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>** •...
Page 12
FSC-BT986 Programming User Guide, Release 1.0.0 • If the notification contains multiple parameters, the parameters should be separated by ‘,’ Example: Return to current connection status in command mode >> +SPPSTAT=3 4.5. Indication...
Chapter 5 Command Table 5.1 General Commands 5.1.1 AT+HELP - Query firmware functions and command Command AT+HELP Response <MODULE DEFAULT PARAMETER> <COMMAND SUMMARY: DESCRIPTION: PROFILE CATEGORY> Description Using the help command to obtain basic summary information Note: If you need to upgrade to the latest version, please refer t OTA instructions 5.1.2 AT - UART Communication Test Command...
FSC-BT986 Programming User Guide, Release 1.0.0 Change module’s BR/EDR local name and disable suffix << AT+NAME=ABC,0 >> OK Change module’s BR/EDR local name to “ABC”and enable suffix << AT+NAME=ABC,1 >> OK 5.1.7 AT+LENAME - Read/Write BLE Local Name Command AT+LENAME{=Param1{,Param2}} Param1 BLE local name(1~31 Bytes ASCII) Param2...
FSC-BT986 Programming User Guide, Release 1.0.0 Example: Read module’s pin code << AT+PIN >> +PIN=0000 >> OK Change module’s pin code to ‘1234’ << AT+PIN=1234 >> OK 5.1.9 AT+PLIST - Read/Clear Paired Record Command AT+PLIST{=Param} Param (0 / 1~8) (0) Clear all paired record (1~8) Clear specific paired record with index Response1 +PLIST=Param1, Param2...
FSC-BT986 Programming User Guide, Release 1.0.0 5.1.16 AT+TPMODE - Turn On/Off Throughput Mode Command AT+TPMODE{=Param} Param Mode(0~1,default: 0)0: AT command mode 1: Throughput mode Response +TPMODE=Param Description When SPP/HID/GATT profile 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.
FSC-BT986 Programming User Guide, Release 1.0.0 5.1.21 AT+PIOCFG - PIO Function Configuration Command AT+PIOCFG{=Param,Param1} Param 0: Disable Command/Transmission mode switch function 1: Enable Command/Transmission mode switch function Param1 0: Disable Bluetooth disconnect function 1: Enable Bluetooth disconnect function Response +PIOCFG=Param Description 5.1.22 AT+DSCA - Release All Connections Command...
FSC-BT986 Programming User Guide, Release 1.0.0 5.1.27 AT+LINKCFG - Automatic Search Link Configuration Command AT+LINKCFG{=Param} Param mode (0~2) 0:Turn off automatic search link 1:Turn on SPP automatic search link 2:Turn on BLE automatic search link Description If this command is configured, the module will automatically search for links based on the configuration 5.1.28 AT+RSSICFG - Read/Write RSSI Configuration Command...
FSC-BT986 Programming User Guide, Release 1.0.0 << AT+ADVDATA=\x03\x01\x02 >> OK 5.3.5 AT+ADBLE - Turn on/off AndroidBLE Command AT+IBEACON{=Param} Param mode(0~1, default:1)0: turn off AndroidBLE 1: turn on AndroidBLE Response +IBEACON=Param Description After turning on, the SPP and BLE addresses will be two different ad- dresses | when turning off, the SPP and BLE addresses will be the same address 5.3.6 AT+UUIDCFG - Read/Write UUID...
FSC-BT986 Programming User Guide, Release 1.0.0 << AT+GATTSEND=10,1234567890 >> OK 5.3.8 AT+LESTAT - Read LE Central State Command AT+LESTAT Response +LEATAT=Param Description Format description refer to: +LESTAT - LE Central State (as master module) 5.3.9 AT+LECCONN - Establish LE Central Connection Command AT+LECCONN{=Param1{,Param2{,Param3{,Param4}}}} Param1...
FSC-BT986 Programming User Guide, Release 1.0.0 Connect to the specified device, 0 is the address type << AT+LECCONN=DC0D3000039E0 >> OK Initiate a connection to the specified address and communicate using FFF0, FFF2, and FFF1 << AT+LECCONN=DC0D3000039E0,FFF0,FFF2,FFF1 >> OK 5.3.10 AT+LESEND - Send Data Via LE Central Command AT+LESEND=Param1,Param2 Param1...
FSC-BT986 Programming User Guide, Release 1.0.0 5.4.6 AT+HIDDLY - Read/Write HID Send Delay Command AT+HIDDLY{=Param} Param HID report period in millisecond, default 10 ms 5.4.7 AT+HIDSEND - Send Data Via HID Command AT+HIDSEND=Param1,Param2 Param1 Report length Param2 Report payload Note For special key code: 0x0D ->...
Page 36
FSC-BT986 Programming User Guide, Release 1.0.0 04 : key code The module will automatically send pop-up keys 5.4. Bluetooth Serial Commands (HID)
FSC-BT986 Programming User Guide, Release 1.0.0 6.4 +LESTAT - LE Central State (as master module) Indication +LESTAT=Param Param (0) Unsupported (1) Standby (2) Connecting (3) Connected Description In instruction mode, when connection status of the module changes,module will actively report it through +LESTAT Example: Connected >>...
FSC-BT986 Programming User Guide, Release 1.0.0 6.6 +DATA - Received Bluetooth data report Indication +DATA=Param1,Param2,Param3 Param1 Index Param2 Data length Param2 Data Description Throughput mode:Report data without +DATA prefix +DATA=12345 AT command mode:Report data without+DATA prefix +DATA=1,5,12345 Example: Received data=1234567890 >>...
Chapter 7 Application Scenario 7.1 Read/Write Module Default Parameters When the module is not connected to Bluetooth, it will parse the serial port data according to AT command. The host can query and modify the default parameters of the module, as shown in the following figure: 1.
FSC-BT986 Programming User Guide, Release 1.0.0 7.2 The process of sending data The module will continuously send broadcast data to the outside when powered on, and the re- mote Bluetooth (mobile phone) can obtain the broadcast packet through search and initiate a connection request to the module.
Page 43
FSC-BT986 Programming User Guide, Release 1.0.0 7.2. The process of sending data...
FSC-BT986 Programming User Guide, Release 1.0.0 7.3 The module used as a master module to connect to re- mote devices The module can serve as the master module to connect to the slave module and the master mod- ule can send instructions to control the module for scanning, connecting, and disconnecting. The following figure shows the process of connecting to other devices: 7.3.
Page 45
FSC-BT986 Programming User Guide, Release 1.0.0 7.3. The module used as a master module to connect to remote devices...
Chapter 8 8.1 How can IOS phones obtain Bluetooth MAC ad- dresses? For security reasons, the IOS system converts the Bluetooth MAC address into UUID at the bottom layer and sends it to the upper layer application. So the app cannot obtain the MAC ad- dress of the device.
Need help?
Do you have a question about the FSC-BT986 Series and is the answer not in the manual?
Questions and answers