GS-BT2416C2_0709 STMICROELECTRONICS [STMicroelectronics], GS-BT2416C2_0709 Datasheet - Page 29

no-image

GS-BT2416C2_0709

Manufacturer Part Number
GS-BT2416C2_0709
Description
Bluetooth class 2 module with embedded SPP SW
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
GS-BT2416C2.AT1
B.5
Appendix C
+READY
Indicates the module is ready to accept AT commands.
The +READY message is generated when the module is started and when the mode is
switched from DATA MODE to
COMMAND MODE.
The following section provides two application examples demonstrating how two .AT1
equipped modules can be configured in order to act as a CLIENT and as a SERVER and
connect to each other using the SPP service. The CLIENT has the Bluetooth address
00800010AA01, while the SERVER has the Bluetooth address 00800010AA02.
Configuring the SERVER: this AT command list sets the module discoverable and
connectable by other devices. It enables security and creates an SPP service called “SPP
Port”.
Syntax: +READY
AT
OK
AT+BTCMODE=1
OK
AT+BTPMODE=1
OK
AT+BTDMODE=1
OK
AT+BTSECMODE=1
OK
AT+BTENCMODE=0
OK
AT+BTPINCODE=”1234”
OK
AT+BTNAME=”SPP Server”
OK
AT+BTCLASS=52020C
OK
AT+BTREGPORT=”SPP Port”
OK
Application examples
Application examples
29/32

Related parts for GS-BT2416C2_0709