
Example:
1.
AT+GATTCWRITE=001B
2.
Executing
'AT+GATTCWRITE=001B HELLO'
...
3.
4.
OK
5.
6.
DATA WRITTEN: HELLO
AT+GATTCWRITEB
Write attribute to remote GATT server in Hex. Can only be used in Central role and when
connected to a peripheral.
Command
Syntax
AT+GATTCWRITEB
AT+GATTCWRITEB=
(handle param)
(msg)
Example:
1.
AT+GATTCWRITE=001B
2.
Executing
'AT+GATTCWRITE=001B 0101'
...
3.
4.
OK
5.
6.
DATA WRITTEN:
0101
7.
Size:
2
AT+PERIPHERAL
Sets the device Bluetooth role to peripheral. Any connection must be terminated before
the role change is accepted.
Command
Syntax
AT+PERIPHERAL
AT+PERIPHERAL
Example:
1.
AT+PERIPHERAL
2.
Executing
'AT+PERIPHERAL'
...
3.
4.
OK