iC880A-SPI QuickStart Guide - QuickStart Guide
Open Source Driver on Github
confidential
iC880A-SPI_QuickStartGuide.docx, Wireless Solutions, V0.1
page 12 of 17
2.5.1
util_tx_test
This is a small utility demonstrating the ability to send out some data via the iC880A-SPI
concentrator device. To start this utility go into the folder and start it:
cd lora_gateway/util_tx_test
./util_tx_test –r 1257 –f 866.5
The program should start and print out some output like that:
Sending -1 packets on 866500000 Hz (BW 125 kHz, SF 10, CR 1,
16 bytes payload, 8 symbols preamble) at 14 dBm, with 1000 ms
between each
INFO: concentrator started, packet can be sent
Sending packet number 1 ...OK
Sending packet number 2 ...OK
Sending packet number 3 ...OK
Each time a new packet is being transmitted the TX-LED of the iC880A-SPI should flash. The tool
can be stopped by pressing the key combination
Ctrl+C
. For more information about this tool,
please consult the online help by calling:
./util_tx_test --help
2.5.2
util_pkt_logger
This utility tool is able to demonstrate the receiving ability of the iC880A-SPI device. It configures
the iC880A-SPI device for RX operation and writes each received packet into a CSV file. That file
can be opened and inspected afterwards.
This tool needs a configuration file that holds parameters relevant to the RX operation of the
concentrator. Please take a look into this file called
global_conf.json
.
An example global_conf.json looks like that:
{
"SX1301_conf": {
"lorawan_public": true,
"clksrc": 1, /* radio_1 provides clock to concentrator */
"radio_0": {
"enable": true,
"type": "SX1257",
"freq": 867500000,
"rssi_offset": -166.0,
"tx_enable": true
},
"radio_1": {
"enable": true,