Getstats; Resetstats; Table 7-10: Getstats Command; Table 7-11: Getstats Response - Semtech LR1121 User Manual

Table of Contents

Advertisement

7.2.9 GetStats

Command GetStats(...) returns the internal statistics of the received RF packets:

Table 7-10: GetStats Command

Byte
Data from Host
Data to Host

Table 7-11: GetStats Response

Byte
Data from Host
0x00
Data to Host
Stat1
NbPktReceived is the total number of received packets.
NbPktCrcError is the total number of received packets with a CRC error.
Data1 is PacketType dependant:
(G)FSK mode: Data1= NbPacketLengthError(15:0): number of packet with a length error.
LoRa mode: Data1=NbPktHeaderErr(15:0): number of packets with a Header error.
Data2 is PacketType dependant:
(G)FSK mode: Data2=0x00.
LoRa mode: Data2=NbPktFalseSync(15:0): number of false synchronizations.
Statistics are reset on a Power On Reset, power down, or by command ResetStats(...).

7.2.10 ResetStats

Command ResetStats(...) resets the internal statistics of the received RF packets:

Table 7-12: ResetStats Command

Byte
Data from Host
Data to Host
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x02
Stat1
0
1
2
0x00
0x00
NbPkt
NbPkt
Received
Received
(15:8)
(7:0)
0
0x02
Stat1
www.semtech.com
1
0x01
Stat2
3
4
0x00
0x00
0x00
NbPkt
NbPkt
Data1
CrcError
CrcError
(15:8)
(15:8)
(7:0)
1
0x00
Stat2
5
6
7
0x00
0x00
Data1
Data2
(7:0)
(15:8)
Proprietary & Confidential
8
0x00
Data2
(7:0)
56 of 130
Semtech

Advertisement

Table of Contents
loading

Table of Contents