Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:lorawan_gateways:ecosignal:general_ecosignal_doc [2023/04/20 06:05] – manu | products:lorawan_gateways:ecosignal:general_ecosignal_doc [2024/02/12 14:41] (current) – [4.2 Factory reset of the binary and the provisioning data] manu | ||
---|---|---|---|
Line 12: | Line 12: | ||
---- | ---- | ||
- | ===== - WiFi Setup ===== | + | ===== - Configuration Manual |
- | * {{: | + | In this documentation you can find all the information to setup your gateway (Wi-Fi, LoRa server, etc.) |
+ | * {{ : | ||
+ | * {{ : | ||
---- | ---- | ||
Line 21: | Line 23: | ||
==== - Configure the ecoSignal Gateway for the TTN LoRaWAN server ==== | ==== - Configure the ecoSignal Gateway for the TTN LoRaWAN server ==== | ||
+ | |||
+ | There are 4 steps: | ||
+ | - put your gateway in configuration mode | ||
+ | - change the parameters of the LoRa server connection | ||
+ | - update your frequency plan to match the TTN plan | ||
+ | - put your gateway back in normal mode | ||
+ | |||
+ | Each step is detailed below. | ||
=== - Put the gateway in configuration mode === | === - Put the gateway in configuration mode === | ||
Line 46: | Line 56: | ||
- upload your frequency plan that you use with TTN. | - upload your frequency plan that you use with TTN. | ||
- Click the button '' | - Click the button '' | ||
- | - A default json configuration is provided below (you can download the file by clicking on its name, in blue below). | + | - A default json configuration |
<file json Sx1302_configuration_TTN.json> | <file json Sx1302_configuration_TTN.json> | ||
{ | { | ||
Line 234: | Line 244: | ||
You can upload the file using the interface shown at the bottom of the configuration page (an illustration is given below):\\ | You can upload the file using the interface shown at the bottom of the configuration page (an illustration is given below):\\ | ||
{{ : | {{ : | ||
+ | |||
+ | **DO NOT FORGET TO SAVE** | ||
Line 241: | Line 253: | ||
- Once you have saved all your changes | - Once you have saved all your changes | ||
- Go back to normal mode by pressing one time on the user button | - Go back to normal mode by pressing one time on the user button | ||
- | - If every things is correctly configured, your gateway LED should show a steady | + | - If every things is correctly configured, your gateway LED should show a solid GREEN |
+ | |||
+ | ---- | ||
+ | |||
+ | ===== - Factory reset for Debug version ===== | ||
+ | |||
+ | ==== - Factory reset of the binary ==== | ||
+ | |||
+ | When programming the gateway or another esp32 chip on the your PC, while your gateway is plugged-in, you might flash a wrong firmware or a faulty firmware on your gateway. | ||
+ | If you need to reflash a correct firmware here are some firmwares you can use: | ||
+ | |||
+ | * {{ : | ||
+ | * {{ : | ||
+ | |||
+ | You can use the '' | ||
+ | < | ||
+ | esptool.py write_flash 0x0 stg-micro-lora-gw_0.2.1-lyon1.bin | ||
+ | </ | ||
+ | |||
+ | ==== - Factory reset of the binary and the provisioning data ==== | ||
+ | |||
+ | You need to download: | ||
+ | - the partition configuration file (below) mfg_config.csv | ||
+ | - the security certificates of your gateway on https:// | ||
+ | - the device certificate (device.crt) | ||
+ | - the device private key (device.key) | ||
+ | - the json configuration file | ||
+ | |||
+ | <file csv mfg_config.csv> | ||
+ | key, | ||
+ | mfg_ns, | ||
+ | cert, | ||
+ | priv_key, | ||
+ | ca-ota-cert, | ||
+ | json_conf, | ||
+ | </ |