EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 34 of 93
Return Value
OK.
Remark
0 means that the name input format is in ASCII format,
1 means that the name input format is in HEX format.
The maximum setting length is 16 bytes. The command "AT+NAME=0" or "AT+NAME=1" can be
used to restore the device to its default factory name.
Take effect immediately, can be saved after power off.
•
MAC Address
AT+MAC?
Function
Query the device MAC address.
Example
AT+MAC?
Return Value
AT+MAC=8A:E5:84:7A:E7:C9
OK
Remark
MAC address is in hexadecimal.
AT+MAC=
Function
Set the device MAC address.
Example
AT+MAC=F1:F2:F3:F4:F5:F6
Return Value
OK
Remark
The new MAC will take effect after reboot, and be saved after power off.
Set to
00:00:00:00:00:00
or
FF:FF:FF:FF:FF:FF
to restore factory settings of the MAC address.
•
Device Role
AT+ROLE=?
Function
Query the parameter range of this command.
Example
AT+ROLE=?
Return Value
AT+ROLE=[0,1,2,3]
OK
Remark
0: Slave
(by default)
1: Master
2: Master-slave
3: Beacon, connectable.
(The serial port is disabled by default and unavailable in this mode. The
serial port can be enabled by pulling low the CTS pin.)
Содержание 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...