Firmware update over FTP
-
Hi.
When I update the firmware using FTP, uploading the .bin file to the flash directory at the LoPy everything works fine.
I verify that the firmware was successfully installed by pressing the "get firmware version" in Atom. However, where do you specify/select what region you'll operate in, e.q. Europe, when updating via FTP? Using the pycom firmware installer, this is an option you select in a drop-down menu.Thanks.
-
You can specify the Lora region via the Lora() constructor in your code instead. I believe (but will have to confirm) that the drop down setting it only used when dealing with pybytes. I will confirm this however.
Example for the EU868 region:
lora = LoRa(mode=LoRa.LORAWAN, region=LoRa.EU868)