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
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
This is an old revision of the document!
To simplify deployment on board, Kerlink provides a script called build_package.sh. It must be modified to set correct the toolchain according to the platform used: Change the YOCTO_TOOLCHAIN_ENV variable at begin of this script.
This tool script make all tools and prepare an OPKG package including them.
To compile it, please use following commands:
cd lora_gateway_v2 source /opt/toolchains/loraV2/environment-setup-cortexa9hf-neon-poky-linux-gnueabi make SPI_HOST=imx
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
Due to architecture, the configuration is quite more complex than HAL v1:
This configuration must include SX1301 channel config.
These channels can be configured through “sx1301ar_conf_chan” function.
Please note that this function takes as “channel number” the concatenation of chip number and channel. (see function description in sx1301ar_hal.h)
This configuration is mainly used to correct RSSI and TX power values.
Corresponding calibration values are set in Production by Kerlink and extracted during board startup in /tmp/calib_loraloc.json file.
Thanks to ad9361 transceiver chip. We are able to get +-0.25 dBm precision on real TX power.
As a consequence, up to 32 power steps (tx_lut) are generated and calibrated in production.
The JSON configuration file has been improved to simplify software by using JSON tables.
Indeed: