EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 39 of 93
not support Long Range broadcast.
•
Extended Broadcast (Big Broadcast Packet)
AT+ADV
_
EXT?
Function
Query the user-defined
extended
broadcast packet.
Example
AT+ADV_EXT?
Return Value
AT+ADV_EXT=120\r\n
XXXXXXXXXXXXXXXXXXXXXXXXXX……
OK
Remark
Parameter 1
: Current extended broadcast data length.
Parameter 2
: XXX is the returned user-defined extended broadcast data.
There is a carriage return and line feed (CRLF) followed by parameter 1 and parameter 2 in the
returned data. If the user does not set this parameter, it will return “AT+ ADV_EXT=NULL”.
AT+ADV
_
EXT=
Function
Set the user-defined extended broadcast packet.
Example
AT+ADV_EXT=120,5000
Return Value
OK
INPUT_ADV_EXT:120
Remark
Parameter 1
: The extended broadcast data length (range:1 byte ~ 251 bytes).
Parameter 2
: Broadcast data input timeout time (range: 1 ms ~ 5000 ms, and the default parameter
is 500 ms).
The above example is a user-defined extended broadcast with a length of 120 bytes, and the input
timeout is 5000 ms. If the broadcast data of the specified length is entered within the set valid time,
it will return OK when the specified length is reached, as shown below. If the set timeout time is up
but the specified input data length is not reached, it will return to RECEIVE_TIMEOUT.
For example:
Send →
◇
AT+ADV_EXT=120,5000
Receive ←
◆
OK
INPUT_ADV_EXT:120
Send→
◇
123456789a123456789a123456789a123456789a123456789a123456789a123456789a123456789a1
23456789a123456789a123456789a123456789a
Содержание 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...