Professional Documents
Culture Documents
Date: 2017/09/13
Liyatech www.liyatech.com
CONTENT
Chapter 1: Introduction..................................................................................................................................2
Chapter 2: Compile the libraries and utilities in lora_gateway.......................................................................3
Chapter 3: Setup driver...................................................................................................................................5
Chapter 4: Compile the utilities in packet_forwarder.....................................................................................6
Chapter 5: Execute the utility in packet_forwarder........................................................................................7
Chapter 6: Send packet from LoRaWan node (LRM001)...............................................................................9
Chapter 7: Summary.....................................................................................................................................10
The purpose of this document is to set up the LRU_SVR which is the utility program of LCM001. LRU_SVR is
used to receive and decrypt the packet which is sent from LCM001. (LCM001 is used in PC with Linux or
Raspberry PI to forward the packets collected from the LoRaWan sensor nodes. ) The codes and program
description are based on https://github.com/lora-net/ The LCM001 is based on Semtech SX1301. The
SX1301 digital baseband chip is a massive digital signal processing engine specifically designed to offer
breakthrough gateway capabilities in the ISM bands. The LoRa concentrator is a multi-channel high
performance transmitter/receiver designed to simultaneously receive several LoRa packets using random
spreading factors on random channels. Its goal is to enable robust connection between a central wireless
data concentrator and a massive amount of wireless end-points spread over a very wide range of
distances. The SX1301 is targeted at smart metering fixed networks and Internet of Things.
ii. One PC, 64 bits Windows 7 or Windows 10 with 32 bit Python 3.5.2 installed.
iv. limpsse-1.3.tar.gz
2. Install the Python 3.5.2 32bit (No matter your OS is 64bit or not, please install 32 bit Python),during
installation please make sure click the check box to add Python path, otherwise you can not use PIP for
installing the package library. If you do not click the check box, you need to install your Python again.
3. Install the following 5 libraries to Python: “ntplib”, “pyserial”, “pycparser”, “requests” “cryptography” ,
Pyserial : In Windows DOS command window, key in “PIP install pyserial”. If there is error message, it
means that you do not include the Python path into Windows OS or you do not have internet
connection.
ntplib: In Windows DOS command window, key in “PIP install ntplib”. If there is error message, it
means that you do not include the Python path into Windows OS or you do not have internet
connection.
requests : In Windows DOS command window, key in “PIP install requests”. If there is error message,
it means that you do not include the Python path into Windows OS or you do not have internet
connection.
pycparser : In Windows DOS command window, key in “PIP install pycparser”. If there is error
message, it means that you do not include the Python path into Windows OS or you do not have
internet connection.
cryptography: In Windows DOS command window, key in “PIP install cryptography”. If there is error
message, it means that you do not include the Python path into Windows OS or you do not have
internet connection.
1. The IP address of the computer, which you used to run LRU_SVR.py , need to be the IP address which
you describe in global_conf.json.
Chapter 7: Summary
Thanks for your patience in using our products. If you had any question, please contact the distributor or
info@liyatech.com .