Chapter 3
–
Drivers and Testing Installation
20
Io
T G
at
eway
S
ystems
AIO
T-ILR
A01
3.1 Driver Download and Installation
* Please access the
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/
DISTRIBUTED BY TEXIM EUROPE