EFR32BG22
Shenzhen RF-star Technology Co., Ltd.
Page 54 of 93
not reached, it will return to RECEIVE_TIMEOUT (
If there is “\r\n”, two bits will be occupied
).
Receiving
Specification
In AT command mode, if BLE data is received from the other end, the prefix "+RECEIVED:" will be
printed. The first parameter after the prefix is the connection handle value, and the second
parameter is the length of the received data, "123456789A\r\ n" is the received data. When receiving
BLE data, it will return:
+RECEIVED:1,10
OUTPUT_BLE_DATA
123456789A
OK
If it is the data received in transparent transmission mode, there will be no prefix of “+RECEIVED”
and the data will be printed directly.
•
Observer
AT+OBSERVER?
Function
Query the current configuration of the observer function.
Example
AT+OBSERVER?
Return Value
AT+OBSERVER=1,1,F1:F2:F3:F4:F5,RF,-60,4C00
Remark
Parameter 1
: Observer function status: (0: Disable, 1: Enable the normal observer function, 2:
Enable scanning extended broadcast packets.)
Parameter 2
: Filter, parameter range 0 ~ 15. It can enable the observer filter function (0: Disable is
by default.). Each bit determines the enable and disable of the corresponding filtering function (0:
Disable, 1: Enable). The specific meaning is as follows:
bit 0: MAC address
bit 1: Broadcast name
bit 2: RSSI value
bit 3: Vendor ID
bit 4: The specified data field of the broadcast packet or broadcast response packet
bit 5 ~ 7: Reserved
Parameter 3
: The MAC address that needs to be filtered. The 6-byte complete MAC address needs
to be filled in.
Parameter 4
: The broadcast name that needs to be filtered, at least one character needs to be filled
in. The device in which the broadcast name starts with the selected character will be filtered out.
Parameter 5
: The RSSI that needs to be filtered. The value less than the RSSI value will be filtered.
Parameter 6
: The vendor ID that needs to be filtered. 2-byte complete ID needs to be filled in.
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...