RAKWireless / rak_common_for_gateway

219 stars 124 forks source link

RAK 2287 USB (current repo on RPi4B) - MCU version mismatch (expected: 00.02.06, got:V01.00.00) and a following ACK type error + read REQ_MULTIPLE_SPI ack #71

Closed mars96 closed 2 years ago

mars96 commented 2 years ago

I've got the RAK 2287 USB module here which is plugged into a Raspberry Pi 4B (4 MB RAM) on the latest Raspberry Pi OS. I've tested the standard ARMHF as well as the ARM64 release (fresh installs).

So far I've not been able to make it work with the latest (current) github code available, while following the "Installation procedure" steps to the letter.

After writing the SDCard I enabled SPI, etc. as described in Step 2 of the "Installation procedure" for the "rak_common_for_gateway" repository. Then I cloned the repo and ran the install.sh ("sudo ./install.sh --chirpstack=not_install" -- without the chirpstack backend as I have this running for month).

I've selected the gateway model as "9" ("9.RAK2287 USB") for "RAK2287 USB". Everything seems to be ok (compile,...) except for the errors thrown by the "ttn-gateway" when it is actually started. The RAK2287 USB I have here has no GPS (at least there is no u.FL connector on the board to connect a GPS antenna).

Here is the rest of the log right before the first WARNING and the following ERROR lines (the full log can be found below):

[...]
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Connect to MCU
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: WARNING: MCU version mismatch (expected:00.02.06, got:V01.00.00)
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Concentrator MCU version is V01.00.00
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: MCU status: sys_time:1887454 temperature:-0.0oC
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: ERROR: received wrong ACK type (0xFF)
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: ERROR: failed to read REQ_MULTIPLE_SPI ack
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: ERROR: [main] failed to start the concentrator
Jan 12 18:31:48 rak-gateway systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
Jan 12 18:31:48 rak-gateway systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.
[...]

Please help. What could be the issue? Is there another configuation parameter I should know and change which is currently not handled by the script where I have selected the correct device (RAK2287 USB)?

Here is everything I can provide ...starting with the basic USB details...

"sudb lsusb" output (looks perfect to me: 0483:5740 STMicroelectronics Virtual COM Port):

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 05af:0906 Jing-Mold Enterprise Co., Ltd 2.4G Dongle
Bus 001 Device 003: ID 0483:5740 STMicroelectronics Virtual COM Port
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

"sudo dmesg | grep -i tty" output:

[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:76:70:69 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=f514dbcb-02 rootfstype=ext4 fsck.repair=yes rootwait modules-load=dwc2,g_ether
[    0.001810] printk: console [tty1] enabled
[    1.586317] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2
[    3.302189] systemd[1]: Created slice system-getty.slice.
[    5.918326] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device

In the following logs and config files I've removed a part of the gateway id which seems to be read from the device itself.

Here is the relevant /var/log/syslog section...

Jan 12 18:31:47 rak-gateway systemd[1]: Started The Things Network Gateway.
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: *** Packet Forwarder ***
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: Version: 2.0.1
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: *** SX1302 HAL library version info ***
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: Version: 2.0.1;
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: ***
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Little endian host
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: found configuration file global_conf.json, parsing it
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: global_conf.json does contain a JSON object named SX130x_conf, parsing SX1302 parameters
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: com_type USB, com_path /dev/ttyACM0, lorawan_public 1, clksrc 0, full_duplex 0
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: antenna_gain 0 dBi
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Configuring legacy timestamp
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: no configuration for SX1261
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Configuring Tx Gain LUT for rf_chain 0 with 16 indexes for sx1250
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: radio 0 enabled (type SX1250), center frequency 867500000, RSSI offset -215.399994, tx enabled 1, single input mode 0
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: radio 1 enabled (type SX1250), center frequency 868500000, RSSI offset -215.399994, tx enabled 0, single input mode 0
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 0>  radio 1, IF -400000 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 1>  radio 1, IF -200000 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 2>  radio 1, IF 0 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 3>  radio 0, IF -400000 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 4>  radio 0, IF -200000 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 5>  radio 0, IF 0 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 6>  radio 0, IF 200000 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora multi-SF channel 7>  radio 0, IF 400000 Hz, 125 kHz bw, SF 5 to 12
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7, Explicit header
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: gateway MAC address is configured to AA555A0000000000
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: server hostname or IP address is configured to "192.168.20.44"
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: upstream port is configured to "1700"
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: downstream port is configured to "1700"
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: downstream keep-alive interval is configured to 10 seconds
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: statistics display interval is configured to 30 seconds
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: upstream PUSH_DATA time-out is configured to 100 ms
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: packets received with a valid CRC will be forwarded
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: packets received with a CRC error will NOT be forwarded
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: packets received with no CRC will NOT be forwarded
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: GPS serial port path is configured to ""
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Reference latitude is configured to 0.000000 deg
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Reference longitude is configured to 0.000000 deg
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Reference altitude is configured to 0 meters
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Beaconing period is configured to 0 seconds
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Beaconing signal will be emitted at 869525000 Hz
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Beaconing channel number is set to 1
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Beaconing channel frequency step is set to 0Hz
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Beaconing datarate is set to SF9
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Beaconing modulation bandwidth is set to 125000Hz
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Beaconing TX power is set to 27dBm
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: global_conf.json does contain a JSON object named debug_conf, parsing debug parameters
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: got 2 debug reference payload
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: reference payload ID 0 is 0xCAFE1234
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: reference payload ID 1 is 0xCAFE2345
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: setting debug log file name to loragw_hal.log
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: found configuration file local_conf.json, parsing it
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: gateway MAC address is configured to E45F01FFFE[........]
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: packets received with a valid CRC will be forwarded
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: packets received with a CRC error will NOT be forwarded
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: packets received with no CRC will NOT be forwarded
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: Opening USB communication interface
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Configuring TTY
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Flushing TTY
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Setting TTY in blocking mode
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Connect to MCU
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: WARNING: MCU version mismatch (expected:00.02.06, got:V01.00.00)
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: Concentrator MCU version is V01.00.00
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: INFO: MCU status: sys_time:1887454 temperature:-0.0oC
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: ERROR: received wrong ACK type (0xFF)
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: ERROR: failed to read REQ_MULTIPLE_SPI ack
Jan 12 18:31:48 rak-gateway ttn-gateway[5532]: ERROR: [main] failed to start the concentrator
Jan 12 18:31:48 rak-gateway systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
Jan 12 18:31:48 rak-gateway systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.

Here is the /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/global_conf : Due to the not existing GPS antenna connector I've set "gps_tty_path" to blank. With "/dev/ttyAMA0" the issue is the same.

{
    "SX130x_conf": {
        "com_type": "USB",
        "com_path": "/dev/ttyACM0",
        "lorawan_public": true,
        "clksrc": 0,
        "antenna_gain": 0, /* antenna gain, in dBi */
        "full_duplex": false,
        "fine_timestamp": {
            "enable": false,
            "mode": "all_sf" /* high_capacity or all_sf */
        },
        "radio_0": {
            "enable": true,
            "type": "SX1250",
            "freq": 867500000,
            "rssi_offset": -215.4,
            "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
            "tx_enable": true,
            "tx_freq_min": 863000000,
            "tx_freq_max": 870000000,
            "tx_gain_lut":[
                {"rf_power": 12, "pa_gain": 1, "pwr_idx": 4},
                {"rf_power": 13, "pa_gain": 1, "pwr_idx": 5},
                {"rf_power": 14, "pa_gain": 1, "pwr_idx": 6},
                {"rf_power": 15, "pa_gain": 1, "pwr_idx": 7},
                {"rf_power": 16, "pa_gain": 1, "pwr_idx": 8},
                {"rf_power": 17, "pa_gain": 1, "pwr_idx": 9},
                {"rf_power": 18, "pa_gain": 1, "pwr_idx": 10},
                {"rf_power": 19, "pa_gain": 1, "pwr_idx": 11},
                {"rf_power": 20, "pa_gain": 1, "pwr_idx": 12},
                {"rf_power": 21, "pa_gain": 1, "pwr_idx": 13},
                {"rf_power": 22, "pa_gain": 1, "pwr_idx": 14},
                {"rf_power": 23, "pa_gain": 1, "pwr_idx": 16},
                {"rf_power": 24, "pa_gain": 1, "pwr_idx": 17},
                {"rf_power": 25, "pa_gain": 1, "pwr_idx": 18},
                {"rf_power": 26, "pa_gain": 1, "pwr_idx": 19},
                {"rf_power": 27, "pa_gain": 1, "pwr_idx": 22}
            ]
        },
        "radio_1": {
            "enable": true,
            "type": "SX1250",
            "freq": 868500000,
            "rssi_offset": -215.4,
            "rssi_tcomp": {"coeff_a": 0, "coeff_b": 0, "coeff_c": 20.41, "coeff_d": 2162.56, "coeff_e": 0},
            "tx_enable": false
        },
        "chan_multiSF_All": {"spreading_factor_enable": [ 5, 6, 7, 8, 9, 10, 11, 12 ]},
        "chan_multiSF_0": {"enable": true, "radio": 1, "if": -400000},
        "chan_multiSF_1": {"enable": true, "radio": 1, "if": -200000},
        "chan_multiSF_2": {"enable": true, "radio": 1, "if":  0},
        "chan_multiSF_3": {"enable": true, "radio": 0, "if": -400000},
        "chan_multiSF_4": {"enable": true, "radio": 0, "if": -200000},
        "chan_multiSF_5": {"enable": true, "radio": 0, "if":  0},
        "chan_multiSF_6": {"enable": true, "radio": 0, "if":  200000},
        "chan_multiSF_7": {"enable": true, "radio": 0, "if":  400000},
        "chan_Lora_std":  {"enable": true, "radio": 1, "if": -200000, "bandwidth": 250000, "spread_factor": 7,
                           "implicit_hdr": false, "implicit_payload_length": 17, "implicit_crc_en": false, "implicit_coderate": 1},
        "chan_FSK":       {"enable": true, "radio": 1, "if":  300000, "bandwidth": 125000, "datarate": 50000}
    },

    "gateway_conf": {
        "gateway_ID": "AA555A0000000000",
        /* change with default server address/ports */
        "server_address": "192.168.20.44",
        "serv_port_up": 1700,
        "serv_port_down": 1700,
        /* adjust the following parameters for your network */
        "keepalive_interval": 10,
        "stat_interval": 30,
        "push_timeout_ms": 100,
        /* forward only valid packets */
        "forward_crc_valid": true,
        "forward_crc_error": false,
        "forward_crc_disabled": false,
        /* GPS configuration */
        /* "gps_tty_path": "/dev/ttyAMA0", */
        "gps_tty_path": "",
        /* GPS reference coordinates */
        "ref_latitude": 0.0,
        "ref_longitude": 0.0,
        "ref_altitude": 0,
        /* Beaconing parameters */
        "beacon_period": 0,     /* disable class B beacon, set to 128 enable beacon */
        "beacon_freq_hz": 869525000,
        "beacon_freq_nb": 1,
        "beacon_freq_step": 0,
        "beacon_datarate": 9,
        "beacon_bw_hz": 125000,
        "beacon_power": 27
    },

    "debug_conf": {
        "ref_payload":[
            {"id": "0xCAFE1234"},
            {"id": "0xCAFE2345"}
        ],
        "log_file": "loragw_hal.log"
    }
}

Here is the /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/local_conf.json to set the actual GW-ID :

{
        "gateway_conf": {
                "gateway_ID": "E45F01FFFE[........]"
        }
}
TaylorIsAGoodboy commented 2 years ago

Hello, I think I know where the problem is. The reason is the firmware of USB to spi chip is mismatch. Could you please select 'RAK5146 USB' in "Installation procedure" to check if it works ok.

mars96 commented 2 years ago

Hi Taylor, thank you for the hint. I'll check it and report the result. Note: The "RAK5146 USB" is based on the Semtech SX1303 not the SX1302 (the RAK2287 is using)...but I check it anyway.

mars96 commented 2 years ago

Here the update on Taylors hint.

When I select "RAK5146 USB" (SX1303) instead of the actual "RAK2287 USB" (SX1302) the code compiles and the service will start. It does NOT run into the "MCU version mismatch (expected:00.02.06, got:V01.00.00)" issue.

EDIT: Removed comments about strange behaviour (missing "Live LoRaWAN Frames") as it now works. I still need to check how it handles actual LoRa devices....

Anyway here is the relevant part of the "/var/log/syslog" output:

Jan 14 10:29:03 rak-gateway systemd[1]: systemd-fsckd.service: Succeeded.
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: *** Packet Forwarder ***
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: Version: 2.1.0
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: *** SX1302 HAL library version info ***
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: Version: 2.1.0;
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: ***
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Little endian host
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: found configuration file global_conf.json, parsing it
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: global_conf.json does contain a JSON object named SX130x_conf, parsing SX1302 parameters
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: com_type USB, com_path /dev/ttyACM0, lorawan_public 0, clksrc 0, full_duplex 0
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: antenna_gain 0 dBi
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Configuring legacy timestamp
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: SX1261 spi_path is not configured in global_conf.json
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Configuring Tx Gain LUT for rf_chain 0 with 16 indexes for sx1250
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: radio 0 enabled (type SX1250), center frequency 867500000, RSSI offset -215.399994, tx enabled 1, single input mode 0
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: radio 1 enabled (type SX1250), center frequency 868500000, RSSI offset -215.399994, tx enabled 0, single input mode 0
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 0>  radio 1, IF -400000 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 1>  radio 1, IF -200000 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 2>  radio 1, IF 0 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 3>  radio 0, IF -400000 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 4>  radio 0, IF -200000 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 5>  radio 0, IF 0 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 6>  radio 0, IF 200000 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora multi-SF channel 7>  radio 0, IF 400000 Hz, 125 kHz bw, SF 5 to 12
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7, Explicit header
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: gateway MAC address is configured to AA555A0000000000
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: server hostname or IP address is configured to "192.168.20.44"
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: upstream port is configured to "1700"
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: downstream port is configured to "1700"
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: downstream keep-alive interval is configured to 10 seconds
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: statistics display interval is configured to 30 seconds
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: upstream PUSH_DATA time-out is configured to 100 ms
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: packets received with a valid CRC will be forwarded
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: packets received with a CRC error will NOT be forwarded
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: packets received with no CRC will NOT be forwarded
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: GPS serial port path is configured to ""
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Reference latitude is configured to 0.000000 deg
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Reference longitude is configured to 0.000000 deg
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Reference altitude is configured to 0 meters
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Beaconing period is configured to 0 seconds
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Beaconing signal will be emitted at 869525000 Hz
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Beaconing channel number is set to 1
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Beaconing channel frequency step is set to 0Hz
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Beaconing datarate is set to SF9
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Beaconing modulation bandwidth is set to 125000Hz
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Beaconing TX power is set to 27dBm
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: global_conf.json does contain a JSON object named debug_conf, parsing debug parameters
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: got 2 debug reference payload
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: reference payload ID 0 is 0xCAFE1234
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: reference payload ID 1 is 0xCAFE2345
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: setting debug log file name to loragw_hal.log
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: found configuration file local_conf.json, parsing it
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: gateway MAC address is configured to E45F01FFFE........
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: packets received with a valid CRC will be forwarded
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: packets received with a CRC error will NOT be forwarded
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: packets received with no CRC will NOT be forwarded
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: Opening USB communication interface
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Configuring TTY
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Flushing TTY
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Setting TTY in blocking mode
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Connect to MCU
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: Concentrator MCU version is V01.00.00
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: MCU status: sys_time:35118 temperature:-0.0oC
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: Note: chip version is 0x10 (v1.0)
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: using legacy timestamp
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: LoRa Service modem: configuring preamble size to 8 symbols
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: ARB: dual demodulation disabled for all SF
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: [main] concentrator started, packet can now be received
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: concentrator EUI: 0x0016c0...........
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: [down] PULL_ACK received in 0 ms
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: [down] PULL_ACK received in 0 ms
Jan 14 10:29:27 rak-gateway ttn-gateway[742]: INFO: [down] PULL_ACK received in 0 ms
[...]