Giter VIP home page Giter VIP logo

Comments (3)

TaylorIsAGoodboy avatar TaylorIsAGoodboy commented on September 28, 2024

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.

from rak_common_for_gateway.

mars96 avatar mars96 commented on September 28, 2024

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.

from rak_common_for_gateway.

mars96 avatar mars96 commented on September 28, 2024

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
[...]

from rak_common_for_gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.