EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 37 of 93
•
User-defined Broadcast Data
AT+ADV
_
DATA?
Function
Query the user-defined broadcast data.
Example
AT+ADV_DATA?
Return Value
AT+ADV_DATA=0,XXXXXXXXXXXXXXXXXX……
OK
Remark
Parameter 1: Broadcast data input format of the current device. (0: ASCII, 1: HEX)
Parameter 2:
Broadcast data of the current device. If this parameter is not set, NULL will be returned.
AT+ADV
_
DATA=
Function
Set the user-defined broadcast data.
Example
AT+ADV_DATA=0,112233445566778899AA#S=+
Example
AT+ADV_DATA=1,313132323333343435353636373738383939414123533D2B
Return Value
OK
Remark
1.
Parameter 1
: 0 means that the input broadcast data is in ASCII format, 1 means that the input
broadcast data is in HEX format.
2.
The data is placed in the user-defined zone, and the user can user-definedize the broadcast
data up to
26
bytes.
3.
Use "AT+ADV_DATA=0" or "AT+ADV_DATA=1" command to restore the broadcast data to the
default data.
4.
Take effect immediately after setting, can be saved after power off.
•
User-defined Broadcast Response Packet Data
AT+RSP
_
DATA?
Function
Query the user-defined broadcast response packet data.
Example
AT+RSP_DATA?
Return Value
AT+RSP_DATA=0,XXXXXXXXXXXXXXXXXX……
OK
Remark
Parameter 1: The current device input format of broadcast response packet data. (0: ASCII, 1: HEX)
Parameter 2:
The current device broadcasts response packet data. If the user does not set this
parameter, it returns NULL.
Содержание EFR32BG22
Страница 71: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 70 of 93...
Страница 75: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 74 of 93...
Страница 76: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 75 of 93...
Страница 77: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 76 of 93...
Страница 91: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 90 of 93 CE...