Sub-GHz radio (SUBGHZ)
Get_RssiInst() command
Get_RssiInst(Status, RssiInst) returns the instantaneous signal strength during
packet reception.
byte 0
byte 1
byte 2
(G)FSK Get_Stats() command
Get_Stats(Status, NbPktReceived, NbPktCrcError, NpPktLengthError)
returns statistics information on the last received packet. Depending on the selected packet
type in Set_PacketType() sent prior to this function, the parameters for generic packets
are interpreted as below.
0
Opcode
w
byte 0
byte 1
bytes 3:2
bytes 5:4
bytes 7:6
LoRa Get_Stats() command
Get_Stats(Status, NbPktReceived, NbPktCrcError, NpPktHeaderError)
returns statistics information on the last received packet. Depending on the selected packet
type in Set_PacketType() sent prior to this function, the parameters for LoRa packets
are interpreted as below.
0
Opcode
w
byte 0
byte 1
150/1306
0
Opcode
w
bits 7:0 Opcode: 0x15
bits 7:0 Status[7:0]: see
bits 7:0 RssiInst[7:0]: instantaneous RSSI level at the reception time
Signal power = - RssiInst / 2 (in dBm)
1
2
Status[7:0]
NbPktReceived[15:0]
r
r
bits 7:0 Opcode: 0x10
bits 7:0 Status[7:0]: see
bits 15:0 NbPktReceived[15:0]: Number of packets received
bits 15:0 NbPktCrcError[15:0]: Number of packets received with a payload CRC error
bits 15:0 NbPktLengthError[15:0]: Number of packets received with a payload length
error
1
2
Status[7:0]
NbPktReceived[15:0]
r
r
bits 7:0 Opcode: 0x10
bits 7:0 Status[7:0]: see
RM0461 Rev 5
1
Status[7:0]
r
Get_Status() command
3
4
NbPktCrcError[15:0]
r
r
Get_Status() command
3
4
NbPktCrcError[15:0]
r
r
Get_Status() command
RM0461
2
RssiInst[7:0]
r
5
6
NbPktLengthError[15:0]
r
r
5
6
NbPktHeaderError[15:0]
r
r
7
r
7
r
Need help?
Do you have a question about the STM32WLEx and is the answer not in the manual?