EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 47 of 93
connected before. The default setting is 0. If the parameter is set as 1, after the command is sent,
pls operate according to the following steps to automatically reconnect the slave devices.
Note: The device with the automatic reconnection function will not automatically connect to
the slave devices in the following cases:
1.
Use "AT+DISCONNECT" to connect the disconnected slave device, the automatic reconnection
function will not work at this time.
The following conditions can restore the automatic
reconnection function.
a)
Use the command again to connect the slave device.
b)
Restart the device
c)
Disable the BLE function of this device and then enable the BLE function (Use the
command “AT+SLEEP=,0” to disable the BLE function, and then use the command
“AT+SLEEP=,1” to enable the BLE function).
2.
After using the command "AT+SLEEP=,0" to disable the BLE function, the device will not
automatically reconnect. When BLE is enabled again, the device will automatically reconnect.
AT+AUTO_CNT?
Function
Query the current automatic reconnection status of the device and the stored device list of the
automatic reconnection devices.
Example
AT+AUTO_CNT?
Return Value
AT+AUTO_CNT=
1,FF:1C:2B:D1:4C:BD
0,EB:71:5B:DE:08:87
OK
Remark
Device FF:1C:2B:D1:4C:BD enable the automatic reconnection function (can be saved after power
off).
Device EB:71:5B:DE:08:87 disabled automatic reconnection function.
AT+AUTO_CNT=
Function
Set the automatic reconnection function.
Only effective in master mode and master-slave mode.
Example 1
AT+AUTO_CNT=1
Return Value
OK
Remark
Enable the automatic reconnection function of all devices in the automatic reconnection list.
Example 2
AT+AUTO_CNT=0,EB:71:5B:DE:08:87
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...