Sub-GHz radio (SUBGHZ) RM0453
194/1454 RM0453 Rev 2
(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.
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.
byte 1 bits 7:0 Status[7:0]: see Get_Status() command.
byte 2 bits 7:0 RxPayloadLenght[7:0]: indicate the number of bytes received in the last
received packet
byte 3 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
01234
Opcode Status[7:0] RxStatus[7:0] RssiSync[7:0] RssiAvg[7:0]
wr r r r
byte 0 bits 7:0 Opcode: 0x14
byte 1 bits 7:0 Status[7:0]: see Get_Status() command
byte 2 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
byte 3 bits 7:0 RssiSync[7:0]: RSSI level when the synchronization address is detected
Signal power = -RssiSync / 2 (in dBm)
byte 4 bits 7:0 RssiAvg[7:0]: Average RSSI level over the received packet
Signal power = -RssiAvg / 2 (in dBm)
01234
Opcode Status[7;0] RssiPkt[7:0] SnrPkt[7:0] SignalRssiPkt
wr r r r