Firmtech FB100AS, FB200AS, FB755AC, FB755AS, FB155BC User Manual

...
APPENDIX B
AT Command Language with Detailed Description and
Usage
Version 1.1
B-606, Ssangyong IT Twin Tower, Sangdaewon-dong, 442-5
FIRMTECH Co., Ltd.
Tel : +82-31-719-4812
Fax : +82-31-719-4834
www.firmtech.co.kr
AT Command Language with Detailed Description and Usage Revision History

Revision History

Revision Date Change Description
1.0 10-09-2007 Write a draft
Add command
1.1 15-12-2008
- AT+BTRSSI?
- AT+BTLQ?
- AT+BTFASTCH,n
Page 2 / 33
AT Command Language with Detailed Description and Usage List of Contents

List of Contents

1 Definition of Device ...........................................................................................................................................................5
1.1 HOST ............................................................................................................................................................................5
1.2 BT ...................................................................................................................................................................................5
1.3 Definition of SYMBOL ...........................................................................................................................................5
1.4 AT RESPONSE ...........................................................................................................................................................5
2 COMMAND CATEGORY ....................................................................................................................................................6
2.1 Classification depending on function.............................................................................................................6
3 Features of AT Commands ........................................................................................................................................... 10
3.1 AT ................................................................................................................................................................................ 10
3.2 ATZ ............................................................................................................................................................................. 10
3.3 AT&F .......................................................................................................................................................................... 10
3.4 AT+BTINFO? ........................................................................................................................................................... 10
3.5 AT+BTINFO?n ........................................................................................................................................................ 11
3.6 AT+BTINFODEV?n ................................................................................................................................................ 12
3.7 AT+BTCOUNT? ...................................................................................................................................................... 13
3.8 AT+BTRSSI? ............................................................................................................................................................. 13
3.9 AT+BTLQ? ................................................................................................................................................................ 14
3.10 +++ ......................................................................................................................................................................... 14
3.11 ATO .......................................................................................................................................................................... 14
3.12 ATOn ....................................................................................................................................................................... 14
3.13 AT+BTCANCEL ..................................................................................................................................................... 15
3.14 AT+BTSCAN ......................................................................................................................................................... 15
3.15 AT+BTSCAN,n,t0 ................................................................................................................................................. 16
3.16 AT+BTSCAN,123456789012,t0 ...................................................................................................................... 16
3.17 AT+BTINQ? ........................................................................................................................................................... 16
3.18 ATD .......................................................................................................................................................................... 17
3.19 ATD123456789012 ............................................................................................................................................ 17
3.20 ATH .......................................................................................................................................................................... 17
3.21 AT+BTLPM,n ......................................................................................................................................................... 18
3.22 AT+BTUART,b(baud rate),p(parity bit),s(stop bit) .................................................................................. 18
3.23 AT+BTSEC,n(Authentication),n(Encryption) ............................................................................................. 19
3.24 AT+BTMODE,n .................................................................................................................................................... 19
3.25 AT+BTOPMODE,n .............................................................................................................................................. 20
3.26 AT+BTMSG,n ........................................................................................................................................................ 20
3.27 AT+BTNAME=xxxxxxxxxxxx ............................................................................................................................ 21
Page 3 / 33
AT Command Language with Detailed Description and Usage List of Contents
3.28 AT+BTKEY=xxxxxxxxxxxx ................................................................................................................................. 21
3.29 AT+BTLT=nn ........................................................................................................................................................ 21
3.30 AT+BTSETGUI ....................................................................................................................................................... 22
3.31 AT+BTROLE=x ..................................................................................................................................................... 22
3.32 AT+BTDEV=n ....................................................................................................................................................... 22
3.33 AT+SETESC,nn ..................................................................................................................................................... 23
3.34 AT+SETDEBUG,nn .............................................................................................................................................. 23
3.35 AT+BTBUFF=nnn ................................................................................................................................................ 23
3.36 AT+BTADDR=123456789012 ........................................................................................................................ 24
3.37 AT+BTDUT ............................................................................................................................................................ 24
3.38 AT+BTDFU ............................................................................................................................................................ 24
3.39 AT+BTFASTCH,n .................................................................................................................................................. 25
4 Usage of AT Command Language ............................................................................................................................ 26
4.1 Setting Up 1 Slave ............................................................................................................................................... 28
4.2 Setting Up and Connecting Master ............................................................................................................. 29
4.3 How to Change PC Configuration through AT Command Language. .......................................... 31
4.4 How to Change PC Configuration through AT Command Language. .......................................... 32
Page 4 / 33
AT Command Language with Detailed Description and Usage 1 Definition of Device
Basically, the products of FIRMTECH Co., Ltd. supports AT command when the connection Mode is in MODE4.
However, for 1:N communication, AT command is used to control 1:N communication regardless of
Connection MODE.

1 Definition of Device

1.1 HOST

HOST refers to the devices which control the products of FIRMTECH Co., Ltd. through AT command.

1.2 BT

BT refers to the Bluetooth devices of FIRMTECH Co., Ltd.

1.3 Definition of SYMBOL

SYMBOL MEANING ASCII CODE
x
123456789012
n
t0
Carriage Return 0x0D
Carriage Return + Line Feed 0x0D + 0x0A
Character
Bluetooth Device Address
One digit decimal number
Timeout in second
<Table B-1 Symbol Table>

1.4 AT RESPONSE

BT will generate the response of “OK” when the AT command entered at the Host is executed normally
response of “ERROR” when it is not being executed normally, or in the status not executable or no
response may be generated in case of unreadable.
The basic response is processed in ASCII code and the response message depending on condition is as
followings.
Operation Status(AT+BTINFO?)
- STANDBY : AT command Stand-by Mode.
- PENDING : AT command some operation is being executed.
- CONNECT : Status being connected with Bluetooth device of the other party.
BT Status Message
- BTWIN Slave mode start : The state of power on BT
- CONNECT 123456789012 : The state of connection of BT to other bluetooth device.
- DISCONNECT : The state of disconnection of BT from the other bluetooth device.
Page 5 / 33
AT Command Language with Detailed Description and Usage 2 COMMAND CATEGORY

2 COMMAND CATEGORY

2.1 Classification depending on function

Apply Products
Category No AT Command
1 2 3 4 5 6 7 8
RESET
INFORMATION
1 AT
2 ATZ
3 AT&F
4 AT+BTINFO?
5 AT+BTINFO?n
6 AT+BTINFODEV?n 123
7 AT+BTCOU N T? 123
8 AT+BTRSSI? 1 2 3 4
9 AT+BTLQ? 1 2 3 4
10 +++
11 ATO 1 2 3 4 5
12 ATOn 123
13 AT+BTCA NCEL 1 2 3 4 5
1 2 3 4
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
14 AT+BT SCAN 1 2 3 4 5
CONNECTION
SETTING
Page 6 / 33
15 AT+BTSCAN,n,t0 1 2 3 4 5
16 AT+BTSCAN,123456789012,t0 1 2 3 4
17 AT+BT INQ? 1 2 3 4 5
18 ATD 1 2 3 4 5
19 ATD123456789012 1 2 3 4 5
20 ATH 1 2 3 4 5
21 AT+BT LPM,n
22 AT+BTUART,b(baud rate),p(parity bit),s(stop bit) 1 2 3 4 5
23 AT+BTSEC,n(Authentication),n(Encryption) 1 2 3 4 5
24 AT+BT MODE , n 1 2 3 4
1 2 3 4 5
AT Command Language with Detailed Description and Usage 2 COMMAND CATEGORY
25 AT+BTOP MODE, n 123
26 AT+BT MSG, n 1 2 3 4 5
27 AT+BTNAME=xxxxxxxxxxxx 1 2 3 4 5
28 AT+BTKEY=xxxxxxxxxxxx 1 2 3 4 5
29 AT+BTLT=nn 1 2 3 4 5
30 AT+BT SETGUI 1 2 3 4 5
31 AT+BT ROL E =x 1 2 3 4 5
32 AT+BTDEV=n 123
33 AT+SETESC,nn 1 2 3 4
34 AT+SET D EBUG, nn 1 2 3 4
35 AT+BTBUFF=nnn 123
36 AT+BTADDR=123456789012 1 2 3 4
37 AT+BT DUT 1 2 3 4 5
38 AT+BT DFU 1 2 3 4 5
39 AT+BT FASTCH,n 1 2 3 4
<Table B-2 AT Command Category>
1 - FB100AS
2 - FB200AS
3 - FB755AC, FB755AS
4 - FB155BC, FB155BS
5 - FB570AC, FB750AS
6 - RESERVED FOR FUTURE USE
7 - RESERVED FOR FUTURE USE
8 - RESERVED FOR FUTURE USE
Page 7 / 33
AT Command Language with Detailed Description and Usage 2 COMMAND CATEGORY
2.2 AT Command Language Usable by Status
No AT Command STANDBY PANDING
AT
1
ATZ
2
AT&F
3
AT+BTINFO?
4
AT+BTINFO?n
5
AT+BTINFODEV?n
6
AT+BTCOU N T?
7
AT+BTRSSI?
8
AT+BTLQ?
9
+++
10
ATO
11
1:1
CONNECT
1:N
BYPASS
CONNECT
ATOn
12
AT+BTCANC E L
13
AT+BTS C AN
14
AT+BTSCAN,n,t0
15
AT+BTSCAN,123456789012,t0
16
AT+BTI N Q?
17
ATD
18
ATD123456789012
19
ATH
20
AT+BTL P M,n
21
AT+BTU ART, b (ba u d
22
rate),p(parity bit),s(stop bit)
AT+BTSEC,n(Authentication),n(E
23
ncryption)
AT+BTM O DE,n
24
AT+BTOPMO DE,n
25
Page 8 / 33
AT Command Language with Detailed Description and Usage 2 COMMAND CATEGORY
AT+BTM S G,n
26
AT+BTNAME=xxxxxxxxxxxx
27
AT+BTKEY=xxxxxxxxxxxx
28
AT+BTLT=nn
29
AT+BTS E TG UI
30
AT+BTR OLE=x
31
AT+BTDEV=n
32
AT+SETESC,nn
33
AT+S ETDEB UG,nn
34
AT+BTBUFF=nnn
35
AT+BTADDR=123456789012
36
AT+BTD U T
37
AT+BTD F U
38
AT+BTFAS TC H ,n
39
<Table B-3 AT Commands Usable By Status>
: Common Command Language to both Master / Slave.
: Command Language for Master only.
: Command Language for Slave only
: Command Language usable for OPERATION MODE1 or OPERATION MODE2.
Page 9 / 33
AT Command Language with Detailed Description and Usage 3 Features of AT Commands

3 Features of AT Commands

3.1 AT

FEATURE
APPLY PRODUCTS
To verify if the HOST is connected to BT properly.
FB100AS, FB200AS, FB755, FB155, FB570
RESPONSE ∠OK
If HOST and BT are connected properly, it will respond with “∠OK∠”.
DESCRIPTION
If the connection is not made, no response is transmitted, or Abnormal text will be
transmitted.
HOST Æ BT : AT
EX
BT Æ HOST : OK

3.2 ATZ

FEATURE
APPLY PRODUCTS
RESPONSE
DESCRIPTION
Have BT software reset.
FB100AS, FB200AS, FB755, FB155, FB570
-
The same effect as though the power of BT is re-authorized.
Other connection with other Bluetooth will be released, and all the jobs currently
performed will stop, including connection trial to Bluetooth or connection waiting to
Bluetooth.
Among the AT Command Languages, the Setting command language shall be
software reset by using this command after use.

3.3 AT&F

FEATURE
APPLY PRODUCTS
RESPONSE OK
DESCRIPTION
To Reset the hardware.
FB100AS, FB200AS, FB755, FB155, FB570
This command language will give the same effects as the reset button is pressed in
the pc configuration mode.
After this command is used, all the values of PC Configuration shall change to
factory set value.

3.4 AT+BTINFO?

FEATURE
APPLY PRODUCTS
Page 10 / 33
To transmit the current status of BT to the Host.
FB100AS, FB200AS, FB755, FB155, FB570
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
STANDBY
RESPONSE
PENDING
CONNECT
DESCRIPTION
To transmit the current status of BT to the Host.

3.5 AT+BTINFO?n

FEATURE
APPLY PRODUCTS
RESPONSE
To transmit the PC Configuration values to Host required to operate the BT according
to the n value.
FB100AS, FB200AS, FB755, FB155, FB570
0 <DEVICE NAME>
1 <PINCODE>,<AUTHENTICATION>,<ENCRYPTION>
2 <REMOTE BD ADDRESS>
3 <CONNECTION MODE>
4 <STATUS MSG>,<POWER SAVE>,<LINK TIME>,<ESC CHAR>,<DEBUG CHAR>
5 ∠<BAUD RATE>,8,<PARITY BIT>,<STOP BIT>
6 <ROLE>,<OPERATION MODE>
7 <NUMBER OF DEVICE>,<BUFF SIZE>
8 <LOCAL BD ADDRESS>
9 <FIRMWARE VERSION>
10 <BLUETOOTH VERSION>
11 <IAC>,<CoD>
12 <HARDWARE FLOW CONTROL>
13 <CONNECTION DELAY TIME>
14 <SUPPORT PROFILE>
15 <SERVICE NAME>
16 <STREAM SWITCHING FAST>
The value transmitted to the Host depending on the n value is as follows.
n = 0 Transmit the name of device composed of letter code to the host.
The set values related with security is printed out and the transmission
order is in priority of PINCODE, AUTHENTICATION, ENCRYPTION and the
n = 1
DESCRIPTION
n = 2
n = 3 CONNECTION MODE: MODE1 ~ MODE4 is transmitted to the host.
n = 4
Page 11 / 33
value is classified with “,“ and the meaning of each value is as follows.
y PINCODE : The letter code under 12 digits y AUTHENTICATION : 0 – DISABLED, 1 – ENABLED y ENCRYPTION : 0 – DISABLED, 1 - ENABLED
The BT address of the most recently connected device is transmitted to
host.
The set values related with other action is printed out and the
transmission order is in priority of TIMEOUT, ESCAPE CHARACTER,
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
DEBUG CHARACTER and the value is classified with “,“ and the meaning
of each value is as follows.
y STATUS MESSAGE : 0 – DISABLED, 1 – ENABLED y POWER SAVE : 0 – DISABLED, 1 – ENABLED y LINK SUPERVISION TIMEOUT : 0 ~ 99 (sec) y ESCAPE CHARACTER : The set value of 16 decimal y DEBUG CHARACTER : The set value of 16 decimal
The set values related with UART is printed out and the transmission
order is in priority of BAUD RATE, DATA BIT, PARITY BIT, STOP BIT and the
value is classified with “,“ and the meaning of each value is as follows.
n = 5
n = 6
n = 7
y BAUDRATE : 1200, 2400, 4800, 9600, 19200, 38400, 57600,
115200, 230400 (bps)
y DATA BIT : 8 bit Default y PARITY BIT : n – none, o – odd, e – even y STOP BIT : 1 – one stop, 2 – two stop
The transmission order to host is in priority of ROLE, OPERATION MODE
and the value is classified with “,“ and the meaning of each value is as
follows.
y ROLE : MASTER or SLAVE y OPERATION MODE : MODE0 ~ MODE2
The transmission order to host is in priority of NUMBER OF
CONNECTION DEVICE, BUFF SIZE which are the 1:N set value and the
value is classified with “,“ and the meaning of each value is as follows.
y NUMBER OF CONNECTION DEVICE : 1 ~ 7 y BUFF SIZE : 0 ~ 999 (Byte)
n = 8 Transmit own BT Address to host.
n = 9 Transmit the firmware version to host.
n = 10 Transmit the BT Version to host.
HOST Æ BT : AT+BTINFO?0
EX
BT Æ HOST : ∠BMx001v4.2.6∠

3.6 AT+BTINFODEV?n

FEATURE
APPLY PRODUCTS
RESPONSE
ESCRIPTION
Page 12 / 33
To transmit the BT address of MASTER connected to SLAVE to the Host during 1:N
communication.
FB100AS, FB200AS, FB755
123456789012
It transmits the BT address of Master connected to Slave to the Host while 1:N
communication is being used.
The BT address will be transmitted in the order of connection represented by n value.
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
The command language will be recognized properly when “LOW” signal is pressed at
MESSAGE CONTROL(CTS) RS-232 level and “HIGH” TTL level.
n = 1 BT address of Master connected as the first.
n = 2 BT address of Master connected as the second.
n = 3 BT address of Master connected as the third.
n = 4 BT address of Master connected as the fourth.
n = 5 BT address of Master connected as the fifth.
n = 6 BT address of Master connected as the sixth.
n = 7 BT address of Master connected as the seventh.
n = a BT address of all Masters connected to Slave
EX
HOST Æ BT : AT+BTINFODEV?1
BT Æ HOST : 123456789012

3.7 AT+BTCOUNT?

FEATURE
APPLY PRODUCTS
RESPONSE 1 ~ 7
DESCRIPTION
To transmit the number of Masters connected to Slave currently to the Host while
1:N communication is used.
FB100AS, FB200AS, FB755
The command transmits the number of Masters connected to Slave currently to the
Host while 1:N communication is used.
The command language will be recognized properly when “LOW signal is pressed at
MESSAGE CONTROL(CTS) RS-232 level and “HIGH” TTL level.

3.8 AT+BTRSSI?

FEATURE
APPLY PRODUCTS
The receiving sensitivity of communication with bluetooth which is currently
connected is transmitted to the host.
FB100AS, FB200AS, FB755, FB155
RESPONSE ∠-255 ~ 255
The receiving sensitivity of communication with bluetooth which is currently
connected is transmitted to the host.
DESCRIPTION
Page 13 / 33
The RSSI value closer to 0 is a good condition of receiving sensitivity.
The current receiving sensitivity with master (N) can be checked by using the
“AT+BTRSSI? n” commands (n is the order of connection to the master) at Slave (1) in
case of 1:N communication.
AT Command Language with Detailed Description and Usage 3 Features of AT Commands

3.9 AT+BTLQ?

FEATURE
APPLY PRODUCTS
The link quality with the currently connected bluetooth is transmitted to host.
FB100AS, FB200AS, FB755, FB155
RESPONSE ∠-255 ~ 255
The link quality between the currently connected bluetooth and BT is transmitted to
host.
DESCRIPTION
The link quality closer to 255 is a good condition of link quality.
The current link quality with master (N) can be checked by using the “AT+BTLQ?n”
commands (n is the order of connection to the master) at Slave (1) in case of 1:N
communication.

3.10 +++

FEATURE
APPLY PRODUCTS
RESPONSE OK
DESCRIPTION
To change the operation status from “BYPASS” to standby mode for command
language.
FB100AS, FB200AS, FB755, FB155
After BT is connected to other Bluetooth, all the data sent to BT shall be transmitted
to the other party’s device of Bluetooth.
This status is called BYPASS status, where “+++” text row shall be switched into the
standby mode for command which will interpret and process the AT command
language.
The command language shall be supported by Master.

3.11 ATO

FEATURE
APPLY PRODUCTS
RESPONSE OK
DESCRIPTION
To switch from standby mode for command language to BYPASS mode where data
can be transmitted/received.
FB100AS, FB200AS, FB755, FB155, FB570
With the Bluetooth is connected, switch to standby mode for command language
with “+++” text row, then switch to BYPASS mode to transmit/receive data.

3.12 ATOn

FEATURE
APPLY PRODUCTS
RESPONSE
Page 14 / 33
At 1:N communication, to switch BYPASS mode It is used for the Master to which the
Slave will send the data, and to switch to the BYPASS condition.
FB100AS, FB200AS, FB755
RS232 level
STREAM STATUS signal is “HIGH”.(when command language is
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
TTL level
With 1:N communication, it is used to form area between Master and Stream
(BYPASS) where the data will be transmitted.
This command language is Slave regardless of CONNECTION MODE, and usable
when the OPERATION MODE is MODE1 or MODE2.
DESCRIPTION
If the command language properly operates, the signal of STREAM STATUS(DTS) shall
be “HIGH” at RS-232 level, and “LOW” at TTL level. If the command language does
not properly operate, the signal of stream status will keep “LOW” at RS-232 level, and
“HIGH” at TTL level.
The command language will be recognized properly when “LOW signal is pressed at
STREAM CONTROL(DSR) RS-232 level and “HIGH” TTL level.

3.13 AT+BTCANCEL

FEATURE
APPLY PRODUCTS
BT will have the jobs stopped in progress.
FB100AS, FB200AS, FB755, FB155, FB570
properly performed.)
STREAM STATUS signal is “LOW”.(when command language is
properly performed.)
RESPONSE ∠OK
Used to stop the jobs being undertaken by BT coercively currently.
DESCRIPTION
The kinds of works could be stopped coercively will including inquiry/page scan
(AT+BTSCAN), connection trial (ATD), and Bluetooth device inquiry (AT+BTINQ?).
BT will be switched to standby mode for command if the works properly completed.

3.14 AT+BTSCAN

FEATURE
APPLY PRODUCTS
RESPONSE
DESCRIPTION
To have BT inquiry scan and page scan.
FB100AS, FB200AS, FB755, FB155, FB570
OK
CONNECT 123456789012 (response if other device is connected.)
Bluetooth device allows inquiry only for Bluetooth devices which were on inquiry
scan, and allows connection only to the devices on page scan.
This command allows other Bluetooth devices to search BT and can be connected
any time.
If connection is made to Bluetooth devices, message of “CONNECT 123456789012”
showed up, and resume inquiry scan and page scan upon disconnection. Therefore,
command of AT+BTCANCEL shall be used to switch to standby mode for command
language.
Page 15 / 33
AT Command Language with Detailed Description and Usage 3 Features of AT Commands

3.15 AT+BTSCAN,n,t0

FEATURE
APPLY PRODUCTS
RESPONSE
DESCRIPTION
Make BT in inquiry scan and page scan selectively.
FB100AS, FB200AS, FB755, FB155, FB570
OK
CONNECT 123456789012
Allow the inquiry and connection depending on the value of N.
Make the BT process the inquiry scan only. (Inquiry Scan)
n = 1
n = 2
n = 3
The BT process the inquiry scan or page scan from the other bluetooth device during
given t0 time. You have to wait indefinitely if the t0 is 0.
It is available for the other bluetooth device to search BT in bluetooth
device search, but the connection is not available.
Make the BT process the page scan only. (Page Scan)
It is available for the other bluetooth device to search BT in bluetooth
device search, but the connection is not available.
Make the BT process the inquiry scan only and page scan. (Inquiry
and Page Scan)
It is available for the other bluetooth device to search BT in bluetooth
device search, the connection is available also.

3.16 AT+BTSCAN,123456789012,t0

FEATURE
APPLY PRODUCTS
RESPONSE
DESCRIPTION
The connection from the bluetooth device with bluetooth address of 123456789012
is waited only.
FB100AS, FB200AS, FB755, FB155
OK
CONNECT 123456789012
It is used in case for accepting the connection from a specific bluetooth
device. It does not perform the inquiry scan but page scan only. The
connection working process is performed in t0 (second). It is converted to
the original state of waiting for commands if the connection with bluetooth
is not available during t0 (second) or the connection is released after the
connection with bluetooth. However, it performs the waiting for connection
until success of connection from the corresponding bluetooth device
especially the value of t0 is 0. It performs the waiting for connection again
with converting to the original stand by state of command after the
disconnection with bluetooth.

3.17 AT+BTINQ?

FEATURE
Page 16 / 33
To inquiry for Bluetooth devices exists around.
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
APPLY PRODUCTS
RESPONSE
DESCRIPTION

3.18 ATD

FEATURE
APPLY PRODUCTS
RESPONSE
DESCRIPTION
FB100AS, FB200AS, FB755, FB155, FB570
OK
<BLUETOOTH Address>,<DEVICE NAME>,<CoD>
OK
It searches for Bluetooth devices on inquiry scan to transmit the devices’ information
including address, name of devices, and class of device to the Host. Can search for
up to 9 Bluetooth devices in about 20 seconds, and “OK” message will be
transmitted upon completion of Bluetooth searching.
To attempt again to connect with the latest recently connected Bluetooth device.
FB100AS, FB200AS, FB755, FB155, FB570
OK
CONNECT 123456789012 (response when reconnection is made)
ERROR (response in case of connection failure)
BT remembers the address of Bluetooth device most recently connected. (can be
certified with AT+BTINFO?2.)
In this case, you can try to connect the Bluetooth device again by using this
command simply without specifying the address of the appropriate Bluetooth device.
It will generate “ERROR” message in case the address of the Bluetooth device has
not been connected at all. “0000000000000”

3.19 ATD123456789012

FEATURE
APPLY PRODUCTS
RESPONSE
DESCRIPTION
Try to Connect to Bluetooth with the Bluetooth address of 123456789012
FB100AS, FB200AS, FB755, FB155, FB570
OK
CONNECT 123456789012 (response when reconnection is made)
ERROR (response in case of connection failure)
Try to connect by specifying the address of target Bluetooth device.
For successful connection, the target Bluetooth device should be on page scan.
The connection attempt will last for 30 seconds, BT will take procedures of
authentication automatically, if required.

3.20 ATH

FEATURE
APPLY PRODUCTS
Page 17 / 33
To release the current connection.
FB100AS, FB200AS, FB755, FB155, FB570
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
RESPONSE
DISCONNECT
OK
It shall be used to release the connection of Bluetooth.
DESCRIPTION
This command shall be operable by Master only when the OPERATION MODE is in
MODE0

3.21 AT+BTLPM,n

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
PARAMETERS
DESCRIPTION
To select if low power management feature of BT will be used or not.
FB100AS, FB200AS, FB755, FB155, FB570
n = 0 the power save mode is not used.
n = 1 the power save mode is used.
In general, the Bluetooth device connected to other Bluetooth device can save power
consumption of the device while there is no data transmission/receipt, by using low
power management feature.
This command is to select if low power management feature will be used or not.
With BT, it is set such that it shall not use as initial value.
If the value of n is 1, it will use low power management feature and n is 0, it shall
not use low power management feature.
In case the low power management feature will be utilized, there might be some
delay in data transmit/receipt.
EX
HOST Æ BT : AT+BTLPM,1
BT Æ HOST : OK

3.22 AT+BTUART,b(baud rate),p(parity bit),s(stop bit)

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
PARAMETERS
DESCRIPTION
EX
To Change the set value of serial communication of BT.
FB100AS, FB200AS, FB755, FB155, FB570
b(baud rate 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200, 230400
p(parity bit) N(NONE) / E(EVEN) / O(ODD)
s(stop bit) 1 / 2
The elements required for serial communication including number of bit per second
(baud rate), parity, and stop bit may be changeable.
HOST Æ BT : AT+BTUART,57600,N,1
BT Æ HOST : OK
Page 18 / 33
AT Command Language with Detailed Description and Usage 3 Features of AT Commands

3.23 AT+BTSEC,n(Authentication),n(Encryption)

FEATURE
APPLY PRODUCTS
To select the features of Authentication, and Encryption of Bluetooth.
FB100AS, FB200AS, FB755, FB155, FB570
RESPONSE ∠OK
AUTHENTICATION
PARAMETERS
ENCRYPTION
DESCRIPTION
To select if the authentication process and encryption feature of Bluetooth will be
used or not.
HOST Æ BT : AT+BTSEC,1,1
EX
BT Æ HOST : OK

3.24 AT+BTMODE,n

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
To set CONNECTION MODE of BT.
FB100AS, FB200AS, FB755, FB155
n = 0 Not used
n = 1 Used
n = 0 Not used
n = 1 Used
PARAMETERS
n = 1
(MODE1)
n = 2
(MODE2)
n = 3
(MODE3)
If there is information on the Slave most recently
connected, it shall try to connect with the Slave only
unless factory set value (AT&F) is requested.
MASTER
SLAVE
MASTER
SLAVE
MASTER To perform the same functions as with MODE1.
SLAVE
If there is no information on the most recently connected
Slave, it will search for the Bluetooth around among
which it will request to connect to the first Slave has sent
the response.
If there is information of Master most recently connected,
it will allow only the Master to be connected.
If there is no information of Master most recently
connected, it will allow the first Master requesting
connection only for inquiry scan and page scan.
To provide connection with the Slave found out first
around the Bluetooth devices.
To allow the first Master requesting to be connected
among the around Bluetooth devices for on page scan,
and inquiry scan.
If there is the latest connected information of Master, it
will allow only page scan, which prevent other Masters to
Page 19 / 33
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
find Slaves.
If there is no information of Masters connected, it shall
operate as with MODE2.
DESCRIPTION
n = 4
(MODE4)
BT supports four kinds of CONNECTION MODE.
The CONNECTION MODE is used to allow or limit the connection of other Bluetooth
devices, based on the GAP.
If the power is authorized the same operation will be executed as explained.
AT command is in standby mode.
EX
HOST Æ BT : AT+BTMODE,1
BT Æ HOST : OK

3.25 AT+BTOPMODE,n

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
PARAMETERS
DESCRIPTION
EX
To set 1:N communication use or not
FB100AS, FB200AS, FB755
n = 0 MODE0
n = 1 MODE1
n = 2 MODE2
As for the 1:N communication set up, MODE0 is based on 1:1 communication,
MODE1 is based on monitoring, and MODE2 is for selective large volume
transmit/receive.
Please refer to the User Manual 1:N data transmission/receipt for detailed
information. (Appendix C)
HOST Æ BT : AT+BTOPMODE,1
BT Æ HOST : OK

3.26 AT+BTMSG,n

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
PARAMETERS
DESCRIPTION
EX HOST Æ BT : AT+BTMSG,1
Page 20 / 33
To select status message output or not.
FB100AS, FB200AS, FB755, FB155, FB570
n = 0 Status message not used.
n = 1 Status message used.
If power is authorized, with current status is connected as “BTWIN Master mode
start”, “BTWIN Slave mode start”, you may select output of status message such as
“CONNECT 123456789012” or not. If you don’t need message, you may disable it by
set to N=0.
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
BT Æ HOST : OK

3.27 AT+BTNAME=xxxxxxxxxxxx

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
DESCRIPTION
EX
To change the name of BT devices.
FB100AS, FB200AS, FB755, FB155, FB570
To allow BT with name easily identifiable by user.
This name can be used in other Bluetooth devices to search for Bluetooth devices.
Up to 12 alphanumeric characters could be used.
HOST Æ BT : AT+BTNAME=test
BT Æ HOST : OK

3.28 AT+BTKEY=xxxxxxxxxxxx

FEATURE
APPLY PRODUCTS
To change the Pin Code of BT.
FB100AS, FB200AS, FB755, FB155, FB570
RESPONSE ∠OK∠
DESCRIPTION
The PIN code shall be consisted of text row, up to 12 alphanumeric character could
be used.
HOST Æ BT : AT+BTKEY=1234
EX
BT Æ HOST : OK

3.29 AT+BTLT=nn

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
DESCRIPTION
EX
To set connection status check interval.
FB100AS, FB200AS, FB755, FB155, FB570
It represents the time to complete the connection if the Bluetooth communication is
not achieved, simply enter the time equivalent to the nn.
The time unit supported is 1 ~ 99 seconds. The smaller figure will recognize the
disconnection of Bluetooth fast, however the temporary non communication of
Bluetooth shall be recognized as no communication, which leads to disconnection.
Default is 5 seconds.
HOST Æ BT : AT+BTLT=10
BT Æ HOST : OK
Page 21 / 33
AT Command Language with Detailed Description and Usage 3 Features of AT Commands

3.30 AT+BTSETGUI

FEATURE
APPLY PRODUCTS
To output the status message temporary.
FB100AS, FB200AS, FB755, FB155, FB570
RESPONSE ∠OK
Even though status message is disabled, temporary status message will output once
the AT+BTSETGUI command language is executed.
DESCRIPTION
When the power OFF and ON once more, the status message will not appear any
longer.
Please make sure the status of our company’s Config Tool or CONNECTION Wizard
using this command.
HOST Æ BT : AT+BTSETGUI
EX
BT Æ HOST : OK

3.31 AT+BTROLE=x

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
To select Master or Slave.
FB100AS, FB200AS, FB755, FB155, FB570
PARAMETERS
x = M Master
x = S Slave
DESCRIPTION
Master requests connection through inquiry for Bluetooth around, while Slave is on
inquiry scan and page scan.
HOST Æ BT : AT+BTSETGUI
EX
BT Æ HOST : OK

3.32 AT+BTDEV=n

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
DESCRIPTION
EX
To set the number of devices for 1:N communication.
FB100AS, FB200AS, FB755
It defines the number of devices to be connected for 1:N communication.
It is executable when OPERATION MODE is on MODE1 and MODE2.
FB755 will allow 1 ~ 7 sets of connection, while other devices will allow 1 ~ 5
connection at maximum.
HOST Æ BT : AT+BTDEV=5
BT Æ HOST : OK
Page 22 / 33
AT Command Language with Detailed Description and Usage 3 Features of AT Commands

3.33 AT+SETESC,nn

FEATURE
APPLY PRODUCTS
To change the Escape Sequence Character
FB100AS, FB200AS, FB755, FB155
RESPONSE ∠OK
Escape sequence character is text row used to switch from Bluetooth connected
status to command standby mode, fixed at “+++” basically.
nn is ASCII code of Escape sequence character to change, and should be printable
DESCRIPTION
character (resides on keyboard).
If “00” is entered in the nn position, it will bring performance enhancement of
data transmission during bypass status since “+++” is not searched for.
Default is 0x2B.
HOST Æ BT : AT+SETESC,2B
EX
BT Æ HOST : OK

3.34 AT+SETDEBUG,nn

FEATURE
APPLY PRODUCTS
To change Debug character.
FB100AS, FB200AS, FB755, FB155
RESPONSE ∠OK
The CONNECTION MODE does not allow to use other AT command language than
MODE4.
However, if the value set with debug character is entered at the CONNECTION MODE
of MODE1, MODE2, MODE3, the CONNECTION MODE will change to MODE4(AT
command language standby) temporary so that the set value or other operation will
DESCRIPTION
be controlled by AT command language.
For the company provided configuration tool or connection wizard, enter the set
value with this command language to control with AT command language.
If ASCII character is output set on this command language, please disable Debug
character and proceed to use it.
If “00” is entered on nn, the Debug character will be disabled.
Default is 0x02.
HOST Æ BT : AT+SETDEBUG,02
EX
BT Æ HOST : OK

3.35 AT+BTBUFF=nnn

FEATURE
For 1:N communication, set transmit/receive buffer.
APPLY PRODUCTS
Page 23 / 33
FB100AS, FB200AS, FB755
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
RESPONSE
DESCRIPTION
∠OK∠
This command language is usable when the operation mode is at MODE1.
The operation mode will set the RX TX Buff Size at MODE1.
The fixed buffer size will be sent out at every time of transmission.
You can enter the number of 1 ~ 999.
HOST Æ BT : AT+BTBUFF=30
EX
BT Æ HOST : OK

3.36 AT+BTADDR=123456789012

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
DESCRIPTION
To change the address of the latest connected Bluetooth device.
FB100AS, FB200AS, FB755, FB155
It changes the last BD address of which connection was made successfully.
It provides the same features as MODE3 of CONNECTION MODE.
You can connect by simply enter address of the Slave you want to connect, and then
use “ATD”.
To initialize the address, enter “AT+BTADDR=000000000000”, then it will return to
factory set value.
EX
HOST Æ BT : AT+BTADDR=123456789012
BT Æ HOST : OK

3.37 AT+BTDUT

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
DESCRIPTION
EX
To proceed with Device Under TEST.
FB100AS, FB200AS, FB755, FB155, FB570
The setting is changed into Device Under Test. When the power is authorized again,
it is possible to connect various measurement devices of Bluetooth to perform tests.
HOST Æ BT : AT+BTDUT
BT Æ HOST : OK

3.38 AT+BTDFU

FEATURE
APPLY PRODUCTS
It converts to Firmware Update Mode.
FB100AS, FB200AS, FB755, FB155, FB570
RESPONSE ∠OK∠
DESCRIPTION
Page 24 / 33
If the power is on after setting the corresponding commands, it is converted to the
AT Command Language with Detailed Description and Usage 3 Features of AT Commands
condition of firmware update of BT using our Firmware Downloader tool.
EX
HOST Æ BT : AT+BTDFU
BT Æ HOST : OK

3.39 AT+BTFASTCH,n

FEATURE
APPLY PRODUCTS
RESPONSE ∠OK∠
DESCRIPTION
Change the value of stream switching fast.
FB100AS, FB200AS, FB755, FB155, FB570
A series of channel modulation is necessary to transmit the data from Slave (1) to
Master (N) in 1:N communication. It takes more than 800ms to change the channel.
If the stream switching fast is enabled, the modulation time is reduced less than
200ms because it minimizes the time to modulate the channel.
Process to connect again after disconnection for a while in the firstly connected
master if the 1:N connection is accomplished by the enabling of the stream switching
fast.
The stream switching fast is effective in communication between FIRMTECH
products only. Please contact our company in communication to other products.
It will be set as follows depending on value of n.
n = 0 – DISABLED - default
n = 1 – ENABLED
EX
HOST Æ BT : AT+BTFASTCH,0
BT Æ HOST : OK
Page 25 / 33
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language

4 Usage of AT Command Language

Following description is based on the products newly purchased (factory set mode), and for the
description of the embedded products, it is assumed that it is mounted on the interface board (Jig
Board) to enable serial communication with PC
The serial communication program is required to use AT command language.
We will explain further using Hyper Terminal provided by Window OS. Please refer to the product description
how to configure the Hyper Terminal in detail.
Except for FB100AS(BM1001) and FB200AS(BM2001), other product is set at MODE4 as the CONNECTION
MODE.
If you change the CONNECTION MODE by using FB100AS(BM1001), FB200AS(BM2001) and products, please
set the CONNECTION MODE as with MODE4 on <Figure B-1>.
Page 26 / 33
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language
Please refer to the product description for setting up configuration.
<Figure B-1 PC Configuration Menu>
Slave can be connected with each other as long as SCAN(inquiry scan and page scan) works are completed,
while Master shall complete the works of Inquiry and Page(connection request).
First, set up the Slave, then try connection through inquiry at the Master.
Page 27 / 33
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language

4.1 Setting Up 1 Slave

(1) Turn the Power On after connecting the products to be set as Slave to serial port of PC.
(2) Execute the Hyper terminal and enter the following command language.
Æ
HOST
BT Æ HOST : OK (normally execute the command language)
(3) If <Figure B-2> appears, proceed with the following command language. (If it does not show as on
<Figure B-2>, please verify the setting again and resume the procedures from (1).)
BT : AT↵
<Figure B-2 : Standby Mode for AT Command Language>
<Figure B-3 Slave : Command Language Procedures for Connection Standby>
HOST Æ BT : AT+BTSCAN↵ (SCAN Command language)
BT Æ HOST : OK (normally executes the command language)
BT Æ HOST : ERROR (does not execute the command language properly)
(4) If the command language is executed properly, the STATUS LED begins to flickering.
Page 28 / 33
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language

4.2 Setting Up and Connecting Master

(1) If Slave setting up is completed, connect the product to be Master to the serial port of PC and turn the
power on. (The power of Slave should be turned on.)
(2) Execute Hyper Terminal and enter the following command language.
HOST Æ BT : AT↵
BT Æ HOST : OK (executes the command language properly)
(3) <Figure B-2> comes up, proceed with following command language. (Verify the configuration if it does
not come up as <Figure B-2>, and restart from (1).)
<Figure B-4 : Results of AT+BTINQ? Command language>
HOST Æ BT : AT+BTROLE=M
BT Æ HOST : OK (Execute command language properly)
HOST Æ BT : ATZ
BT Æ HOST : BTWIN Master mode start
BT Æ HOST : OK
HOST Æ BT : AT+BTINQ?
BT Æ HOST : OK (execute command language properly)
BT Æ HOST : 0011B1B0EA96,BMx001v4.0.0,1F00 (output Inquiry result)
BT Æ HOST : OK (execute Inquiry result properly)
(4) Try to connect to the address of Bluetooth after inquiry, with combined use of following command
language through ATD.
(Soft Reset command language)
(command language to change the ROLE)
(Inquiry command language)
Page 29 / 33
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language
<Figure B–5 ATD command language>
HOST Æ BT : ATD0011B1B0EA96↵ (ATD command language)
BT Æ HOST : OK (execute command language properly)
BT Æ HOST : CONNECT 0011B1B0EA96 (connection result)
(5) If the message of “CONNECT 123456789012” appears, means the connection is made properly which is
the status enables to transmit/receive data with the connected devices.
<Figure B-6 : Master Switch Over and Connection Inquiry>
Page 30 / 33
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language

4.3 How to Change PC Configuration through AT Command Language.

3 To Release the Connection
When the Bluetooth is connected with each other, the data input shall be output on the opposite side of
Bluetooth device.
But, you can switch over AT command language standby mode by using Escape Character.
Default Esc Char is 0x2B(“+”). Entering 3 bytes of Esc Char in series, the AT command language will be switch
to standby mode, then you can release the connection by using ATH command language. The procedure of
command language is performed as follows:
<Figure B-7 : To Use ATH command language>
HOST Æ BT : +++ (Enter 3 bytes of Esc Char in series)
BT Æ HOST : OK (perform command language properly)
HOST Æ BT : ATH↵ (command language for connection release)
BT Æ HOST : OK (command language properly performed)
BT Æ HOST : DISCONNECT (complete connection release)
Page 31 / 33
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language

4.4 How to Change PC Configuration through AT Command Language.

FIRMTECH products allow to configure the PC using AT command language. The Config tool provided by
FIRMTECH is the tool made with the basics of AT command language.
AT command language has two kinds of command languages; one allows executable according to the
operation status as shown <Table B-3>reference) and the other one which does not allow execution.
The certifying method is as follows.
<Figure B-8 : AT+BTINFO? Command language>
HOST Æ BT : AT+BTINFO
BT Æ HOST : STANDBY (transfer the current status to the HOST)
As shown on <Figure B-8>, the “STANDBY” mode will allow touse configuration setting command language.
In case, the status is “PENDING” or “CONNECT”, it’s impossible to use configuration setting command
language. For detailed information, please refer to the Appendix B : Usable AT Command Language. Now we
will try to change the current device name using AT command language.
The order of command language shall be as follow.
(command language to verify the current status)
<Figure B-9 : Change device name by using AT command language>
HOST Æ BT : AT+BTINFO?0
device name)
BT Æ HOST : FB151v3.0.1 (to transfer to the current device name to the HOST)
HOST Æ BT : AT+BTNAME=name_test
BT Æ HOST : OK (proper operation of command language)
HOST Æ BT : ATZ
BT Æ HOST : BTWIN Slave mode start
BT Æ HOST : OK
HOST Æ BT : AT+BTINFO?0
device name)
BT Æ HOST : name_test (to transfer to the current device name HOST)
Page 32 / 33
(Soft Reset command language)
(command language to inquire the information of current
(command language to change device name)
(command language to certify the current information of
AT Command Language with Detailed Description and Usage 4 Usage of AT Command
Language
To store the configuration, be sure to execute “ATZ” command language (refer to the ATZ command
language)
Page 33 / 33
Loading...