Download Print this page

DFRobot BLE4.1 Manual page 4

Advertisement

AT Command
To get a 'better' Bluetooth experience on BLE 4.1 modules, we highly recommand you to
update the newest firmware
AT is the abbreviation of attention. AT command is the communication command used to configure
Bluetooth parameters. It begins with AT, end with <CR+LF> (carriage return and line feed).
NOTE: <CR+LF> is not a part of AT Command.
AT Command List
AT Command
AT+ROLE=<X>
AT+NETWORK=<X>
AT+MIN_INTERVAL=<X>
AT+MAX_INTERVAL=<X>
AT+BIND=<X>
AT+CMODE=<X>
AT+MAC=<X>
AT+NAME=<X>
AT+SETTING=<X>
AT+USB_MONITOR=<X>
first.
Function
Parameters <X>
"?" Query Bluetooth working mode
Set Bluetooth
"ROLE_CENTRAL" Set as the central device
mode
"ROLE_PERIPHERAL" Set as the peripheral device
"?" Query the network mode
Set network
"P2P" Set to peer to peer connection
mode
"STAR" Set to star network
Set the
minimum
"?" Query the current minimum communication interval (10~99999ms)
communication
interval
Set the
maximum
"?" Query the current maximum communication interval (10~99999ms)
communication
interval
Set binding
"?" Query the current binding MAC address
Bluetooth
e.g.: 0x0017ea9397e1 Set Bluetooth MAC address in need
address
"?" Query the current connection mode
Set BLE
"UNIQUE" Specify the connection mode
connection
"ANYONE" Set to free connection
mode
Query the
Bluetooth
"?" Query the current Bluetooth MAC address
address
"?" Query the Bluetooth device name
Set the name
"DFBLEduino2"
"?" Query the current setting
Modify/Reset
"DEFAULT" Reset to initial setting
to default <X>
"DEFPERIPHERAL" Reset to initial slave setting
mode
"DEFCENTRAL" Reset to initial host setting
Turn the USB
"?" Query the current USB monitor
monitor
"ON" Turn on the USB monitor
ON/OFF

Advertisement

loading

This manual is also suitable for:

Tel0120