EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 53 of 93
Take effect after setting, can be saved after power off
(Supports the use under multi-connections,
but the function of saving after power off is only valid for the first connected device).
•
Master Role Reads the Specified UUID Data
AT+READ_UUID=
Function
Read the specified channel data.
Only effective in master mode and master-slave mode.
Example
AT+READ_UUID=1,8
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 reads data (channels with Read
attribute).
•
Send Data by AT Command
AT+SEND=?
Function
Query the parameter range of this command.
Example
AT+SEND=?
Return Value
AT+SEND=[1~8],[1~3328],<1~5000>
OK
Remark
Parameter 1
: Connection handle value (range: 1~8), can be obtained by "AT+CNT_LIST".
Parameter 2
: Length of data sent (range: 1 byte ~ 3328 bytes).
Parameter 3
: The input timeout time during sending data (range: 1 ms ~ 5000 ms. 500 ms is by
default).
AT+SEND=
Function
The master role sends data in AT command mode.
Example
AT+SEND=1,10,1000
Return Value
OK
INPUT_BLE_DATA:10
Remark
The example above shows that the connection handle value is 1, the data length is 10 bytes, and
the input timeout time is 1000 ms.
If the sending data with the specified length is entered within the set valid time, it will return OK
when the specified length is reached. If the set timeout time is up but the specified input length is
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...