Users Manual
www.wireless-tag.com WT52840-S1
16
/
27
Wireless-Tag Technology www.wireless-tag.com technical@wireless-tag.com
effective after restarting.
5.15 Custom Advertising Data Command
Command format: AT+ADD=0123456A\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content: Users can add the custom advertising data to the Bluetooth advertising
data. For example, add the data of 0123456A to the Bluetooth advertising data,
and return OK to indicate that it has been added successfully. After the setting is
successful in slave mode, Bluetooth will start broadcasting with the new
configuration. Returning ERR indicates adding failed, for the reason that data
length may exceed the maximum limit 22bytes. You cannot modify it in the
Bluetooth connecting state.
5.16 Custom Product Serial Number Command
Command format: AT+PID=ABCD\r\n
Return value: OK\r\n
ERR:CODE\r\n
Content: Customize product serial number in the advertising data. Returning OK
indicates the custom adding is successful and returning ERR indicates the adding
fails, the possible reason of which may be that the custom data exceeds the range
of serial number requirements. The module serial number supports the content
in 0000—FFFF, and the factory default is 0x0000. In the Bluetooth connection state,
it cannot be modified and the Bluetooth connection needs to be disconnected.
After setting successfully in slave mode, Bluetooth will start advertising with the
new configuration.
5.17 Query Bluetooth Status Command
Command format: AT+STATUS?\r\n
Return value: 0\r\n(Bluetooth is idle)
1\r\n(Bluetooth is advertising)
2\r\n(Bluetooth is scanning)
3\r\n(Bluetooth is connected)
Content: Query the current Bluetooth status.










