Command
Syntax
AT+CENTRAL
AT+CENTRAL
Example:
1.
AT+CENTRAL
2.
Executing
'AT+CENTRAL'
...
3.
4.
OK
AT+GAPCONNECT
Initiates a connection with a specific slave device. Upon succesfully connecting atempts to
display device name, advertising and response data and the services of the peripheral.
The local device must be in central role.
Command
Syntax
AT+GAPCONNECT
AT+GAPCONNECT=
slave_address
Example:
1.
AT+GAPCONNECT=FD:
37
:
13
:D0:6D:
02
2.
Executing
'AT+GAPCONNECT=FD:37:13:D0:6D:02'
...
3.
4.
OK
5.
6.
CONNECTING...
7.
CONNECTED
AT+GAPDISCONNECT
Disconnects from a peer Bluetooth device. This command can be used in both central and
peripheral role.
Command
Syntax
AT+GAPDISCONNECT
AT+GAPDISCONNECT
Example: