@@ -392,7 +392,7 @@ type RXPK struct {
392392 Tmms * int64 `json:"tmms"` // GPS time of pkt RX, number of milliseconds since 06.Jan.1980
393393 Tmst uint32 `json:"tmst"` // Internal timestamp of "RX finished" event (32b unsigned)
394394 Freq float64 `json:"freq"` // RX central frequency in MHz (unsigned float, Hz precision)
395- Brd uint8 `json:"brd"` // Concentrator board used for RX (unsigned integer)
395+ Brd uint32 `json:"brd"` // Concentrator board used for RX (unsigned integer)
396396 Chan uint8 `json:"chan"` // Concentrator "IF" channel used for RX (unsigned integer)
397397 RFCh uint8 `json:"rfch"` // Concentrator "RF chain" used for RX (unsigned integer)
398398 Stat int8 `json:"stat"` // CRC status: 1 = OK, -1 = fail, 0 = no CRC
@@ -445,7 +445,7 @@ type TXPK struct {
445445 Size uint16 `json:"size"` // RF packet payload size in bytes (unsigned integer)
446446 NCRC bool `json:"ncrc,omitempty"` // If true, disable the CRC of the physical layer (optional)
447447 Data string `json:"data"` // Base64 encoded RF packet payload, padding optional
448- Brd uint8 `json:"brd"` // Concentrator board used for RX (unsigned integer)
448+ Brd uint32 `json:"brd"` // Concentrator board used for RX (unsigned integer)
449449 Ant uint8 `json:"ant"` // Antenna number on which signal has been received
450450}
451451
@@ -560,7 +560,7 @@ func newTXPKFromTXPacket(txPacket gw.TXPacketBytes) (TXPK, error) {
560560 Size : uint16 (len (txPacket .PHYPayload )),
561561 Data : base64 .StdEncoding .EncodeToString (txPacket .PHYPayload ),
562562 Ant : uint8 (txPacket .TXInfo .Antenna ),
563- Brd : uint8 (txPacket .TXInfo .Board ),
563+ Brd : uint32 (txPacket .TXInfo .Board ),
564564 }
565565
566566 if txPacket .TXInfo .TimeSinceGPSEpoch != nil {
0 commit comments