You are on page 1of 5

LRU_SVR

Utility User manual


Version: 1.00

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

Liyatech LCM001 user manual...doc


Chapter 1: Introduction

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.

2. The following equipment are needed:

i. One embedded system – PC or Raspberry Pi

ii. One PC, 64 bits Windows 7 or Windows 10 with 32 bit Python 3.5.2 installed.

iii. Internet access

iv. One LCM001 (same frequency with LRM001 – 868 or 915MHz)

v. One LRM001 (same frequency with LRM001 – 868 or 915MHz)

4. There following documents / files are for using this kit.

i. LCM001 user manual.pdf

ii. LRM001 user manual.pdf

iii. LRM001 915.py (Python LoRaWan sample code for LRM001)

iv. limpsse-1.3.tar.gz

Liyatech LCM001 user manual...doc


v. Lora.gz

vi. LRU_SVR user manual.pdf

Chapter 2: Install Python Library

1. Copy LRU_SVR.py to a directory , for example LORA_DIR

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.

Chapter 3: RUN LRU_SVR

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.

2. In windows command line , key in : python “LRU_SVR.py”

3. The screen will be like:

Liyatech LCM001 user manual...doc


4. Key in UDP Port, for example 1680

5. The program will start running.

Chapter 7: Summary

Thanks for your patience in using our products. If you had any question, please contact the distributor or
info@liyatech.com .

Liyatech LCM001 user manual...doc

You might also like