Sub-GHz radio (SUBGHZ)
byte 0
byte 1
byte 2
byte 3
byte 4
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
196/1461
bits 7:0 Opcode: 0x14
bits 7:0 Status[7:0]: see
bits 7:0 RssiPkt[7:0]: Average RSSI level over the received packet
Signal power = - RssiPkt / 2 (in dBm)
bits 7:0 SnrPkt[7:0]: Estimation of SNR over the received packet
SNR = SnrPkt / 4 (in dB)
bits 7:0 SignalRssiPkt[7:0]: Estimation of RSSI level of the LoRa signal after
despreading
Signal power = - SignalRssiPkt / 2 (in dBm)
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
RM0453 Rev 1
Get_Status() command
1
Status[7:0]
r
Get_Status() command
3
4
NbPktCrcError[15:0]
r
r
Get_Status() command
RM0453
2
RssiInst[7:0]
r
5
6
NbPktLengthError[15:0]
r
r
7
r
Need help?
Do you have a question about the STM32WL5 Series and is the answer not in the manual?
Questions and answers