Skip to content

Commit a3a3c57

Browse files
committed
Merge remote-tracking branch 'origin/master' into v3
2 parents 7e0d403 + 689eda5 commit a3a3c57

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ project.
1515

1616
### Component links
1717

18-
* [LoRa Gateway Bridge](https://docs.loraserver.io/lora-gateway-bridge)
19-
* [LoRa Gateway Config](https://docs.loraserver/lora-gateway-config)
20-
* [LoRa Server](https://docs.loraserver.io/loraserver/)
21-
* [LoRa App Server](https://docs.loraserver.io/lora-app-server/)
18+
* [LoRa Gateway Bridge](https://www.loraserver.io/lora-gateway-bridge)
19+
* [LoRa Gateway Config](https://www.loraserver.io/lora-gateway-bridge/install/config)
20+
* [LoRa Server](https://www.loraserver.io/loraserver)
21+
* [LoRa App Server](https://www.loraserver.io/lora-app-server)
2222

2323
## Links
24-
25-
* [Downloads](https://docs.loraserver.io/lora-gateway-bridge/overview/downloads/)
24+
****
25+
* [Downloads](https://www.loraserver.io/lora-gateway-bridge/overview/downloads/)
2626
* [Docker image](https://hub.docker.com/r/loraserver/lora-gateway-bridge/)
27-
* [Documentation](https://docs.loraserver.io/lora-gateway-bridge/)
28-
* [Building from source](https://docs.loraserver.io/lora-gateway-bridge/community/source/)
29-
* [Contributing](https://docs.loraserver.io/lora-gateway-bridge/community/contribute/)
27+
* [Documentation](https://www.loraserver.io/lora-gateway-bridge/)
28+
* [Building from source](https://www.loraserver.io/lora-gateway-bridge/community/source/)
29+
* [Contributing](https://www.loraserver.io/lora-gateway-bridge/community/contribute/)
3030
* Support
3131
* [Support forum](https://forum.loraserver.io)
3232
* [Bug or feature requests](https://github.com/brocaar/lora-gateway-bridge/issues)

internal/backend/semtechudp/packets/pull_resp.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,22 +63,22 @@ type PullRespPayload struct {
6363
// TXPK contains a RF packet to be emitted and associated metadata.
6464
type 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.

internal/backend/semtechudp/packets/push_data.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -246,18 +246,18 @@ type RXPK struct {
246246
Time *CompactTime `json:"time"` // UTC time of pkt RX, us precision, ISO 8601 'compact' format (e.g. 2013-03-31T16:21:17.528002Z)
247247
Tmms *int64 `json:"tmms"` // GPS time of pkt RX, number of milliseconds since 06.Jan.1980
248248
Tmst uint32 `json:"tmst"` // Internal timestamp of "RX finished" event (32b unsigned)
249-
Freq float64 `json:"freq"` // RX central frequency in MHz (unsigned float, Hz precision)
250-
Brd uint32 `json:"brd"` // Concentrator board used for RX (unsigned integer)
251249
AESK uint8 `json:"aesk"` //AES key index used for encrypting fine timestamps
252250
Chan uint8 `json:"chan"` // Concentrator "IF" channel used for RX (unsigned integer)
253251
RFCh uint8 `json:"rfch"` // Concentrator "RF chain" used for RX (unsigned integer)
254252
Stat int8 `json:"stat"` // CRC status: 1 = OK, -1 = fail, 0 = no CRC
255-
Modu string `json:"modu"` // Modulation identifier "LORA" or "FSK"
253+
Freq float64 `json:"freq"` // RX central frequency in MHz (unsigned float, Hz precision)
254+
Brd uint32 `json:"brd"` // Concentrator board used for RX (unsigned integer)
255+
RSSI int16 `json:"rssi"` // RSSI in dBm (signed integer, 1 dB precision)
256+
Size uint16 `json:"size"` // RF packet payload size in bytes (unsigned integer)
256257
DatR DatR `json:"datr"` // LoRa datarate identifier (eg. SF12BW500) || FSK datarate (unsigned, in bits per second)
258+
Modu string `json:"modu"` // Modulation identifier "LORA" or "FSK"
257259
CodR string `json:"codr"` // LoRa ECC coding rate identifier
258-
RSSI int16 `json:"rssi"` // RSSI in dBm (signed integer, 1 dB precision)
259260
LSNR float64 `json:"lsnr"` // Lora SNR ratio in dB (signed float, 0.1 dB precision)
260-
Size uint16 `json:"size"` // RF packet payload size in bytes (unsigned integer)
261261
Data []byte `json:"data"` // Base64 encoded RF packet payload, padded
262262
RSig []RSig `json:"rsig"` // Received signal information, per antenna (Optional)
263263
}

0 commit comments

Comments
 (0)