Hello
I have one of theese kits and it has been disconnected for a while so I figured I’d reinstall and try out balena and connect it to ttn.
Based on the SX1301.
Logs from console
<main> 2021-10-20 16:16:37.558 [any:INFO] ./tc.trust:
<main> cert. version : 3
<main> serial number : 44:AF:B0:80:D6:A3:27:BA:89:30:39:86:2E:F8:40:6B
<main> issuer name : O=Digital Signature Trust Co., CN=DST Root CA X3
<main> subject name : O=Digital Signature Trust Co., CN=DST Root CA X3
<main> issued on : 2000-09-30 21:12:19
<main> expires on : 2021-09-30 14:01:15
<main> signed using : RSA with SHA1
<main> RSA key size : 2048 bits
<main> basic constraints : CA=true
<main> key usage : Key Cert Sign, CRL Sign
<main> 2021-10-20 16:16:37.558 [AIO:INFO] tc has no cert configured - running server auth and client auth with token
<main> 2021-10-20 16:16:37.655 [TCE:INFO] Connecting to INFOS: wss://eu1.cloud.thethings.network:8887
<main> 2021-10-20 16:16:37.983 [TCE:INFO] Infos: b827:ebff:fe90:1ac7 muxs-::0 wss://eu1.cloud.thethings.network:8887/traffic/eui-B827EBFFFE901AC7
<main> 2021-10-20 16:16:37.983 [AIO:DEBU] [3] ws_close reason=1000
<main> 2021-10-20 16:16:37.983 [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed
<main> 2021-10-20 16:16:37.983 [AIO:DEBU] [3] WS connection shutdown...
<main> 2021-10-20 16:16:37.984 [any:INFO] ./tc.trust:
<main> cert. version : 3
<main> serial number : 44:AF:B0:80:D6:A3:27:BA:89:30:39:86:2E:F8:40:6B
<main> issuer name : O=Digital Signature Trust Co., CN=DST Root CA X3
<main> subject name : O=Digital Signature Trust Co., CN=DST Root CA X3
<main> issued on : 2000-09-30 21:12:19
<main> expires on : 2021-09-30 14:01:15
<main> signed using : RSA with SHA1
<main> RSA key size : 2048 bits
<main> basic constraints : CA=true
<main> key usage : Key Cert Sign, CRL Sign
<main> 2021-10-20 16:16:37.984 [AIO:INFO] tc has no cert configured - running server auth and client auth with token
<main> 2021-10-20 16:16:38.041 [TCE:VERB] Connecting to MUXS...
<main> 2021-10-20 16:16:38.328 [TCE:VERB] Connected to MUXS.
<main> 2021-10-20 16:16:38.385 [RAL:INFO] Lora gateway library version: Version: 5.0.1;
<main> 2021-10-20 16:16:38.386 [RAL:VERB] Connecting to device: /dev/spidev0.0
<main> 2021-10-20 16:16:38.386 [RAL:DEBU] SX130x txlut table (0 entries)
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 rxrfchain 0: enable=1 freq=867.5MHz rssi_offset=-166.000000 type=2 tx_enable=1 tx_notch_freq=0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 rxrfchain 1: enable=1 freq=868.5MHz rssi_offset=-166.000000 type=2 tx_enable=0 tx_notch_freq=0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 0: enable=1 rf_chain=1 freq=-400000 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 1: enable=1 rf_chain=1 freq=-200000 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 2: enable=1 rf_chain=1 freq=0 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 3: enable=1 rf_chain=0 freq=-400000 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 4: enable=1 rf_chain=0 freq=-200000 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 5: enable=1 rf_chain=0 freq=0 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 6: enable=1 rf_chain=0 freq=200000 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 7: enable=1 rf_chain=0 freq=400000 bandwidth=0 datarate=0 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 8: enable=1 rf_chain=1 freq=-200000 bandwidth=2 datarate=2 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX1301 ifchain 9: enable=1 rf_chain=1 freq=300000 bandwidth=3 datarate=50000 sync_word=0/0
<main> 2021-10-20 16:16:38.386 [RAL:VERB] SX130x LBT not enabled
<main> 2021-10-20 16:16:38.386 [RAL:VERB] Station device: /dev/spidev0.0 (PPS capture disabled)
<main> 2021-10-20 16:16:38.387 [RAL:ERRO] Concentrator start failed: lgw_start
<main> 2021-10-20 16:16:38.387 [RAL:ERRO] ral_config failed with status 0x08
<main> 2021-10-20 16:16:38.387 [any:ERRO] Closing connection to muxs - error in s2e_onMsg
<main> 2021-10-20 16:16:38.387 [AIO:DEBU] [3] ws_close reason=1000
<main> 2021-10-20 16:16:38.387 [AIO:DEBU] Echoing close - reason=1000
<main> 2021-10-20 16:16:38.442 [AIO:DEBU] [3|WS] Server sent close: reason=1000
<main> 2021-10-20 16:16:38.442 [AIO:DEBU] [3] WS connection shutdown...
<main> 2021-10-20 16:16:38.443 [TCE:VERB] Connection to MUXS closed in state -1
<main> 2021-10-20 16:16:38.443 [TCE:INFO] INFOS reconnect backoff 10s (retry 1)
Could it be related to reset pins, I remember having to use pin 7 before to get it up and running.
The certificate that is expierd borthers me to but i doubt that the problem.
Variables settings (had to lower spi speed)
TTN says:
18:24:49
Disconnect gateway
18:24:49
Receive gateway status
Versions
firmware"1.0.0"package"1.0.0"platform"rpi - Firmware 1.0.0 - Protocol 2"station"2.0.5(rpi/std)"
18:24:49
Connect gateway
18:24:38
Disconnect gateway
regards
Andreas