EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 41 of 93
Return Value
OK
Remark
Set the Company ID to 4546.
Set Major to 0102.
Set Minor to 0304.
Set the reference RSSI at 1 m to -50 dBm.
Set user-defined UUID data as 0102030405060708090A0B0C0D0EF010.
•
Scan as a Master
AT+SCAN=?
Function
Query the parameter range of this command.
Example
AT+SCAN=?
Return Value
AT+SCAN=[0,1],<1-65535>,<0,1>,<1-255>
OK
Remark
Parameter 1
: The current scan status, 0 means to stop scanning, 1 means scanning.
Parameter 2
: Scan timeout time in s.
Parameter 3
: Whether to enable the display name function, 1: enable, 0: disable (1 is by default)
Only effective in master mode and master-slave mode.
Parameter 4
: It means the time interval of scanning the reconnection device list after enabling the
reconnection function. Modifying this parameter can increase the speed of automatic reconnection.
In s, 3 seconds is by default.
AT+SCAN?
Function
Query the scan status and timeout time settings.
Example
AT+SCAN?
Return Value
AT+SCAN=0,10,1,3
OK
Remark
Parameter 1
: 0 means the current device stops scanning.
Parameter 2
: The current scan timeout time is 10 s.
Parameter 3
: 1 means display device name.
Parameter 4
: The time interval of scanning the reconnection device list is 3 seconds. (This
parameter is only effective when the automatic reconnection function is enabled.)
AT+SCAN=
Function
Regularly scan the surrounding slave devices.
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...