LR1121
User Manual Rev 1.1
UM.LR1121.W.APP Mar 2023
63 of 130
Semtech
Proprietary & Confidential
www.semtech.com
8.1.1 SetPacketType
The SetPacketType(...) command defines which modem is to be used.
• 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.
• 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
Table 8-1: SetPacketType Command
Byte 0 1 2
Data from Host 0x02 0x0E PacketType
Data to Host Stat1 Stat2 IrqStatus (31:24)
Table 8-2: GetPacketType Command
Byte 0 1
Data from Host 0x02 0x02
Data to Host Stat1 Stat2
Table 8-3: GetPacketType Response
Byte 0 1
Data from Host 0x00 0x00
Data to Host Stat1 PacketType