User Tools

Site Tools


Sidebar

Kerlink Wiki Home Page

Home

Setups

General information

Wirnet™ iBTS information

Wirnet™ iFemtoCell information

Wirnet™ iFemtoCell-evolution information

Wirnet™ iStation information

System management

Network management

LoRa Features

KerOS customization

Support and resources



www.kerlink.com

wiki:loraloc

This is an old revision of the document!


LoRaLoc modem

HALv2 (Loraloc / sx1301 array)

The HAL provided by Kerlink is based on new Semtech HAL lora_gateway_v2.
Main modifications aim to adapt HAL to Kerlink boards:

  • Multi-board support
  • Calibration parameters can now be parsed as an overload config file (similarly to local_conf.json) named /tmp/calib_loraloc.json

As Loraloc architecture is much more complex, this HAL is quite different from HAL v1.

Compilation

To compile it, please use following commands:

cd lora_gateway_v2
source /opt/toolchains/loraV2/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi
make SPI_HOST=imx

To simplify deployment on board, Kerlink provides a script called deploy.sh.
This tool script make all tools and prepare a directory including them.

Usage

The main modification in tools since HALv1 is the '-d' argument.
As this HAL is mainly designed to handle multiple RF chips, this optional argument allows to specify which spidevice to use.

Kerlink provides a automatic discovery script at startup to handle correctly plugged boards.

By default, if a WAN module is provided, loraloc modules are mapped from slot 2.

So to use tools with this Loraloc module, please specify on tool's command-line -d /dev/slot/2/spidev0.
For example:

./pkt_logger -d /dev/slot/2/spidev0
wiki/loraloc.1460728304.txt.gz · Last modified: 2019/01/17 10:01 (external edit)