@@ -18,13 +18,26 @@ description: Lists the changes per LoRa App Server release, including steps how
18
18
19
19
The LoRa Gateway Bridge has been refactored to support multiple packet-forwarder
20
20
backends. Next to the Semtech UDP packet-forwarder, support has been added to
21
- also support the Basic Station packet-forwarder.
21
+ support the Basic Station packet-forwarder. This backend implements the
22
+ [ Basic Station LNS protocol] ( https://doc.sm.tc/station/tcproto.html ) .
23
+
24
+ #### Updated payload formats
25
+
26
+ The uplink payload contains a ` context ` field, used to store gateway
27
+ specific context data (like the internal counter).
28
+
29
+ The downlink frame contains a ` timing ` field which can be either
30
+ ` IMMEDIATELY ` , ` DELAY ` or ` GPS_EPOCH ` . Based on the ` timing ` value, an
31
+ additional object must be given with the additional timing information.
32
+ Refer to [ Commands] ( https://www.loraserver.io/lora-gateway-bridge/payloads/commands/ )
33
+ for more details.
22
34
23
35
### Upgrading
24
36
25
37
LoRa Gateway Bridge v3.0.0 include a couple of changes that are not backwards
26
38
compatible. You need to re-generate the configuration file and update it where
27
- needed. Below a summary:
39
+ needed. LoRa Gateway Bridge v3 is compatible with LoRa Server v2.7+.
40
+ Below a summary:
28
41
29
42
#### MQTT topics
30
43
@@ -49,7 +62,16 @@ Event types are: `up`, `stats` and `ack`.
49
62
Commands are: ` down ` and ` config ` .
50
63
51
64
Please note that LoRa Gateway Bridge v3 is compatible with LoRa Server v2.7+,
52
- but you will need to update the MQTT topics in your ` loraserver.toml ` file!
65
+ but you will need to update the MQTT topics in your ` loraserver.toml ` file.
66
+ Example snippet:
67
+
68
+ {{<highlight toml >}}
69
+ uplink_topic_template="gateway/+/event/up"
70
+ stats_topic_template="gateway/+/event/stats"
71
+ ack_topic_template="gateway/+/event/ack"
72
+ downlink_topic_template="gateway/{{ .MAC }}/command/down"
73
+ config_topic_template="gateway/{{ .MAC }}/command/config"
74
+ {{</highlight >}}
53
75
54
76
#### Backends
55
77
0 commit comments