Skip to content

Commit 0ea904d

Browse files
authored
Prepare release 1.0.6 (#313)
* Prepare the release * Update documentation
1 parent f263b3f commit 0ea904d

File tree

6 files changed

+40
-9
lines changed

6 files changed

+40
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ jobs:
157157
REGION: "EU"
158158
FACADE_SERVER_URL: "https://${{ needs.env_var.outputs.AZURE_FUNCTIONAPP_NAME }}.azurewebsites.net/api/"
159159
FACADE_AUTH_CODE: ${{ secrets.FUNCTION_AUTH_CODE }}
160-
EDGE_AGENT_VERSION: 1.2.0
161-
EDGE_HUB_VERSION: 1.2.0
160+
EDGE_AGENT_VERSION: 1.2.2
161+
EDGE_HUB_VERSION: 1.2.2
162162
EDGEHUB_OPTIMIZEFORPERFORMANCE: false
163163
EDGEHUB_MQTTSETTINGS_ENABLED: false
164164
EDGEHUB_HTTPSETTINGS_ENABLED: false

Docs/quickstart.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,16 @@ Log in to the gateway and use `sudo docker logs LoRaWanNetworkSrvModule -f` to f
286286
| LOG_TO_CONSOLE | true | Log to docker logs (default if omitted) |
287287
| | false | Does not log to docker logs |
288288

289+
290+
## Local Processing and Routing
291+
292+
By default the network server does not use the local edge queue (edgeHub), sending directly messages to IoT Hub. If you need to do local processing, please set the following setting to true on the `LoRaWanNetworkSrvModule`.
293+
294+
| Variable | Value | Explanation |
295+
|----------------|-------|---------------------------------------------------------------|
296+
| ENABLE_GATEWAY | true | Messages go to edgeHub and then to IoT Hub |
297+
| | false | Messages go directly to IoT Hub, skipping local edgeHub Queue |
298+
289299
## Customize the solution & Deep dive
290300

291301
Have a look at the [LoRaEngine folder](/LoRaEngine) for more in details explanation.

Docs/upgrade.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,30 @@
11
# Upgrade LoRaWAN to a new version
22

3+
## Release 1.0.6
4+
5+
> Note that this version switch IoT Edge to use version 1.2 of IoT Edge that include major changes on the edge. Please follow this [documentation](https://docs.microsoft.com/azure/iot-edge/how-to-update-iot-edge?view=iotedge-2020-11&tabs=linux) to upgrade IoT Edge to 1.2.
6+
7+
To update from version 1.0.5, 1.0.4 or 1.0.3 you can follow the below instructions. If you want to update manually from a version prior to 1.0.3, please refer to the instructions in the [Release 1.0.3](#Release-1.0.3) section below.
8+
9+
### Updating from 1.0.5, 1.0.4 or 1.0.3
10+
11+
|Deployment Module|Image URI|
12+
|-|-|
13+
|LoRaWanNetworkSrvModule|loraedge/lorawannetworksrvmodule:1.0.6|
14+
|LoRaWanPktFwdModule|loraedge/lorawanpktfwdmodule:1.0.6|
15+
16+
On the same `Set Modules` page, also update your current edge version to 1.2.2 by pressing the `Configure Advanced Edge Runtime settings` button. On the menu, ensure the edge hub and edge agent are using version 1.2.2 by respectively setting image name to mcr.microsoft.com/azureiotedge-hub:1.2.2 and mcr.microsoft.com/azureiotedge-agent:1.2.2.
17+
18+
### Updating the Azure Function Facade
19+
20+
There are no changes on the Azure function therefore you can use the same versioning as Release 1.0.5 just below.
21+
322
## Release 1.0.5
23+
424
To update from version 1.0.4 or 1.0.3 you can follow the below instructions. If you want to update manually from a version prior to 1.0.3, please refer to the instructions in the [Release 1.0.3](#Release-1.0.3) section below.
525

626
### Updating from 1.0.4 or 1.0.3
27+
728
|Deployment Module|Image URI|
829
|-|-|
930
|LoRaWanNetworkSrvModule|loraedge/lorawannetworksrvmodule:1.0.5|

LoRaEngine/deployment.template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"edgeAgent": {
2222
"type": "docker",
2323
"settings": {
24-
"image": "mcr.microsoft.com/azureiotedge-agent:1.2.0",
24+
"image": "mcr.microsoft.com/azureiotedge-agent:1.2.2",
2525
"createOptions": ""
2626
}
2727
},
@@ -30,7 +30,7 @@
3030
"status": "running",
3131
"restartPolicy": "always",
3232
"settings": {
33-
"image": "mcr.microsoft.com/azureiotedge-hub:1.2.0",
33+
"image": "mcr.microsoft.com/azureiotedge-hub:1.2.2",
3434
"createOptions": {
3535
"HostConfig": {
3636
"PortBindings": {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
[![Build Status](https://dev.azure.com/epicstuff/Azure%20IoT%20Edge%20LoRaWAN%20Starter%20Kit/_apis/build/status/CI-MultiGateway?branchName=master)](https://dev.azure.com/epicstuff/Azure%20IoT%20Edge%20LoRaWAN%20Starter%20Kit/_build/latest?definitionId=62&branchName=master)
2+
[![LoRa CI](https://github.com/Azure/iotedge-lorawan-starterkit/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/Azure/iotedge-lorawan-starterkit/actions/workflows/ci.yaml)
33
[![LoRa CI](https://github.com/Azure/iotedge-lorawan-starterkit/actions/workflows/ci.yaml/badge.svg?branch=dev)](https://github.com/Azure/iotedge-lorawan-starterkit/actions/workflows/ci.yaml)
44

55
# Azure IoT Edge LoRaWAN Starter Kit

Template/deviceConfiguration.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
"edgeAgent": {
1515
"type": "docker",
1616
"settings": {
17-
"image": "mcr.microsoft.com/azureiotedge-agent:1.0.9.5",
17+
"image": "mcr.microsoft.com/azureiotedge-agent:1.2.2",
1818
"createOptions": "{}"
1919
}
2020
},
2121
"edgeHub": {
2222
"type": "docker",
2323
"settings": {
24-
"image": "mcr.microsoft.com/azureiotedge-hub:1.0.9.5",
24+
"image": "mcr.microsoft.com/azureiotedge-hub:1.2.2",
2525
"createOptions": "{ \"HostConfig\": { \"PortBindings\": {\"8883/tcp\": [ {\"HostPort\": \"8883\" } ], \"443/tcp\": [ { \"HostPort\": \"443\" } ], \"5671/tcp\": [ { \"HostPort\": \"5671\" }] } }}"
2626
},
2727
"env": {
@@ -46,7 +46,7 @@
4646
"LoRaWanNetworkSrvModule": {
4747
"type": "docker",
4848
"settings": {
49-
"image": "loraedge/lorawannetworksrvmodule:1.0.5",
49+
"image": "loraedge/lorawannetworksrvmodule:1.0.6",
5050
"createOptions": "{\"ExposedPorts\": { \"1680/udp\": {}}, \"HostConfig\": { \"PortBindings\": {\"1680/udp\": [ { \"HostPort\": \"1680\", \"HostIp\":\"172.17.0.1\" } ]}}}"
5151
},
5252
"version": "1.0",
@@ -64,7 +64,7 @@
6464
"LoRaWanPktFwdModule": {
6565
"type": "docker",
6666
"settings": {
67-
"image": "loraedge/lorawanpktfwdmodule:1.0.5",
67+
"image": "loraedge/lorawanpktfwdmodule:1.0.6",
6868
"createOptions": " {\"HostConfig\": {\"NetworkMode\": \"host\", \"Privileged\": true }, \"NetworkingConfig\": {\"EndpointsConfig\": {\"host\": {} }}}"
6969
},
7070
"env": {

0 commit comments

Comments
 (0)