GS-BT2416C1DBAT1 STMicroelectronics, GS-BT2416C1DBAT1 Datasheet - Page 14

BOARD DEMO CLASS 1 W/SERIAL PORT

GS-BT2416C1DBAT1

Manufacturer Part Number
GS-BT2416C1DBAT1
Description
BOARD DEMO CLASS 1 W/SERIAL PORT
Manufacturer
STMicroelectronics
Type
Bluetoothr
Datasheets

Specifications of GS-BT2416C1DBAT1

Contents
Board
Processor Series
STLC2500
Wireless Frequency
2.4 GHz to 2.5 GHz
Interface Type
RS-232, USB
For Use With/related Products
GS-BT2416C1.A
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-5793
AT commands appendix
14/19
Table 5.
After the configuration of the server board, GPIO3 must be put HIGH to select DATA MODE
which enables the Server board to receive and transmit DATA.
Before establishing a connection, the Client has to know which Bluetooth
present and which services are offered, and therefore the client:
1.
2.
At this point the connection is established and GPIO1 (indicating the connection status) on
both Client and Server boards becomes high.
On the GS-BT2416C1DBAT1 board an LED is connected to GPIO1 and therefore the
connection is also shown by an LED which is on.
GPIO3 on the client board must now be put at HIGH level allowing the client to send and
receive DATA from the server.
AT
AT+BTCMODE = 1
AT+BTPMODE = 1
AT+BTDMODE = 1
AT+BTSECMODE = 1
AT+BTENCMODE = 0
AT+BTPINCODE = ”1234”
AT+BTNAME = ”SPP server”
AT+BTCLASS = 52020C
AT+BTREGPORT = ”SPP port”
Configure the server board using the following commands in
must be low to select command mode- S2 switch in command mode)
Inquiry and available services
first performs the inquiry by the command:
AT+BTINQ=xx
where xx is the inquiry time (i.e. 10 sec -> AT+BTINQ=10).
The answer is a list of present Bluetooth
should be our SPP Server:
+BTNQRES:0080E1000002,"SPP Server"
OK
then asks which kind of service is available with the command:
AT+BTRPORTS=0080E1000002
The answer is:
+BTRPORT:"SPP Port",1
OK
Once the client knows the device present and the service offered, the Client finalizes
the connection with the command:
AT+BTCONNECT=0080E1000002,1,"1234",1,0
OK
serial port profile, port 1 (can be 1,2…)
Server setup
Command
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
®
connectable devices. One of the devices
Answer
Check module ready
Discoverable
Pin code
Set server name
Name of service offered
Table
5: (GPIO3 Server
®
devices are
Notes
UM0471

Related parts for GS-BT2416C1DBAT1