EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 52 of 93
-CHAR:1 UUID:052A,Indicate;
-CHAR:2 UUID:E4FF,Notify;
-CHAR:3 UUID:E9FF,Write Without Response,Write;
-CHAR:4 UUID:F3FF,Read,Notify;
-CHAR:5 UUID:91FF,Read,Write Without Response,Write;
……
Up to 16 services and 32 UUID channels can be found. Then the "AT+TRX_CHAN" can be used to
select the data sending and receiving channel according to the serial number.
Take effect immediately after setting, can be saved after power off.
AT+ UUID_SCAN=
Function
Disable/enable the user-defined UUID transmission channel function.
Only effective in master mode and master-slave mode.
Example
AT+ UUID_SCAN=1
Return Value
OK
Remark
Enable user-defined UUID transmission channel function
•
Configure UUID of Master Role
AT+TRX_CHAN=
Function
Set the user-defined UUID channel for sending and receiving.
Only effective in master mode and master-slave mode.
Example
AT+TRX_CHAN=1,8,7,0
Return Value
OK
Remark
Parameter 1
: The connection handle value, can be obtained by "AT+CNT_LIST".
Parameter 2
: The serial number is scanned and printed by the serial port by "AT+UUID_SCAN".
This parameter sets the channel to be selected when the master sends data (channels with Write
attribute).
Parameter 3
: The serial number is scanned and printed by the serial port by "AT+UUID_SCAN".
This parameter sets the channel to be selected when the master receives data (channels with Notify
and Indicate attributes).
Parameter 4:
The specific attribute to be selected of Parameter 2 Write operation. For example, if
the Write channel to be selected is Without Response attribute, the parameter should be 0; if the
Write channel to be selected is Write attribute, the parameter should be 1.
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...