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 05:54] – 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 37: | Line 47: | ||
| Your lorawan settings should look like:\\ | Your lorawan settings should look like:\\ | ||
| - | {{: | + | |
| + | {{ : | ||
| **DO NOT FORGET TO SAVE** | **DO NOT FORGET TO SAVE** | ||
| Line 43: | Line 54: | ||
| === - Change the frequency plan by updating your SX1302 Settings === | === - Change the frequency plan by updating your SX1302 Settings === | ||
| - Click on the link '' | - Click on the link '' | ||
| - | - upload your frequency plan that you use with TTN. A default configuration is provided below | + | - upload your frequency plan that you use with TTN. |
| + | - Click the button '' | ||
| + | - A default | ||
| <file json Sx1302_configuration_TTN.json> | <file json Sx1302_configuration_TTN.json> | ||
| { | { | ||
| Line 227: | Line 240: | ||
| } | } | ||
| } | } | ||
| + | </ | ||
| + | |||
| + | 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** | ||
| + | |||
| + | |||
| + | You can also download the current configuration, | ||
| + | |||
| + | === - Return to normal mode === | ||
| + | - Once you have saved all your changes | ||
| + | - 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 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 '' | ||
| + | <cli> | ||
| + | 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, | ||
| </ | </ | ||