Kerlink Wirnet Gateway SPF (Packet Forwarder) Problem


#1

Hello All,

I have a problem with one of our Kerlink Wirnet Station gateway(ID of 0x0b…) . Even i update its version from the oldest one(v.2.2) to the newest one (v.3.3) and try one by one, and download SPF files and edit json document with our IP and Port information it does not work yet.

I am pretty sure that the global_conf.json IP and port is fine and also internet connection as well. But for the newest version there is:

"gps_tty_path": "//dev/nmea"

This could be a problem? I have also tried with “gps_tty_path”: “/dev/gps” but nothing changes. Briefly, we could not get any Gateway’s data onto our server.

I have read some post, and they were handle these issue by updating their version. But it did not work me. So if you have any advice for me, i will appreciate it.

[root@Wirnet_0B030 etc]# get_version -v
KERNEL_VER=3.10.104-3.10.104-klk7
PIC_VER=8.3
BOOTSTRAP_VER=""
UBOOT_VER=“U-Boot 2009.03-2009.03-klk1 (Jan 26 2018 - 12:04:27)”
SCRIPT_VER=v1.0
INITRAMFS_VER=v1.3
FILESYSTEM_VER=2016.05v1.10
KNETD_VER=“wirma2_v4.09 WAN_3.16 (Dec 23 2016-14:33:40)”
PROD_FW=wirmaV2_wirnet_v3.3

************************ Update log ************************
2018.11.14-14:26:19 – Produsb
2018.11.14-14:34:18 – Dota custo_libloragw-fpga_4.1.3-klk8_wirnet.tar
2018.11.14-14:34:28 – Dota dota_spf_3.1.0-klk16_4.1.3-klk8_wirnet.tar
2018.11.14-14:34:30 – Produsb


Please let me know if you want me to write any code, i can share it’s output with you with my pleasure

Thank you so much!
Zafer


#2

Hello!
We use same gateways with same firmware and all works good.
GPS of our global_conf.json: “gps_tty_path”: “/dev/nmea”,


#3

Thank you for your feedback.

I did have a look at the log file. And i think we have a problem which occurs because of “ERROR: [main] failed to start the concentrator”

Here is the log:

cat spf.log

Nov 9 13:08:34 Wirgrid local1.notice spf: INFO: Little endian host

Nov 9 13:08:34 Wirgrid local1.notice spf: INFO: found global configuration file global_conf.json, parsing it

Nov 9 13:08:34 Wirgrid local1.notice spf: INFO: found local configuration file local_conf.json, parsing it

Nov 9 13:08:34 Wirgrid local1.notice spf: INFO: redefined parameters will overwrite global parameters

Nov 9 13:08:34 Wirgrid local1.notice spf: ERROR: [main] failed to start the concentrator

Nov 9 13:08:43 Wirgrid local1.notice modem: I/ Programming FPGA with spectral scan firmware

Nov 9 13:08:43 Wirgrid local1.notice modem: I/ EEPROM seems empty

Nov 9 13:08:44 Wirgrid local1.notice spf: *** Beacon Packet Forwarder for Lora Gateway ***

Nov 9 13:08:44 Wirgrid local1.notice spf: Version: 3.1.0-klk11

Nov 9 13:08:44 Wirgrid local1.notice spf: *** Lora concentrator HAL library version info ***

Nov 9 13:08:44 Wirgrid local1.notice spf: Version: 4.1.3-klk3;

Nov 9 13:08:44 Wirgrid local1.notice spf: ***

Nov 9 13:08:44 Wirgrid local1.notice spf: INFO: Little endian host

Nov 9 13:08:44 Wirgrid local1.notice spf: INFO: found global configuration file global_conf.json, parsing it

Nov 9 13:08:44 Wirgrid local1.notice spf: INFO: found local configuration file local_conf.json, parsing it

Nov 9 13:08:44 Wirgrid local1.notice spf: INFO: redefined parameters will overwrite global parameters

Nov 9 13:08:44 Wirgrid local1.notice spf: ERROR: [main] failed to start the concentrator

Please advice me.
Best Regards,
Zafer


#4

Can you show me yours global_conf.json, local_conf.json and /mnt/fsuser-1/loraboard_conf.json


#5

For sure. Please find them here.

1. global_conf.json:

{
“SX1301_conf”: {
“lorawan_public”: true,
“antenna_gain”: 0,
“clksrc”: 1,
“radio_0”: {
“enable”: true,
“type”: “SX1257”,
“freq”: 867500000,
“tx_enable”: true,
“tx_notch_freq”: 129000,
“tx_freq_min”: 863000000,
“tx_freq_max”: 870000000
},
“radio_1”: {
“enable”: true,
“type”: “SX1257”,
“freq”: 868500000,
“tx_enable”: false
},
“chan_multiSF_0”: { “enable”: true, “radio”: 0, “if”: -400000 },
“chan_multiSF_1”: { “enable”: true, “radio”: 0, “if”: -200000 },
“chan_multiSF_2”: { “enable”: true, “radio”: 0, “if”: 0 },
“chan_multiSF_3”: { “enable”: true, “radio”: 0, “if”: 200000 },
“chan_multiSF_4”: { “enable”: true, “radio”: 0, “if”: 400000 },
“chan_multiSF_5”: { “enable”: true, “radio”: 1, “if”: -400000 },
“chan_multiSF_6”: { “enable”: true, “radio”: 1, “if”: -200000 },
“chan_multiSF_7”: { “enable”: true, “radio”: 1, “if”: 0 },
“chan_Lora_std”: {
“enable”: true,
“radio”: 1,
“if”: -200000,
“bandwidth”: 250000,
“spread_factor”: 7
},
“chan_FSK”: {
“enable”: true,
“radio”: 1,
“if”: 300000,
“bandwidth”: 125000,
“datarate”: 50000
},
“tx_lut_0”: {“dig_gain”: 0, “pa_gain”: 0, “mix_gain”: 8, “rf_power”: 0}
},
“gateway_conf”: {
“server_address”: “xxxxx.netop.io”,
“serv_port_up”: 1700,
“serv_port_down”: 1700,
“keepalive_interval”: 10,
“stat_interval”: 30,
“push_timeout_ms”: 100,
“forward_crc_valid”: true,
“forward_crc_error”: false,
“forward_crc_disabled”: false,
“autoquit_threshold”: 3,
“gps_tty_path”: “/dev/nmea”
}
}

2. local_conf.json

{
“SX1301_conf”: {
“radio_0”: {
“rssi_offset”: -nan
},
“radio_1”: {
“rssi_offset”: -nan
},
“tx_lut_0”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_1”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_2”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_3”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_4”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_5”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_6”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_7”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_8”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_9”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_10”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_11”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_12”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_13”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_14”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_15”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
}
}
}

3. loraboard_conf.json

{
“SX1301_conf”: {
“radio_0”: {
“rssi_offset”: -nan
},
“radio_1”: {
“rssi_offset”: -nan
},
“tx_lut_0”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_1”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_2”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_3”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_4”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_5”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_6”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_7”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_8”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_9”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_10”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_11”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_12”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_13”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_14”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
},
“tx_lut_15”: {
“dig_gain”: 3,
“pa_gain”: 3,
“mix_gain”: 15,
“rf_power”: -1
}
}
}

Thank you!
Zafer


#6

Can i contact with you via email?


#7

Sure. With my pleasure.

My e-mail is : zafer.cigdem@netop.io

Thank you


#8

Hello All,

Due to the help of Alex, we though that the problem is because of LoRa modem. So please let us know if you have any advice for us about how to test the LoRa modem is working or not. Or how possible solve it’s problem.

Best Regards,
Zafer