iC880A QuickStart Guide - QuickStart Guide
Open Source Driver on Github
confidential
iC880A_QuickStartGuide.docx, Wireless Solutions, V0.6
page 8 of 15
Follow
the
installation
instructions
from
the
hosted
website:
https://code.google.com/p/libmpsse/wiki/Installation
sudo apt-get install libftdi-dev
cd ~/LoRa/libmpsse/libmpsse-1.3/src
./configure --disable-python && make && sudo make install
sudo ldconfig
If the
configure
step fails, follow the instructions and try to install the missing dependencies.
3.3
Configuration of the Driver
The driver must be configured in order to work with the iC880A. The following chapter describes
the necessary configuration options to make.
In the folder “
LoRa/github/lora_gateway/libloragw
” there is a file called
“
libraray.cfg
”. This file contains the most important options for the HAL-library and must
be modified to your needs before compiling the software.
3.3.1
File: lora_gateway/libloragw/library.cfg
This file is used as general configuration file for the whole
libloragw
system library. In order
to fit the needs of the iC880A, some parameters must be set to the following values prior (re-)
compiling the library:
CFG_SPI= ftdi
CFG_CHIP= sx1301
CFG_RADIO= sx1257
CFG_BAND= eu868
The parameter called “
CFG_BRD
” must be left empty or set to:
CFG_BRD= ref_1301_868
Additionally there are some optional debug settings that can be turned on (
1
) or off (
0
):
DEBUG_AUX= 0
DEBUG_SPI= 0
DEBUG_REG= 0
DEBUG_HAL= 1
DEBUG_GPS= 0
These flags are used by the internal modules of the library to enable / disable additional output
for debugging purposes.