EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 42 of 93
Example
AT+SCAN=1,10,1
Return Value
OK
0 53:60:52:A4:3E:66 -67 RF-STAR-SMMT
1 5D:61:9B:78:2E:5E -83 RFstar_2E5E
……
Remark
Parameter 1
: 1 means to start scanning
Parameter 2
: 10 means the scan timeout is 10 s.
Remark: Automatically stop scanning after the number of devices reaches 20 or the scan time
reaches 10 seconds.
AT+SCAN
Function
Scan the surrounding devices.
Example
AT+SCAN
Return Value
OK
0 53:60:52:A4:3E:66 -67 RF-STAR-SMMT
1 43:D5:CF:24:60:94 -58 RF-STAR-ABCD
2 21:DD:7C:E3:99:B5 -71 RFstar_99B5
3 5D:61:9B:78:2E:5E -83 RFstar_2E5E
……
Remark
Scan immediately (stop scanning after the number of devices reaches 20 or the scan time reaches
20 seconds), and print the MAC address, RSSI value, and device name of the slave devices, where
"0, 1, 2, 3..." is the serial number of the scanned devices (Scan for devices with name by default).
•
PHY of Master Role
AT+SCAN_PHY=?
Function
Query the parameter range of this command.
Example
AT+SCAN_PHY=?
Return Value
AT+SCAN_PHY=[0,1]
OK
Remark
0: 1 M PHY
1: CODED PHY
Only effective in master mode and master-slave mode.
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...