EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 51 of 93
Function
Query the current service configuration parameters of the device.
Example
AT+SERVICE?
Return Value
AT+SERVICE=1,0001,0002,0003,0004,9ECADC240EE5A9E093F3A3B50000406E
OK
AT+SERVICE=
Function
Set the related service parameters of the device.
Example
AT+SERVICE=0,FFF0,FFFF1,FFF2,FFF3
Return Value
OK
Remark
The device is in 16-bit UUID mode. UUID is FFF0, FFFF1, FFF2, FFF3 respectively.
Set the basic 128-bit UUID, if it exceeds 16 bytes, only the first 16 bytes will be taken, if it is less
than 16 bytes, the end will be filled with 0.
Take effect after reboot, can be saved after power off.
•
Enable/Disable UUID Configuration Function of Master Role
AT+ UUID_SCAN=?
Function
Query the parameter range of this command.
Example
AT+ UUID_SCAN=?
Return Value
AT+ UUID_SCAN?=[0,1]
OK
Remark
0: Enable the user-defined UUID transmission channel function.
1: Disable the user-defined UUID transmission channel function.
AT+ UUID_SCAN?
Function
Query the enable status of the user-defined UUID transmission channel.
Example
AT+ UUID_SCAN?
Return Value
AT+ UUID_SCAN=0
OK
Remark
0: Disable the user-defined UUID transmission channel function.
1: Enabled the user-defined UUID transmission channel function.
Remark:
After enabled, the master will print the characteristic UUID of each slave in turn
when connecting. It is shown as follows:
-CHAR:0 UUID:002A,Read;
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...