Sub-GHz radio (SUBGHZ)
byte 1
byte 2
byte 3
(G)FSK Get_PacketStatus() command
Get_PacketStatus(Status, RxStatus, RssiSync, RssiAvg) returns 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.
Opcode
w
byte 0
byte 1
byte 2
byte 3
byte 4
LoRa Get_PacketStatus() command
Get_PacketStatus(Status, RssiPkt, SnrPkt, SignalRssiPkt) returns
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.
Opcode
w
194/1454
bits 7:0 Status[7:0]: see
bits 7:0 RxPayloadLenght[7:0]: indicate the number of bytes received in the last
received packet
bits 7:0 RxStartBufferPointer[7:0]: indicates the offset in the RAM data buffer where
the first byte of the last received packet is stored
0
1
Status[7:0]
r
bits 7:0 Opcode: 0x14
bits 7:0 Status[7:0]: see
bit 7 RxStatus_PreambleErr: Set when a preamble error occurred
bit 6 RxStatus_SyncErr: Set when a synchronization error occurred
bit 5 RxStatus_AdrsErr: Set when an address error occurred
bit 4 RxStatus_CrcErr: Set when a crc error occurred
bit 3 RxStatus_LengthErr: Set when a length error occurred
bit 2 RxStatus_AbortErr: Set when an abort error occurred
bit 1 RxStatus_PktReceived: Set when a packet is received
bit 0 RxStatus_PktSent: Set when a packet has been sent
bits 7:0 RssiSync[7:0]: RSSI level when the synchronization address is detected
Signal power = -RssiSync / 2 (in dBm)
bits 7:0 RssiAvg[7:0]: Average RSSI level over the received packet
Signal power = -RssiAvg / 2 (in dBm)
0
1
Status[7;0]
r
Get_Status()
command.
2
RxStatus[7:0]
r
Get_Status() command
2
RssiPkt[7:0]
r
RM0453 Rev 2
3
RssiSync[7:0]
RssiAvg[7:0]
r
3
SnrPkt[7:0]
SignalRssiPkt
r
RM0453
4
r
4
r
Need help?
Do you have a question about the STM32WL55JC and is the answer not in the manual?