EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 58 of 93
Can be saved after power off.
•
Serial Port Frame Size and Timeout Time
AT+PACK=?
Function
Query the parameter range of this command.
Example
AT+PACK=?
Return Value
AT+PACK=<0~2048>,<1~1000>
OK
Remark
Parameter 1
: Serial port frame receiving size, in byte (Range: 0 byte ~ 1024 bytes), 0 byte is by
default. When set to 0, the module will automatically adjust the frame size according to the current
baud rate to meet high-speed transparent transmission.
Parameter 2
: Serial port frame receiving timeout time, in ms. Range: 1 ms ~ 1000 ms.
50 ms is by
default.
The parameter is used to judge the end of the frame of the serial port input data stream.
When the serial port data cut-off time exceeds the setting, the module will judge that the current
serial port input data frame has been completed, and will forward the frame data after the timeout
ends. When parameter 1 is set to a value non-zero, after the serial port input data length reaches
the set value of parameter 1, the module will not make a frame end timeout judgment and will
immediately forward the received frame data.
AT+PACK?
Function
Query the receiving frame size and the timeout time.
Example
AT+PACK?
Return Value
AT+PACK=
0,50
OK
Remark
The current timeout time is 50 ms. If the returned frame receiving size is 0, it means that the module
will automatically adjust the frame receiving size according to the current baud rate.
AT+PACK=
Function
Set the receiving frame size and the timeout time.
Example
AT+PACK=250,100
Return Value
OK
Remark
Set the receiving frame size to 250 bytes, and the receiving timeout time to 100 ms.
Take effect immediately after setting, can be saved after power off.
Summary of Contents for EFR32BG22
Page 71: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 70 of 93...
Page 75: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 74 of 93...
Page 76: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 75 of 93...
Page 77: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 76 of 93...
Page 91: ...EFR32BG22 www szrfstar com V1 6 Jun 2022 Shenzhen RF star Technology Co Ltd Page 90 of 93 CE...