Comments (3)
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.
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.
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)
- spam to syslog HOT 2
- systemd-timesyncd.service not working HOT 2
- RAK2245 Pi Hat + Raspberry Pi 4 - Access Point HOT 6
- multi-homed configuration (to serve TTN v3 and Gateway_RS (helium) HOT 2
- rak-gateway password HOT 1
- RAK 2287 + PI Errors running forwarder HOT 3
- RAK2247 integration through SPI
- RAK7243 No EU 433Mhz Channel Plan option
- Configuration for US Channels (1-7, 64)
- Add unattended installer and setup HOT 1
- Update for Chirpstack v4
- RAK833 module won't power up when connected via mini PCI-E USB adapter to a Raspberry Pi 3B+ module. HOT 2
- Failed to disable unit: Unit file hciuart.service does not exist. HOT 2
- RAK5146 SPI AS923 enable LBT
- How to enable LTE on RAK-5146 with Raspberry
- Support for the WisLink Lora RAK2243 Ver A
- MQTT Integration with Chirpstack
- RAK5146 - Inconsistent Tx gain Look-Up-Table (LUT) values across AS923
- AP won't start
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rak_common_for_gateway.