EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 45 of 93
4.
Only effective in master mode and master-slave mode.
•
Display the Connected Devices
AT+CNT_LIST
Function
Display the list of currently connected devices.
Example
AT+CNT_LIST
Return Value
AT+CNT_LIST=
1*
(FF:1C:2B:D1:4C:BD)
2
(EB:71:5B:DE:08:87)
OK
Remark
The string in red is the connect handle, and the “ * “ symbol behind the handle indicates that the
connection is the master device (mobile phone or the module in master mode) connected to the
slave role. And the string in the bracket is the device MAC address corresponding to the handle.
This command is used with AT+TTM_HANDLE together.
For example, AT+TTM_HANDLE=1 means that the master role transparently transmits the data
value to the device whose handle value is 1 and MAC address is FF:1C:2B:D1:4C:BD.
•
Disconnection
AT+DISCONNECT=?
Function
Query the parameter range of this command.
Example
AT+DISCONNECT=?
Return Value
AT+DISCONNECT=<0,1,2>,<1~x>
OK
Remark
Parameter 1
:
0: Disconnect the slave devices.
1: Disconnect the master devices.
2: Disconnect the master-slave devices.
Parameter 2
: The device with the handle that needs to be disconnected. The handle value can be
queried by the command "AT+CNT_LIST".
Remark: Parameter 2 must be used in the correct role (that is, parameter 1 must be used in
the role of the current device).
For example: If device A is in the master role with two slave devices connected, and
"AT+DISCONNECT=1,1" means disconnecting the slave device with handle 1 connected to device
A.
Содержание 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...