Users Manual

www.wireless-tag.com WT52840-S1
12
/
27
Wireless-Tag Technology www.wireless-tag.com technical@wireless-tag.com
5.4 Serial Baud Rate Operation Command
Command format: AT+BAUD=115200\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content: Modify the serial baud rate of the module communication to 115200bps.
Returning value OK indicates that the modification has been successful, and
returning value ERR indicates that the new serial baud rate has failed to be
modified because the set value is not commonly used serial baud rate value.
Currently, the serial baud rates supported by the module are:
1200/2400/4800/9600/14400/19200/28800/38400/57600/76800/115200/230400
/250000
5.5 MAC Address Operation Command
Command format: AT+ADDR?\r\n
Return value: xxxxxxxxxxxx\r\n
Content:Return the current MAC address of the module:xxxxxxxxxxxx
Command format: AT+ADDR=123456789ABC\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content:Modify the MAC address of the module as:123456789ABC. Returning
value OK means that the MAC address has been reset successfully.
Note: The MAC address of the module cannot be modified when the Bluetooth
module is in the connected state. It needs to be modified after disconnecting the
module. After the modification is successful, if the module is in the slave mode, it
will restart broadcasting with the new MAC address.
5.6 Device Role Operation Command
Command format: AT+ROLE?\r\n
Return value: C\r\n(master mode)
P\r\n(slave mode)
ERR:CODE\r\n
Content:Query current device role
Command format: AT+ROLE=C \r\n
Return value: OK\r\n
ERR:CODE\r\n
Content:Set the current device role to the master mode.
Note: The Bluetooth module cannot be set when it is connected. It needs to be