@@ -63,22 +63,22 @@ type PullRespPayload struct {
6363// TXPK contains a RF packet to be emitted and associated metadata.
6464type TXPK struct {
6565 Imme bool `json:"imme"` // Send packet immediately (will ignore tmst & time)
66+ RFCh uint8 `json:"rfch"` // Concentrator "RF chain" used for TX (unsigned integer)
67+ Powe uint8 `json:"powe"` // TX output power in dBm (unsigned integer, dBm precision)
68+ Ant uint8 `json:"ant"` // Antenna number on which signal has been received
69+ Brd uint32 `json:"brd"` // Concentrator board used for RX (unsigned integer)
6670 Tmst * uint32 `json:"tmst,omitempty"` // Send packet on a certain timestamp value (will ignore time)
6771 Tmms * int64 `json:"tmms,omitempty"` // Send packet at a certain GPS time (GPS synchronization required)
6872 Freq float64 `json:"freq"` // TX central frequency in MHz (unsigned float, Hz precision)
69- RFCh uint8 `json:"rfch"` // Concentrator "RF chain" used for TX (unsigned integer)
70- Powe uint8 `json:"powe"` // TX output power in dBm (unsigned integer, dBm precision)
7173 Modu string `json:"modu"` // Modulation identifier "LORA" or "FSK"
7274 DatR DatR `json:"datr"` // LoRa datarate identifier (eg. SF12BW500) || FSK datarate (unsigned, in bits per second)
7375 CodR string `json:"codr,omitempty"` // LoRa ECC coding rate identifier
7476 FDev uint16 `json:"fdev,omitempty"` // FSK frequency deviation (unsigned integer, in Hz)
77+ NCRC bool `json:"ncrc,omitempty"` // If true, disable the CRC of the physical layer (optional)
7578 IPol bool `json:"ipol"` // Lora modulation polarization inversion
7679 Prea uint16 `json:"prea,omitempty"` // RF preamble size (unsigned integer)
7780 Size uint16 `json:"size"` // RF packet payload size in bytes (unsigned integer)
78- NCRC bool `json:"ncrc,omitempty"` // If true, disable the CRC of the physical layer (optional)
7981 Data []byte `json:"data"` // Base64 encoded RF packet payload, padding optional
80- Brd uint32 `json:"brd"` // Concentrator board used for RX (unsigned integer)
81- Ant uint8 `json:"ant"` // Antenna number on which signal has been received
8282}
8383
8484// GetPullRespPacket returns a PullRespPacket for the given gw.DownlinkFrame.
0 commit comments