LR1121
User Manual Rev 1.1
UM.LR1121.W.APP Mar 2023
70 of 130
Semtech
Proprietary & Confidential
www.semtech.com
8.3.6 SetLoRaPublicNetwork
Command SetLoRaPublicNetwork(...) sets the LoRa modem syncword to public or private.
• PublicNetwork:
0x00: Private network (default)
0x01: Public network
Other values are RFU
8.3.7 GetPacketStatus
Command GetPacketStatus(...) gets the status of the last received packet. Since the returned values are modem
dependent, the description hereafter is valid only for the LoRa modem.
• RssiPkt defines the average RSSI over the last packet received. RSSI value in dBm is –RssiPkt/2.
• SnrPkt is an estimation of SNR on last packet received. Expressed in two’s complement format multiplied by 4. Actual
SNR in dB is SnrPkt/4.
• SignalRssiPkt provides an estimation of RSSI of the LoRa signal (after despreading) on last packet received. In two’s
complement format [negated, dBm, fixdt(0,8,1)]. Actual Rssi in dB is -SignalRssiPkt/2.
Additional information on the RSSI can be found in section Section 8.9 "RSSI Functionality" on page 83.
Table 8-10: SetLoRaPublicNetwork Command
Byte 0 1 2
Data from Host 0x02 0x08 PublicNetwork
Data to Host Stat1 Stat2 IrqStatus (31:24)
Table 8-11: GetPacketStatus Command
Byte 0 1
Data from Host 0x02 0x04
Data to Host Stat1 Stat2
Table 8-12: GetPacketStatus Response
Byte 0 1 2 3
Data from Host 0x00 0x00 0x00 0x00
Data to Host Stat1 RssiPkt SnrPkt SignalRssiPkt