8.1.1 SetPacketType
The SetPacketType(...) command defines which modem is to be used.
Table 8-1: SetPacketType Command
Byte
Data from Host
Data to Host
•
PacketType defines the modem to be used for the next RF transactions:
0x00: None (default)
0x01: (G)FSK
0x02: LoRa
0x04: GMSK (LR-FHSS)
Other values are RFU
This command is the first one to be called before going to RX or TX and before defining modulation and packet parameters.
This command only works with the device in Standby RC, Standby Xosc or Fs mode, otherwise it returns CMD_FAIL in the
status of the next command.
8.1.2 GetPacketType
Command GetPacketType(...) returns the current protocol of the radio.
Table 8-2: GetPacketType Command
Byte
Data from Host
Data to Host
Table 8-3: GetPacketType Response
Byte
Data from Host
Data to Host
•
PacketType corresponds to the modem used for the following RF transactions:
0: None
1: (G)FSK
2: LoRa
4: LR-FHSS
Other values are RFU
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x02
Stat1
0
0x02
Stat1
0
0x00
Stat1
www.semtech.com
1
0x0E
Stat2
1
0x02
Stat2
1
0x00
PacketType
2
PacketType
IrqStatus (31:24)
63 of 130
Semtech
Proprietary & Confidential