I’m pretty new to the lora topic and the things network.
I have an PG1302 board from dragino on a raspberry pi4 with a GPS antenna. As a end device I’m currently using the LDDS45.
I have started with the documentation (PG1302 - LoRaWAN Concentrator User Manual - DRAGINO) provided by dragino and used the prepared image. With this I have successfully registered the gateway over the semtech UDP configuration in the TTN. After successfully register the gateway and the end device was as well sending data and even the GPS is working fine, at least sending info towards TTN.
Due to the understanding that I have gained so far this image is using the old UDP packet forwarder. Therefore the GPS location is not set in the TTN. Due to this and other security issues that I have read about I would like to set this up as a Basic Station with the cups and lns. As so far I have not found any proper documentation that guides me through, I wanted to ask if someone has the experience on how to setup this hardware as a Basic Station with CUPS and LNS?
This can be/should be set manually in the GW instance on the console - GPS for location will only be picked up if in the GW messages and specifically updated. (Often discussed in Forum - use search). Good idea to improve security via BS use mind…not a stupid question…
cd examples/live-s2.sm.tc
RADIODEV=/dev/spidev0.0 ../../build-rpi-std/bin/station
I’m getting the following error:
2023-01-28 15:11:51.971 [TCE:VERB] Connecting to MUXS...
2023-01-28 15:11:52.302 [TCE:VERB] Connected to MUXS.
2023-01-28 15:11:52.302 [S2E:WARN] Unknown field in router_config - ignored: regionid (0xE6FFB211)
2023-01-28 15:11:52.302 [S2E:WARN] Unknown field in router_config - ignored: config (0xF7A3E35F)
2023-01-28 15:11:52.302 [S2E:WARN] Unknown field in router_config - ignored: protocol (0xFD309030)
2023-01-28 15:11:52.342 [RAL:INFO] Lora gateway library version: Version: 5.0.1;
2023-01-28 15:11:52.348 [RAL:INFO] [LGW lgw1] clksrc=1 lorawan_public=1
2023-01-28 15:11:52.348 [RAL:INFO] RX/TX RF0: 868.3MHz rssi_offset=-166.0 type=2 tx_notch_freq=0
2023-01-28 15:11:52.348 [RAL:INFO] RF1: disabled
2023-01-28 15:11:52.348 [RAL:INFO] [mSF] 0: 868.1MHz rf=0 freq=-200.0 datarate=126
2023-01-28 15:11:52.348 [RAL:INFO] [mSF] 1: 868.3MHz rf=0 freq= +0.0 datarate=126
2023-01-28 15:11:52.348 [RAL:INFO] [mSF] 2: 868.5MHz rf=0 freq=+200.0 datarate=126
2023-01-28 15:11:52.348 [RAL:INFO] channel 3 disabled
2023-01-28 15:11:52.348 [RAL:INFO] channel 4 disabled
2023-01-28 15:11:52.348 [RAL:INFO] channel 5 disabled
2023-01-28 15:11:52.349 [RAL:INFO] channel 6 disabled
2023-01-28 15:11:52.349 [RAL:INFO] channel 7 disabled
2023-01-28 15:11:52.349 [RAL:INFO] channel 8 disabled
2023-01-28 15:11:52.349 [RAL:INFO] channel 9 disabled
2023-01-28 15:11:52.349 [RAL:INFO] SX130x LBT not enabled
2023-01-28 15:11:52.349 [RAL:INFO] Station device: /dev/spidev0.0 (PPS capture disabled)
2023-01-28 15:11:52.349 [HAL:INFO] [lgw_spi_open:101] Setting SPI speed to 8000000
2023-01-28 15:11:52.349 [HAL:INFO] [lgw_spi_open:135] Note: SPI port opened and configured ok
2023-01-28 15:11:52.349 [HAL:ERRO] [lgw_start:742] FAIL TO CONNECT BOARD
2023-01-28 15:11:52.349 [RAL:ERRO] Concentrator start failed: lgw_start
2023-01-28 15:11:52.349 [RAL:ERRO] ral_config failed with status 0x08
2023-01-28 15:11:52.349 [any:ERRO] Closing connection to muxs - error in s2e_onMsg
2023-01-28 15:11:52.349 [AIO:DEBU] [3] ws_close reason=1000
2023-01-28 15:11:52.349 [AIO:DEBU] Echoing close - reason=1000
2023-01-28 15:11:52.373 [AIO:DEBU] [3|WS] Server sent close: reason=1000
2023-01-28 15:11:52.373 [AIO:DEBU] [3] WS connection shutdown...
2023-01-28 15:11:52.373 [TCE:VERB] Connection to MUXS closed in state -1
2023-01-28 15:11:52.373 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)
2023-01-28 15:12:02.374 [HAL:INFO] [lgw_spi_close:159] Note: SPI port closed
Am I heading towards the right setup? As the dragino board has a SX1302 chip I’m not quite sure if this example leads me to the right setup. Can you guide me here to an example / tutorial where I’m able to really connect proper towards to TTN? I tried as well before the example of this: LoRa Gateway Setup for RHF0M301 Raspberry Pi with Basic Station – Tutorials of Cytron Technologies
But I’m getting the same issue and the connection is always getting disconnected in the ttn.