Creating the gateway files

We will need to create four files and download a file for the gateway code. We will also download and install Thonny if it is not already installed on your computer:

  1. In your browser, navigate to the GitHub location for uPyLoRa (https://github.com/lemariva/uPyLoRaWAN) and download the library. 
  2. If you do not have Thonny installed on your computer, navigate to www.thonny.org and download and install it.
  3. Create a folder on your computer called gateway and copy and paste the sx127x.py file from the uPyLoRa library into the folder.
  4. In Thonny, under the This Computer section, navigate to the gateway folder you just created (you may need to select View | Files to see it):
  1. Open up the sx127x.py file and scroll down ...

Get Hands-On Edge Analytics with Azure IoT now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.