Chapter 3 – Drivers and Testing Installation
22
Io
T G
at
eway
S
yste
ms
UP
-G
W
S0
2L
3.1 Driver Download and Installation
* Please access the
https://up-community.org
and go to the Downloads section>UP to
find the relevant driver.
3.2 Installation and Testing
1.
Modify the Vanilla HAL Software:
Step 1.
Decompress the HAL software
$ unzip ~/unzip lora_gateway-master.zip
$ unzip ~/packet_forwarder-master.zip
Step 2.
Modify the HAL
$ cd ~/lora_gateway-master/libloragw/src/
$ vim loragw_spi.native.c
Replace
#define SPI_DEV_PATH "/dev/spidev0.0"
with
#define SPI_DEV_PATH "/dev/spidev2.0"
Step 3.
Modify the Reset-Script
$ cd ~/lora_gateway-master/
Содержание UP-GWS02L
Страница 12: ...Preface XII IoT Gateway Systems UP GWS02L 3 2 Installation and Testing 22...
Страница 13: ...IoT Gateway Systems UP GWS02L Chapter 1 Chapter 1 Product Specifications...
Страница 16: ...IoT Gateway Systems UP GWS02L Chapter 2 Chapter 2 Hardware Information...
Страница 17: ...Chapter 2 Hardware Information 5 IoT Gateway Systems UP GWS02L 2 1 Dimensions...
Страница 18: ...Chapter 2 Hardware Information 6 IoT Gateway Systems UP GWS02L 2 1 1 I O Location...
Страница 19: ...Chapter 2 Hardware Information 7 IoT Gateway Systems UP GWS02L 2 2 Jumpers and Connectors for the UP CHT01...
Страница 32: ...Chapter 2 Hardware Information 20 IoT Gateway Systems UP GWS02L 2 4 LoRa Module Has been outsourced...
Страница 33: ...IoT Gateway Systems UP GWS02L Chapter 3 Chapter 3 Drivers and Testing Installation...