Users Manual

www.wireless-tag.com WT52840-S1
13
/
27
Wireless-Tag Technology www.wireless-tag.com technical@wireless-tag.com
modified after disconnecting the module.
5.7 Bluetooth Name Operation Command
Command format: AT+NAME=WT52840-S1\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content: Rename the module as: WT52840-S1,the length of the name does not
exceed 22 bytes; Return value ERR indicates renaming failed. The reason is that
the length has exceeded the length limit or Bluetooth has been connected. It
needs to be modified after disconnecting; In slave mode, after the setting is
successful, Bluetooth will restart broadcasting with the new name.
Command format: AT+NAME?\r\n
Return value: WT52840-S1\r\n
Content: Query the current device name of the module, and the serial port
returns the current device name:WT52840-S1.
5.8 Set Bluetooth Advertising Interval Command
Command format: AT+ADP=500\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content:The effective time interval of Bluetooth advertising is set to
45ms—4000ms, and the factory default is 100ms. Reset the Bluetooth advertising
interval to500ms. Returning value OK indicates that the reset is successful, and
returning value ERR indicates reset failure. In the Bluetooth connection state, you
cannot modify it. You need to disconnect the Bluetooth connection to modify it.
5.9 Bluetooth Advertising Operation Command
Command format: AT+ADV_START\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content:Start Bluetooth advertising. It can be operated in slave mode and
Bluetooth is not connected.
Command format: AT+ADV_STOP\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content:Stop Bluetooth advertising. It can be operated in slave mode and
Bluetooth is not connected.