background image

 

10 

 

5.

 

AT Command Part 

5.2

 

Specification 

Applies to the entire document: 
 

l

 

{ } 

The content included in {...} is optional 

l

 

<< 

The content after << represents the COMMAND sent by the host to the module 

l

 

>> 

The content after >> means the RESPONSE of the module to the host 

5.2.1

 

Command format 

AT+

 

Command

 

{=Param1{,

 

Param2{,

 

Param3...}}}

 

<CR><LF>

 

 

l

 

All commands start with "AT" and end with <CR><LF> 

l

 

<CR> stands for carriage return character, corresponding to ascii hex is 0x0D 

l

 

<LF> stands for newline character, corresponding to ascii hex is 0x0A 

l

 

If the command contains parameters, the parameters should be located after "=" 

l

 

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

l

 

If  the command  returns with  a  response,  the response starts  with  <CR><LF>  and 
ends with <CR><LF> 

l

 

The  module  should  always  return  the  result  of  the  instruction  execution  (return 
"OK" on success, and "ERROR" on failure)   

 
e.g. 

1.

 

Read Local Name 

<<

 

AT+NAME

 

>>

 

+NAME=Feasycom

 

>>

 

OK

 

 

2.

 

Write unsupported Uart Baudrate 

<<

   

AT+BAUD=0

 

>>

   

ERROR

 

5.2.2

 

Notification format 

<CR><LF>+

 

Indication

 

{=Param1{,

 

Param2{,

 

Param3...}}}

 

<CR><LF>

   

 

l

 

All notifications start with <CR><LF> and end with <CR><LF> 

l

 

If the notification contains parameters, the parameters should be placed after "=" 

Summary of Contents for FSC-BT691

Page 1: ...1 BT5 1 Programming User Guide Version 4 0...

Page 2: ...s Eric 3 0 2017 03 10 Add GPIO Indications Navy 4 0 2021 02 20 Add hardware function performance description update instruction set Jeffrey Contact Us Shenzhen Feasycom Technology Co Ltd Web www feasy...

Page 3: ...Throughput GATT Server 9 5 AT Command Part 5 2 Specification 5 2 1 Command format 5 2 2 Notification format 5 3 General Commands 5 3 1 UART communication test 11 5 3 2 Read Firmware Version 5 3 3 Read...

Page 4: ...esents design guidelines for software engineers that use FSC BT691 module for Bluetooth requirements 1 2 Module Default Settings Local Name Feasycom Service UUID FFF0 Write UUID FFF2 Notify UUID FFF1...

Page 5: ...nction is enabled the high level is the command mode and the low level is the transparent transmission mode VDD 7 Power GND 8 19 Power SWDIO 9 I O SWDCLK 10 I O DISC 15 I When the Bluetooth connection...

Page 6: ...e module l User can get the working status by connecting to the LED pin PIN17 of the module l User can connect the TRAN pin PIN5 so that the module can respond to AT commands in the transparent transm...

Page 7: ...ugh the command AT LPM Param 3 3 2 Low power operation strategy There are two ways to wake up after entering low power consumption mode 1 Send the first packet of data by UART to wake up the mode The...

Page 8: ...8...

Page 9: ...ient Generic Attribute Profile 4 3 Throughput GATT Server Type UUID Authority Description Service 0xFFF0 Throughput service Write Characteristic 0xFFF2 Write Request Write Command Characteristic value...

Page 10: ...hex is 0x0A l If the command contains parameters the parameters should be located after l If the instruction contains multiple parameters the parameters should be separated by l If the command return...

Page 11: ...34567890 5 3 General Commands 5 3 1 UART communication test Format AT Response OK Description Test the UART communication between HOST and Module after power on or change baudrate Example UART communi...

Page 12: ...e suffix XXXX lower 4 bytes of MAC address Response NAME Param Description Write local name if there are parameter otherwise just read current local name Example Read current local name AT NAME NAME F...

Page 13: ...R 1 Correspond to 13 5dbm AT TXPOWER 2 Correspond to 10 5dbm AT TXPOWER 3 Correspond to 7 0dbm AT TXPOWER 4 Correspond to 5 0dbm AT TXPOWER 5 Correspond to 3 5dbm AT TXPOWER 6 Correspond to 2 0dbm AT...

Page 14: ...T REBOOT Description Module release all Bluetooth connections with remote device then reboot 5 3 10 Restore Factory Settings Format AT RESTORE Description Module restore all factory settings then rebo...

Page 15: ...ample Scan for nearby Bluetooth devices AT SCAN 1 OK SCAN 1 0 DC0D30000003 32 8 Feasycom SCAN 2 1 DC0D30000044 64 8 Feasycom_0044 SCAN 3 0 DC0D30000097 47 8 FSC_BT906 5 4 2 GATT received data Format G...

Page 16: ...n interval Uart off 149 uA 20ms Connection interval Uart on 287 uA 300ms Connection interval Uart off 10 uA 300ms Connection interval Uart on 242 uA 6 3 Time parameter Type Min Type Max Description Po...

Reviews: