GS-BT2416C1DBAT1 STMicroelectronics, GS-BT2416C1DBAT1 Datasheet - Page 15

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
UM0471
7.3
Note:
Macro instructions
To disconnect, the client has to put its GPIO3 LOW (Command mode) (changing from high
to low on GPIO3 appears on the client PC screen as +READY) and sends the command:
AT+BTDISCONNECT OK
The result is the disconnection of the link client / server, and GPIO1 on both client and
Server boards returns to low (the LEDs go off).
The MACRO concept with the commands AT+BTMACROSTART, AT+BTMACROSTOP and
AT+MACROCLEAR has been introduced with version 1.2.1.8 of AT1 SW.
These commands work in such a way that all commands written between the
AT+BTMACROSTART and AT+BTMACROSTOP commands are stored inside the internal
flash memory and executed at each power up of the module.
When you insert a command between MACROSTART and MACROSTOP you do not have
immediate execution of the command, but only storing in flash memory. The module
answers with OK or ERROR from a syntax point of view. Execution is active at the next
power on.
That means, after writing the commands between the two macro commands, the module
could work in stand-alone without needing to program it at each power on.
The MACROCLEAR command erases all commands stored.
As an example: suppose the previous modules always have the final address 01 (client) and
02 (server) and we already know which connection to get.
Write the following sequence of commands in client and server module (see
the MACROSTOP command, they are stored in the internal memory of the corresponding
module.
Table 6.
AT+BTMACROSTART
AT+BTCMODE = 0
AT+BTPMODE = 1
AT+BTDMODE = 0
AT+BTSECMODE = 1
AT+BTENCMODE = 0
AT+BTNAME = "SPP client"
AT+BTCLASS = 52020C
AT+BTCONNECT = 0080E1000002,1,"1234",10,5
AT+BTMACROSTOP
Disconnection
Macro example
Client
AT+BTMACROSTART
AT+BTCMODE = 1
AT+BTPMODE = 1
AT+BTDMODE = 1
AT+BTSECMODE = 1
AT+BTENCMODE = 0
AT+BTPINCOD = "1234"
AT+BTNAME = "SPP server"
AT+BTCLASS = 52020C
AT+BTREGPORT = "SPP port"
AT+BTMACROSTOP
AT commands appendix
Server
Table
6). After
15/19

Related parts for GS-BT2416C1DBAT1