LG308 Basic Station wont recieved from Arduino End Nodes

First of all iam pretty new to LoraWAN and english is not my first languange, so iam sorry if my post is not clear enough.
So i have Dragino LG308 gateways and i managed to connect my gateways with TTN Basic Station.
But my gateway wont recieve the packets that i sent from my Arduino set as a end node, i’ve set the frequency, pin of my lora module correctly, and still my gateway wont recieve it. What am i doing wrong ?
I attached snippet of my gateway log below too

2024-03-09 05:08:17.487 [SYN:VERB] Time sync rejected: quality=136 threshold=117
2024-03-09 05:08:19.587 [SYN:INFO] MCU/SX130X drift stats: min: -3.3ppm  q50: -4.8ppm  q80: -5.2ppm  max: -6.2ppm - threshold q90: -5.7ppm
2024-03-09 05:08:19.588 [SYN:INFO] Mean MCU drift vs SX130X#0: -4.7ppm
2024-03-09 05:08:46.894 [SYN:INFO] Time sync qualities: min=80 q90=115 max=136 (previous q90=117)
2024-03-09 05:08:53.195 [SYN:VERB] Time sync rejected: quality=134 threshold=115
2024-03-09 05:09:03.697 [SYN:INFO] MCU/SX130X drift stats: min: -2.4ppm  q50: -4.8ppm  q80: -5.2ppm  max: -5.2ppm - threshold q90: -5.2ppm
2024-03-09 05:09:03.697 [SYN:INFO] Mean MCU drift vs SX130X#0: -4.4ppm
2024-03-09 05:09:07.898 [SYN:VERB] Time sync rejected: quality=130 threshold=115
2024-03-09 05:09:24.700 [SYN:VERB] Time sync rejected: quality=134 threshold=115
2024-03-09 05:09:28.901 [SYN:VERB] Time sync rejected: quality=134 threshold=115
2024-03-09 05:09:39.402 [SYN:VERB] Time sync rejected: quality=133 threshold=115
2024-03-09 05:09:41.503 [SYN:VERB] Time sync rejected: quality=194 threshold=115
2024-03-09 05:09:49.904 [SYN:INFO] Time sync qualities: min=81 q90=134 max=194 (previous q90=115)
2024-03-09 05:09:54.105 [SYN:INFO] MCU/SX130X drift stats: min: -2.9ppm  q50: -4.5ppm  q80: -5.2ppm  max: -8.6ppm - threshold q90: -7.3ppm
2024-03-09 05:09:54.105 [SYN:INFO] Mean MCU drift vs SX130X#0: -4.8ppm
2024-03-09 05:09:56.206 [SYN:VERB] Time sync rejected: quality=135 threshold=134
2024-03-09 05:10:11.958 [SYN:VERB] Time sync rejected: quality=141 threshold=134
2024-03-09 05:10:22.460 [SYN:VERB] Time sync rejected: quality=141 threshold=134
2024-03-09 05:10:24.561 [SYN:VERB] Time sync rejected: quality=136 threshold=134
2024-03-09 05:09:28.901 [SYN:VERB] Time sync rejected: quality=134 threshold=115
2024-03-09 05:09:39.402 [SYN:VERB] Time sync rejected: quality=133 threshold=115
2024-03-09 05:09:41.503 [SYN:VERB] Time sync rejected: quality=194 threshold=115
2024-03-09 05:09:49.904 [SYN:INFO] Time sync qualities: min=81 q90=134 max=194 (previous q90=115)
2024-03-09 05:09:54.105 [SYN:INFO] MCU/SX130X drift stats: min: -2.9ppm  q50: -4.5ppm  q80: -5.2ppm  max: -8.6ppm - threshold q90: -7.3ppm
2024-03-09 05:09:54.105 [SYN:INFO] Mean MCU drift vs SX130X#0: -4.8ppm
2024-03-09 05:09:56.206 [SYN:VERB] Time sync rejected: quality=135 threshold=134
2024-03-09 05:10:11.958 [SYN:VERB] Time sync rejected: quality=141 threshold=134
2024-03-09 05:10:22.460 [SYN:VERB] Time sync rejected: quality=141 threshold=134
2024-03-09 05:10:24.561 [SYN:VERB] Time sync rejected: quality=136 threshold=134
2024-03-09 05:10:37.162 [SYN:VERB] Time sync rejected: quality=138 threshold=134
2024-03-09 05:10:39.263 [SYN:VERB] Time sync rejected: quality=191 threshold=134
2024-03-09 05:10:44.514 [SYN:INFO] MCU/SX130X drift stats: min: -2.9ppm  q50: -4.8ppm  q80: -7.6ppm  max: -10.5ppm - threshold q90: -9.0ppm
2024-03-09 05:10:44.514 [SYN:INFO] Mean MCU drift vs SX130X#0: -5.7ppm
2024-03-09 05:10:46.615 [SYN:INFO] Time sync qualities: min=81 q90=141 max=191 (previous q90=134)
2024-03-09 05:10:59.216 [SYN:VERB] Time sync rejected: quality=219 threshold=141
2024-03-09 05:11:28.620 [SYN:INFO] MCU/SX130X drift stats: min: +0.0ppm  q50: -4.8ppm  q80: -5.7ppm  max: -8.6ppm - threshold q90: -6.7ppm
2024-03-09 05:11:28.620 [SYN:INFO] Mean MCU drift vs SX130X#0: -4.4ppm
2024-03-09 05:11:48.573 [SYN:INFO] Time sync qualities: min=84 q90=138 max=219 (previous q90=141)
2024-03-09 05:11:53.791 [RAL:DEBU] [CRC FAIL] 922.200MHz -12.75/-112.8 SF7/BW125 (mod=16/dr=2/bw=3) xtick=1b492243 (457777731) 143 bytes: 7CD47D60EC684A23A4577F70944AF1690E8C007770C2A140895543C83016036D6A1CF6735F0F6EDE47E7E73E9800678347805ECB650DF2A1340AC23E8ECC3208..
2024-03-09 05:11:53.792 [___:INFO] lgw_receive:1155: FIFO content: 1 6d 1 7 8f
lgw_receive:1174: [2 17]
Note: LoRa packet
2024-03-09 05:12:08.526 [SYN:INFO] MCU/SX130X drift stats: min: -2.4ppm  q50: -4.8ppm  q80: -6.3ppm  max: -10.0ppm - threshold q90: -9.5ppm
2024-03-09 05:12:08.526 [SYN:INFO] Mean MCU drift vs SX130X#0: -5.0ppm
2024-03-09 05:12:50.532 [SYN:INFO] Time sync qualities: min=80 q90=134 max=135 (previous q90=138)
2024-03-09 05:12:50.532 [SYN:VERB] Time sync rejected: quality=135 threshold=134
2024-03-09 05:12:52.633 [SYN:INFO] MCU/SX130X drift stats: min: +0.0ppm  q50: -4.8ppm  q80: -5.2ppm  max: -9.5ppm - threshold q90: -6.7ppm
2024-03-09 05:12:52.633 [SYN:INFO] Mean MCU drift vs SX130X#0: -4.6ppm
2024-03-09 05:12:56.834 [SYN:VERB] Time sync rejected: quality=149 threshold=134
2024-03-09 05:13:01.034 [SYN:VERB] Time sync rejected: quality=138 threshold=134
2024-03-09 05:13:05.235 [SYN:VERB] Time sync rejected: quality=136 threshold=134
2024-03-09 05:13:22.037 [SYN:VERB] Time sync rejected: quality=136 threshold=134

This implies either or both have no antenna or the antenna is disconnected. So the gateway is hearing something but can’t quite tell what. Check you connections.

For future posts, please no screen shots for anything that can be copied & pasted as text - like the serial log. Also consider what information may be useful - there are two ends to this story and we have no information on what the device is other than Arduino - what sort, what radio, what library, what versions etc etc

Also screen shot suggests GW may be disconnected from LNS as no activity for 1hr suggests TTN backend isnt receiving GW status messages - you should see last activity count increment to approx 30sec, if no actual messages received by LNS, before it resets to ‘just now’ once a status message comes in. If you have changed update rate for status that may explain but that should really be kept at default 30, and not dropped below 10-20sec (too often!) or put >1-1.5min (LNS will assume offline/not available!). How stable is your backhaul, inc wifi connection?

143bytes a large payload for a simple get started test payload? As Nick says -details matter at this point. Is the failed message definetly from your node? (did you e.g. trigger Tx from a button push?) For reliable connection at SF7 need to be looking for RSSI at >-107’ish so as Nick says GW likely heard something but then couldnt reliably decode - especially as long - hence CRC error. It maybe if ant/gw or ant node connections bad or e.g. mistakenly used female to female (slight capacitive coupling vs direct (very low!) resistive pin based contact) SMA connectors etc, GW receiver will still pick up but then be very poor.

I do have both devices with antenna maybe its not connected properly. Iam using custom arduino pro mini with soldered in RFM95W the full specification is here, iam using the MCCI LoRaWAN LMIC library version 0.10.0, and i used an example ttn-abp code from that library the frequency i use is AS923.

I set the keepalive_script to 10 looks fine on the gateway console, i use mobile hotspot to test not the most stable in the world i know.The message i sent is just ‘hello world’.I don’t know if the failed message is from my node though. I don’t know where to look for RSSI, my gateway and node is right next to each other.
So i’ve tried again with different anttena and after rebooting the LoRa status is connected but after couple of minutes it disconnected. Here’s the log

2024-03-09 12:26:25.674 [SYS:INFO] Logging     : /var/iot/station.log (maxsize=10000000, rotate=3)
2024-03-09 12:26:25.675 [SYS:INFO] Station Ver : 2.8.9(mips-openwrt/dragino) 2023-10-11 03:57:08
2024-03-09 12:26:25.675 [SYS:INFO] Package Ver : (null)
2024-03-09 12:26:25.675 [SYS:INFO] mbedTLS Ver : 2.28.0
2024-03-09 12:26:25.675 [SYS:INFO] proto EUI   : a840:411c:ff3c:4150	(station.conf)
2024-03-09 12:26:25.676 [SYS:INFO] prefix EUI  : ::1	(builtin)
2024-03-09 12:26:25.676 [SYS:INFO] Station EUI : a840:411c:ff3c:4150
2024-03-09 12:26:25.676 [SYS:INFO] Station home: /etc/station/	(--home)
2024-03-09 12:26:25.676 [SYS:INFO] Station temp: /var/tmp/	(builtin)
2024-03-09 12:26:25.682 [SYS:INFO] DAEMON: Station process 3963 started...
2024-03-09 12:26:25.884 [TCE:INFO] Starting TC engine
2024-03-09 12:26:25.888 [AIO:INFO] /etc/station/tc.trust: 
cert. version     : 3
serial number     : 82:10:CF:B0:D2:40:E3:59:44:63:E0:BB:63:82:8B:00
issuer name       : C=US, O=Internet Security Research Group, CN=ISRG Root X1
subject name      : C=US, O=Internet Security Research Group, CN=ISRG Root X1
issued  on        : 2015-06-04 11:04:38
expires on        : 2035-06-04 11:04:38
signed using      : RSA with SHA-256
RSA key size      : 4096 bits
basic constraints : CA=true
key usage         : Key Cert Si�2024-03-09 12:26:25.888 [TCE:INFO] Connecting to INFOS: wss://rayhannet.au1.cloud.thethings.industries:8887
2024-03-09 12:26:26.050 [CUP:INFO] Starting a CUPS session in 0 seconds.
2024-03-09 12:26:26.051 [CUP:INFO] Starting a CUPS session now.
2024-03-09 12:26:26.051 [CUP:INFO] Connecting to CUPS ... https://rayhannet.au1.cloud.thethings.industries:443 (try #1)
2024-03-09 12:26:26.054 [AIO:INFO] /etc/station/cups.trust: 
cert. version     : 3
serial number     : 82:10:CF:B0:D2:40:E3:59:44:63:E0:BB:63:82:8B:00
issuer name       : C=US, O=Internet Security Research Group, CN=ISRG Root X1
subject name      : C=US, O=Internet Security Research Group, CN=ISRG Root X1
issued  on        : 2015-06-04 11:04:38
expires on        : 2035-06-04 11:04:38
signed using      : RSA with SHA-256
RSA key size      : 4096 bits
basic constraints : CA=true
key usage         : Key Cert �2024-03-09 12:26:26.215 [CUP:VERB] Retrieving update-info from CUPS https://rayhannet.au1.cloud.thethings.industries:443...
2024-03-09 12:26:26.216 [CUP:DEBU] CUPS Request: {"router":"a840:411c:ff3c:4150","cupsUri":"https://rayhannet.au1.cloud.thethings.industries:443","tcUri":"wss://rayhannet.au1.cloud.thethings.industries:8887","cupsCredCrc":476053718,"tcCredCrc":3703174846,"station":"2.8.9(mips-openwrt/dragino) 2023-10-11 03:57:05","model":"mips-openwrt","package":null,"keys":[]}
2024-03-09 12:26:27.608 [TCE:INFO] Infos: a840:411c:ff3c:4150 muxs-::0 wss://rayhannet.au1.cloud.thethings.industries:8887/traffic/eui-A840411CFF3C4150
2024-03-09 12:26:27.608 [AIO:DEBU] [4] ws_close reason=1000
2024-03-09 12:26:27.609 [AIO:ERRO] Recv failed: SSL - The peer notified us that the connection is going to be closed
2024-03-09 12:26:27.609 [AIO:DEBU] [4] WS connection shutdown...
2024-03-09 12:26:27.611 [AIO:INFO] /etc/station/tc.trust: 
cert. version     : 3
serial number     : 82:10:CF:B0:D2:40:E3:59:44:63:E0:BB:63:82:8B:00
issuer name       : C=US, O=Internet Security Research Group, CN=ISRG Root X1
subject name      : C=US, O=Internet Security Research Group, CN=ISRG Root X1
issued  on        : 2015-06-04 11:04:38
expires on        : 2035-06-04 11:04:38
signed using      : RSA with SHA-256
RSA key size      : 4096 bits
basic constraints : CA=true
key usage         : Key Cert Si�2024-03-09 12:26:27.611 [TCE:VERB] Connecting to MUXS...
2024-03-09 12:26:28.151 [AIO:DEBU] [6] HTTP connection shutdown...
2024-03-09 12:26:28.152 [CUP:INFO] Interaction with CUPS done (no updates) - next regular check in 1d
2024-03-09 12:26:29.447 [TCE:VERB] Connected to MUXS.
2024-03-09 12:26:29.545 [SYS:VERB] rinit.sh: Forked, waiting...
2024-03-09 12:26:29.546 [SYS:DEBU] execvp argv[0]: </bin/sh>
2024-03-09 12:26:29.546 [SYS:DEBU]        argv[1]: <-c>
2024-03-09 12:26:29.546 [SYS:DEBU]        argv[2]: <rinit.sh>
2024-03-09 12:26:29.547 [SYS:DEBU]        argv[3]: <rinit.sh>
2024-03-09 12:26:29.547 [SYS:DEBU]        argv[4]: </dev/spidev1.0>
2024-03-09 12:26:35.617 [SYS:INFO] Process rinit.sh (pid=3971) completed
2024-03-09 12:26:35.617 [RAL:INFO] Lora gateway library version: Version: 2.8.9;
2024-03-09 12:26:35.631 [RAL:INFO] [LGW lgw1] clksrc=1 lorawan_public=1
2024-03-09 12:26:35.632 [RAL:INFO]  RX/TX RF0:    923.0MHz rssi_offset=-166.0 type=2 tx_notch_freq=0
2024-03-09 12:26:35.632 [RAL:INFO]  RX    RF1:    922.1MHz rssi_offset=-166.0 type=2 tx_notch_freq=0
2024-03-09 12:26:35.633 [RAL:INFO]  [mSF]   0:    923.2MHz rf=0 freq=+200.0 datarate=0
2024-03-09 12:26:35.633 [RAL:INFO]  [mSF]   1:    923.4MHz rf=0 freq=+400.0 datarate=0
2024-03-09 12:26:35.633 [RAL:INFO]  [mSF]   2:    922.2MHz rf=1 freq=+100.0 datarate=0
2024-03-09 12:26:35.634 [RAL:INFO]  [mSF]   3:    922.4MHz rf=1 freq=+300.0 datarate=0
2024-03-09 12:26:35.634 [RAL:INFO]  [mSF]   4:    922.6MHz rf=0 freq=-400.0 datarate=0
2024-03-09 12:26:35.634 [RAL:INFO]  [mSF]   5:    922.8MHz rf=0 freq=-200.0 datarate=0
2024-03-09 12:26:35.635 [RAL:INFO]  [mSF]   6:    923.0MHz rf=0 freq=  +0.0 datarate=0
2024-03-09 12:26:35.635 [RAL:INFO]  [mSF]   7:    922.0MHz rf=1 freq=-100.0 datarate=0
2024-03-09 12:26:35.636 [RAL:INFO]  [STD]   8:    922.1MHz rf=1 freq=  +0.0 datarate=2 bw=2 
2024-03-09 12:26:35.636 [RAL:INFO]  [FSK]   9:    921.8MHz rf=1 freq=-300.0 datarate=50000 bw=0 sync_word=0/0
2024-03-09 12:26:35.636 [RAL:INFO] SX130x LBT not enabled
2024-03-09 12:26:35.636 [RAL:INFO] Station device: /dev/spidev1.0 (PPS capture disabled)
2024-03-09 12:26:38.993 [RAL:INFO] Concentrator started (3s356ms)
2024-03-09 12:26:38.993 [S2E:INFO] Configuring for region: AS923-1 (CCA) -- 920.0MHz..923.4MHz
2024-03-09 12:26:38.993 [S2E:INFO]   DR0  SF12/BW125 
2024-03-09 12:26:38.993 [S2E:INFO]   DR1  SF11/BW125 
2024-03-09 12:26:38.993 [S2E:INFO]   DR2  SF10/BW125 
2024-03-09 12:26:38.993 [S2E:INFO]   DR3  SF9/BW125 
2024-03-09 12:26:38.994 [S2E:INFO]   DR4  SF8/BW125 
2024-03-09 12:26:38.994 [S2E:INFO]   DR5  SF7/BW125 
2024-03-09 12:26:38.994 [S2E:INFO]   DR6  SF7/BW250 
2024-03-09 12:26:38.994 [S2E:INFO]   DR7  FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR8  FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR9  FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR10 FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR11 FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR12 FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR13 FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR14 FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   DR15 FSK 
2024-03-09 12:26:38.994 [S2E:INFO]   TX power: 13.0 dBm EIRP
2024-03-09 12:26:38.994 [S2E:INFO]   JoinEui list: 0 entries
2024-03-09 12:26:38.994 [S2E:INFO]   NetID filter: FFFFFFFF-FFFFFFFF-FFFFFFFF-FFFFFFFF
2024-03-09 12:26:38.995 [S2E:INFO]   Dev/test settings: nocca=1 nodc=1 nodwell=1
2024-03-09 12:26:38.995 [S2E:INFO] Beaconing every 2m8s on 923.4MHz(1) @ DR3 (frame layout 2/8/17)
2024-03-09 12:26:38.995 [S2E:INFO] Beaconing suspend - missing GPS data: time 
2024-03-09 12:26:38.996 [___:INFO] lgw_board_setconf:425: Note: board configuration; lorawan_public:1, clksrc:1
lgw_rxrf_setconf:474: WARNING: NOT A VALID TX NOTCH FILTER FREQUENCY [126000..250000]Hz
lgw_rxrf_setconf:486: Note: rf_chain 0 configuration; en:1 freq:923000000 rssi_offset:-166.000000 radio_type:2 tx_enable:1 tx_notch_freq:0
lgw_rxrf_setconf:486: Note: rf_chain 1 configuration; en:1 freq:922100000 rssi_offset:-166.000000 radio_type:2 tx_enable:0 tx_notch_freq:0
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 0 configuration; en:1 freq:200000 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 1 configuration; en:1 freq:400000 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 2 configuration; en:1 freq:100000 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 3 configuration; en:1 freq:300000 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 4 configuration; en:1 freq:-400000 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 5 configuration; en:1 freq:-200000 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 6 configuration; en:1 freq:0 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 7 configuration; en:1 freq:-100000 SF_mask:0x7e
lgw_rxif_setconf:579: Note: LoRa 'std' if_chain 8 configuration; en:1 freq:0 bw:2 dr:2
lgw_rxif_setconf:635: Note: FSK if_chain 9 configuration; en:1 freq:-300000 bw:2 dr:50000 (50000 real dr) sync:0xC194C1
lgw_start:823: Note: calibration started (time: 2300 ms)
lgw_start:844: Note: calibration finished (status = 191)
Info: Initialising AGC firmware...
Info: putting back original RADIO_SELECT value
2024-03-09 12:26:43.196 [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (3 retries): 106.2ppm (threshold 100.0ppm)
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 5 configuration; en:1 freq:-200000 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 6 configuration; en:1 freq:0 SF_mask:0x7e
lgw_rxif_setconf:605: Note: LoRa 'multi' if_chain 7 configuration; en:1 freq:-100000 SF_mask:0x7e
lgw_rxif_setconf:579: Note: LoRa 'std' if_chain 8 configuration; en:1 freq:0 bw:2 dr:2
lgw_rxif_setconf:635: Note: FSK if_chain 9 configuration; en:1 freq:-300000 bw:2 dr:50000 (50000 real dr) sync:0xC194C1
lgw_start:823: Note: calibration started (time: 2300 ms)
lgw_start:844: Note: calibration finished (status = 191)
Info: Initialising AGC firmware...
Info: putting back original RADIO_SELECT value
2024-03-09 12:26:43.196 [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (3 retries): 106.2ppm (threshold 100.0ppm)
2024-03-09 12:26:46.347 [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (6 retries): 104.9ppm (threshold 100.0ppm)
2024-03-09 12:26:49.498 [SYN:WARN] Repeated excessive clock drifts between MCU/SX130X#0 (9 retries): 103.3ppm (threshold 100.0ppm)

Are you on TTN or a private TTS instance?

It is armed with a low-power microcontroller ATMega 328 with Pro Mini bootloader.”

Not a great choice for a modern LW instance - will need careful crafting to handle recent (say last 3-5 years!) LNS expectations and operation, and even then very limited capacity for actual sensors/applications

…and the most recent version is? (clue: e.g. mcci-catanea doesnt even bother listing <2.0 releases in release history!)…(most likely to work with “a modern LW instance… & handle recent (say last 3-5 years!) LNS expectations and operation”)

Forum search is your friend - text wasteful - send a simple value whilst testing KISS and limit risk of corruption/decode/crc errors :slight_smile: (see also ‘working with bytes’ )

What is your GW ID?

Also search forum :slight_smile:

Wrong!

Besides the possibility that your gateway is not connected to the LNS (power off, no internet connection of misconfigure (no a840411cff3c4150 in the db))

What is the distance between the node and gateway? LoRaWAN is a low power long distance radio teck - not WiFi - node and gateway need to be 5m or more with a brick wall in between as a minimum.

Iam on private TTN instance, i think

What do you mean by that ?, iam not expecting it to last, i just want to demo a project with arduino connected with a pulse oximeter sensor as an end node.

Iam on recent version now, still doesnt work.

So sending simple text is wasteful ? iam not sure what are you trying to say. Iam searching in this forum for awhile too, and tried changing config and all, still the gateway doesnt work.
My gateway id is eui-a840411cff3c4150

Iam just testing right now, so yeah the end node and my gateway is right next to each other.

Is it because i use private instance of TTN ? my gateway id is eui-a840411cff3c4150
The distance is very close like 30 cm or closer, the point is, the gateway wont relay my node packets, and seems like my gateway LoRa radio signal doesnt work after couple of minutes booting up.

Did you read and understood my comment?

Pirate instance => private forum

The TTN forum is open to anyone using LoRaWAN but we only discuss the specific implementation details of TTS in it’s various flavours.

We even allow pirates to join. :pirate_flag: :parrot:

1 Like

Yes and no

Wdym pirate instances

I tried using Semtech UDP i got stable connection with TTN now, but still my gateway wont received my packets from my node. Here’s my arduino codes

#include <lmic.h>
#include <hal/hal.h>
#include <SPI.h>

//
// For normal use, we require that you edit the sketch to replace FILLMEIN
// with values assigned by the TTN console. However, for regression tests,
// we want to be able to compile these scripts. The regression tests define
// COMPILE_REGRESSION_TEST, and in that case we define FILLMEIN to a non-
// working but innocuous value.
//
#ifdef COMPILE_REGRESSION_TEST
# define FILLMEIN 0
#else
# warning "You must replace the values marked FILLMEIN with real values from the TTN control panel!"
# define FILLMEIN (#dont edit this, edit the lines that use FILLMEIN)
#endif

// LoRaWAN NwkSKey, network session key
// This should be in big-endian (aka msb).
static const PROGMEM u1_t NWKSKEY[16] = { 0x9E, 0x74, 0xA9, 0x9C, 0x9F, 0xE4, 0x80, 0x7C, 0x78, 0x67, 0x81, 0x45, 0xE5, 0xFE, 0xE5, 0xAB };

// LoRaWAN AppSKey, application session key
// This should also be in big-endian (aka msb).
static const u1_t PROGMEM APPSKEY[16] = { 0x9E, 0x74, 0xA9, 0x9C, 0x9F, 0xE4, 0x80, 0x7C, 0x78, 0x67, 0x81, 0x45, 0xE5, 0xFE, 0xE5, 0xAB };

// LoRaWAN end-device address (DevAddr)
// See http://thethingsnetwork.org/wiki/AddressSpace
// The library converts the address to network byte order as needed, so this should be in big-endian (aka msb) too.
static const u4_t DEVADDR = 0x27FD3E2F ; // <-- Change this address for every node!

// These callbacks are only used in over-the-air activation, so they are
// left empty here (we cannot leave them out completely unless
// DISABLE_JOIN is set in arduino-lmic/project_config/lmic_project_config.h,
// otherwise the linker will complain).
void os_getArtEui (u1_t* buf) { }
void os_getDevEui (u1_t* buf) { }
void os_getDevKey (u1_t* buf) { }

static uint8_t mydata[] = "Hello, world!";
static osjob_t sendjob;

// Schedule TX every this many seconds (might become longer due to duty
// cycle limitations).
const unsigned TX_INTERVAL = 180;

// Pin mapping
// Adapted for Feather M0 per p.10 of [feather]
const lmic_pinmap lmic_pins = {
    .nss = 10,                       // chip select on feather (rf95module) CS
    .rxtx = LMIC_UNUSED_PIN,
    .rst = 9,                       // reset pin
    .dio = {2, 6, LMIC_UNUSED_PIN}, // assumes external jumpers [feather_lora_jumper]
                                    // DIO1 is on JP1-1: is io1 - we connect to GPO6
                                    // DIO1 is on JP5-3: is D2 - we connect to GPO5
};

void onEvent (ev_t ev) {
    Serial.print(os_getTime());
    Serial.print(": ");
    switch(ev) {
        case EV_SCAN_TIMEOUT:
            Serial.println(F("EV_SCAN_TIMEOUT"));
            break;
        case EV_BEACON_FOUND:
            Serial.println(F("EV_BEACON_FOUND"));
            break;
        case EV_BEACON_MISSED:
            Serial.println(F("EV_BEACON_MISSED"));
            break;
        case EV_BEACON_TRACKED:
            Serial.println(F("EV_BEACON_TRACKED"));
            break;
        case EV_JOINING:
            Serial.println(F("EV_JOINING"));
            break;
        case EV_JOINED:
            Serial.println(F("EV_JOINED"));
            break;
        /*
        || This event is defined but not used in the code. No
        || point in wasting codespace on it.
        ||
        || case EV_RFU1:
        ||     Serial.println(F("EV_RFU1"));
        ||     break;
        */
        case EV_JOIN_FAILED:
            Serial.println(F("EV_JOIN_FAILED"));
            break;
        case EV_REJOIN_FAILED:
            Serial.println(F("EV_REJOIN_FAILED"));
            break;
        case EV_TXCOMPLETE:
            Serial.println(F("EV_TXCOMPLETE (includes waiting for RX windows)"));
            if (LMIC.txrxFlags & TXRX_ACK)
              Serial.println(F("Received ack"));
            if (LMIC.dataLen) {
              Serial.println(F("Received "));
              Serial.println(LMIC.dataLen);
              Serial.println(F(" bytes of payload"));
            }
            // Schedule next transmission
            os_setTimedCallback(&sendjob, os_getTime()+sec2osticks(TX_INTERVAL), do_send);
            break;
        case EV_LOST_TSYNC:
            Serial.println(F("EV_LOST_TSYNC"));
            break;
        case EV_RESET:
            Serial.println(F("EV_RESET"));
            break;
        case EV_RXCOMPLETE:
            // data received in ping slot
            Serial.println(F("EV_RXCOMPLETE"));
            break;
        case EV_LINK_DEAD:
            Serial.println(F("EV_LINK_DEAD"));
            break;
        case EV_LINK_ALIVE:
            Serial.println(F("EV_LINK_ALIVE"));
            break;
        /*
        || This event is defined but not used in the code. No
        || point in wasting codespace on it.
        ||
        || case EV_SCAN_FOUND:
        ||    Serial.println(F("EV_SCAN_FOUND"));
        ||    break;
        */
        case EV_TXSTART:
            Serial.println(F("EV_TXSTART"));
            break;
        case EV_TXCANCELED:
            Serial.println(F("EV_TXCANCELED"));
            break;
        case EV_RXSTART:
            /* do not print anything -- it wrecks timing */
            break;
        case EV_JOIN_TXCOMPLETE:
            Serial.println(F("EV_JOIN_TXCOMPLETE: no JoinAccept"));
            break;
        default:
            Serial.print(F("Unknown event: "));
            Serial.println((unsigned) ev);
            break;
    }
}

void do_send(osjob_t* j){
    // Check if there is not a current TX/RX job running
    if (LMIC.opmode & OP_TXRXPEND) {
        Serial.println(F("OP_TXRXPEND, not sending"));
    } else {
        // Prepare upstream data transmission at the next possible time.
        LMIC_setTxData2(1, mydata, sizeof(mydata)-1, 0);
        Serial.println(F("Packet queued"));
    }
    // Next TX is scheduled after TX_COMPLETE event.
}

void setup() {
//    pinMode(13, OUTPUT);
    while (!Serial); // wait for Serial to be initialized
    Serial.begin(115200);
    delay(100);     // per sample code on RF_95 test
    Serial.println(F("Starting"));

    #ifdef VCC_ENABLE
    // For Pinoccio Scout boards
    pinMode(VCC_ENABLE, OUTPUT);
    digitalWrite(VCC_ENABLE, HIGH);
    delay(1000);
    #endif

    // LMIC init
    os_init();
    // Reset the MAC state. Session and pending data transfers will be discarded.
    LMIC_reset();

    // Set static session parameters. Instead of dynamically establishing a session
    // by joining the network, precomputed session parameters are be provided.
    #ifdef PROGMEM
    // On AVR, these values are stored in flash and only copied to RAM
    // once. Copy them to a temporary buffer here, LMIC_setSession will
    // copy them into a buffer of its own again.
    uint8_t appskey[sizeof(APPSKEY)];
    uint8_t nwkskey[sizeof(NWKSKEY)];
    memcpy_P(appskey, APPSKEY, sizeof(APPSKEY));
    memcpy_P(nwkskey, NWKSKEY, sizeof(NWKSKEY));
    LMIC_setSession (0x13, DEVADDR, nwkskey, appskey);
    #else
    // If not running an AVR with PROGMEM, just use the arrays directly
    LMIC_setSession (0x13, DEVADDR, NWKSKEY, APPSKEY);
    #endif

    #if defined(CFG_as923)
    // Set up the channels used by the Things Network, which corresponds
    // to the defaults of most gateways. Without this, only three base
    // channels from the LoRaWAN specification are used, which certainly
    // works, so it is good for debugging, but can overload those
    // frequencies, so be sure to configure the full frequency range of
    // your network here (unless your network autoconfigures them).
    // Setting up channels should happen after LMIC_setSession, as that
    // configures the minimal channel set. The LMIC doesn't let you change
    // the three basic settings, but we show them here.
    LMIC_setupChannel(0, 923200000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(1, 923400000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(2, 922200000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(3, 922400000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(4, 922600000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(5, 922800000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(6, 923000000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(7, 922000000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);
    LMIC_setupChannel(8, 921800000, DR_RANGE_MAP(DR_FSK,  DR_FSK),  BAND_MILLI);
    // TTN defines an additional channel at 869.525Mhz using SF9 for class B
    // devices' ping slots. LMIC does not have an easy way to define set this
    // frequency and support for class B is spotty and untested, so this
    // frequency is not configured here.
    #elif defined(CFG_us915) || defined(CFG_au915)
    // NA-US and AU channels 0-71 are configured automatically
    // but only one group of 8 should (a subband) should be active
    // TTN recommends the second sub band, 1 in a zero based count.
    // https://github.com/TheThingsNetwork/gateway-conf/blob/master/US-global_conf.json
    LMIC_selectSubBand(1);
    #elif defined(CFG_eu868)
    // Set up the channels used in your country. Only two are defined by default,
    // and they cannot be changed.  Use BAND_CENTI to indicate 1% duty cycle.
    //LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band
    //LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);      // g-band
    //LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band
    //LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band
    //LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band
    //LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band
    //LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band
    //LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band
    //LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK,  DR_FSK),  BAND_MILLI);      // g2-band
    // ... extra definitions for channels 2..n here
    #elif defined(CFG_kr920)
    // Set up the channels used in your country. Three are defined by default,
    // and they cannot be changed. Duty cycle doesn't matter, but is conventionally
    // BAND_MILLI.
    // LMIC_setupChannel(0, 922100000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_MILLI);
    // LMIC_setupChannel(1, 922300000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_MILLI);
    // LMIC_setupChannel(2, 922500000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_MILLI);

    // ... extra definitions for channels 3..n here.
    #elif defined(CFG_in866)
    // Set up the channels used in your country. Three are defined by default,
    // and they cannot be changed. Duty cycle doesn't matter, but is conventionally
    // BAND_MILLI.
    // LMIC_setupChannel(0, 865062500, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_MILLI);
    // LMIC_setupChannel(1, 865402500, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_MILLI);
    // LMIC_setupChannel(2, 865985000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_MILLI);

    // ... extra definitions for channels 3..n here.
    #else
    # error Region not supported
    #endif

    // Disable link check validation
    LMIC_setLinkCheckMode(0);

    // TTN uses SF9 for its RX2 window.
    LMIC.dn2Dr = DR_SF9;

    // Set data rate and transmit power for uplink
    LMIC_setDrTxpow(DR_SF7,14);

    // Start job
    do_send(&sendjob);
}

void loop() {
    unsigned long now;
    now = millis();
    if ((now & 512) != 0) {
      digitalWrite(13, HIGH);
    }
    else {
      digitalWrite(13, LOW);
    }

    os_runloop_once();

}

It was a typo pirate = private! (I.e. a TTS instance self hosted or hosted by TTI vs the TTN implementation - TTS Sandbox) (Hence Nick’s joke above!)

So what have you done about it? Seperation =?, aborber inbetween (if any) =?

Also, still have this:

static uint8_t mydata = “Hello, world!”;

See comment wrt payload above

Without you telling us exactly what version you are using & from where, we will guessing at possibilities. Please provide facts not descriptions.

I believe @Jeff-UK meant it was a typo but it ended up as type which makes this a rather meta joke.

Unless @Johan_Scheepers had something else in mind?

Damned spelling checker - was still editing/adding to post when you posted, corrected now!

Sorry English is not my first languange so :smile:

What i’ve done is, changing the lorawan protocol and using Semtech UDP and my gateway is working now, i’ve tried different payload and all still my gateway wont receive it and uplink it. I’ll attach log below

I use MCCI Arduino LMIC version 4.1.1 from github

Here’s a log snippet below

Mon Mar 11 15:59:10 2024 daemon.info fwd[15575]: #[server] Semtech status report ready.
Mon Mar 11 15:59:10 2024 daemon.info fwd[15575]: DEBUG~ [server] semtech_push_up fetch 0 pachages.
Mon Mar 11 15:59:10 2024 daemon.info fwd[15575]: PKTUP~ [server] JSON: {"stat":{"time":"2024-03-11 08:59:10 UTC","lati":-7.79883,"long":110.35416,"alti":6,"rxnb":0,"rxok":0,"rxfw":0,"ackr":0.0,"dwnb":0,"txnb":0,"pfrm":"SX1301","mail":"dragino-1cff3c@dragino.com","desc":"Dragino LoRaWAN Gateway"}}
Mon Mar 11 15:59:10 2024 daemon.info fwd[15575]: ################### [server] End of reporting #########################
Mon Mar 11 15:59:13 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 174 ms
Mon Mar 11 15:59:14 2024 user.notice iot_keep_alive: Internet Access OK: via wlan0-2
Mon Mar 11 15:59:14 2024 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Mon Mar 11 15:59:18 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 150 ms
Mon Mar 11 15:59:23 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 161 ms
Mon Mar 11 15:59:28 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 163 ms
Mon Mar 11 15:59:33 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 180 ms
Mon Mar 11 15:59:34 2024 user.notice iot_keep_alive: Internet Access OK: via wlan0-2
Mon Mar 11 15:59:34 2024 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Mon Mar 11 15:59:38 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 163 ms
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]:
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ################[PKT_SERV] no report of this service ###############
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]:
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: #######################################################
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ##### [2024-03-11 08:59:40 UTC] server #####
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ### [UPSTREAM] ###
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # RF packets received by concentrator: 0
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # RF packets forwarded: 0 (0 bytes)
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # PUSH_DATA datagrams sent: 14 (238 bytes)
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # PUSH_DATA acknowledged: 0.00%
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ### [DOWNSTREAM] ###
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # PULL_DATA sent: 89 (100.00% acknowledged)
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # RF packets sent to concentrator: 0 (0 bytes)
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # TX errors: 0
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]:
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ### [SX1301 status] ###
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # SX130X counter (INST): 0
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # SX130X counter (PPS): 422884498
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # Concentrator temperature: 0 C #
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]:
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ### [BEACON] ###
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # Packets queued: 0
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # Packets sent so far: 0
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # Packets rejected: 0
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ### [JIT] ###
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ----------------
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ### [GPS] ###
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: # GPS *FAKE* coordinates: latitude -7.79883, longitude 110.35416, altitude 6 m
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: #[server] Semtech status report ready.
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: DEBUG~ [server] semtech_push_up fetch 0 pachages.
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: PKTUP~ [server] JSON: {"stat":{"time":"2024-03-11 08:59:40 UTC","lati":-7.79883,"long":110.35416,"alti":6,"rxnb":0,"rxok":0,"rxfw":0,"ackr":0.0,"dwnb":0,"txnb":0,"pfrm":"SX1301","mail":"dragino-1cff3c@dragino.com","desc":"Dragino LoRaWAN Gateway"}}
Mon Mar 11 15:59:40 2024 daemon.info fwd[15575]: ################### [server] End of reporting #########################
Mon Mar 11 15:59:43 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 148 ms
Mon Mar 11 15:59:48 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 147 ms
Mon Mar 11 15:59:54 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 151 ms
Mon Mar 11 15:59:54 2024 user.notice iot_keep_alive: Internet Access OK: via wlan0-2
Mon Mar 11 15:59:54 2024 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Mon Mar 11 15:59:59 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 151 ms
Mon Mar 11 16:00:00 2024 cron.info crond[1572]: USER root pid 23873 cmd /etc/init.d/DR_enable_rssh.sh start
Mon Mar 11 16:00:04 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 142 ms
Mon Mar 11 16:00:09 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 142 ms
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ################[PKT_SERV] no report of this service ###############
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: #######################################################
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ##### [2024-03-11 09:00:10 UTC] server #####
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ### [UPSTREAM] ###
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # RF packets received by concentrator: 0
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # RF packets forwarded: 0 (0 bytes)
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # PUSH_DATA datagrams sent: 15 (238 bytes)
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # PUSH_DATA acknowledged: 0.00%
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ### [DOWNSTREAM] ###
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # PULL_DATA sent: 95 (100.00% acknowledged)
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # RF packets sent to concentrator: 0 (0 bytes)
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # TX errors: 0
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ### [SX1301 status] ###
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # SX130X counter (INST): 0
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # SX130X counter (PPS): 482885501
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # Concentrator temperature: 0 C #
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ### [BEACON] ###
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # Packets queued: 0
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # Packets sent so far: 0
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # Packets rejected: 0
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ### [JIT] ###
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ----------------
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ### [GPS] ###
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: # GPS *FAKE* coordinates: latitude -7.79883, longitude 110.35416, altitude 6 m
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: #[server] Semtech status report ready.
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: DEBUG~ [server] semtech_push_up fetch 0 pachages.
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: PKTUP~ [server] JSON: {"stat":{"time":"2024-03-11 09:00:10 UTC","lati":-7.79883,"long":110.35416,"alti":6,"rxnb":0,"rxok":0,"rxfw":0,"ackr":0.0,"dwnb":0,"txnb":0,"pfrm":"SX1301","mail":"dragino-1cff3c@dragino.com","desc":"Dragino LoRaWAN Gateway"}}
Mon Mar 11 16:00:10 2024 daemon.info fwd[15575]: ################### [server] End of reporting #########################
Mon Mar 11 16:00:13 2024 user.notice iot_keep_alive: Internet Access OK: via wlan0-2
Mon Mar 11 16:00:13 2024 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Mon Mar 11 16:00:14 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 153 ms
Mon Mar 11 16:00:19 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 152 ms
Mon Mar 11 16:00:23 2024 daemon.info fwd[15575]: DEBUG~ [main-up] Size of package list is 6
Mon Mar 11 16:00:23 2024 daemon.info fwd[15575]: DEBUG~ [PKT_SERV] pkt_push_up fetch 1 pachages.
Mon Mar 11 16:00:23 2024 daemon.info fwd[15575]: DEBUG~ [server] semtech_push_up fetch 1 pachages.
Mon Mar 11 16:00:24 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 155 ms
Mon Mar 11 16:00:29 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 174 ms
Mon Mar 11 16:00:33 2024 user.notice iot_keep_alive: Internet Access OK: via wlan0-2
Mon Mar 11 16:00:33 2024 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Mon Mar 11 16:00:34 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 142 ms
Mon Mar 11 16:00:39 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 182 ms
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ################[PKT_SERV] no report of this service ###############
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: #######################################################
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ##### [2024-03-11 09:00:40 UTC] server #####
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ### [UPSTREAM] ###
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # RF packets received by concentrator: 1
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # RF packets forwarded: 0 (0 bytes)
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # PUSH_DATA datagrams sent: 16 (238 bytes)
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # PUSH_DATA acknowledged: 0.00%
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ### [DOWNSTREAM] ###
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # PULL_DATA sent: 101 (100.00% acknowledged)
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # RF packets sent to concentrator: 0 (0 bytes)
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # TX errors: 0
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ### [SX1301 status] ###
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # SX130X counter (INST): 0
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # SX130X counter (PPS): 482885501
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # Concentrator temperature: 0 C #
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]:
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ### [BEACON] ###
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # Packets queued: 0
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # Packets sent so far: 0
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # Packets rejected: 0
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ### [JIT] ###
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ----------------
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ### [GPS] ###
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: # GPS *FAKE* coordinates: latitude -7.79883, longitude 110.35416, altitude 6 m
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: #[server] Semtech status report ready.
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: DEBUG~ [server] semtech_push_up fetch 0 pachages.
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: PKTUP~ [server] JSON: {"stat":{"time":"2024-03-11 09:00:40 UTC","lati":-7.79883,"long":110.35416,"alti":6,"rxnb":1,"rxok":0,"rxfw":0,"ackr":0.0,"dwnb":0,"txnb":0,"pfrm":"SX1301","mail":"dragino-1cff3c@dragino.com","desc":"Dragino LoRaWAN Gateway"}}
Mon Mar 11 16:00:40 2024 daemon.info fwd[15575]: ################### [server] End of reporting #########################
Mon Mar 11 16:00:44 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 149 ms
Mon Mar 11 16:00:49 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 160 ms
Mon Mar 11 16:00:52 2024 user.notice iot_keep_alive: Internet Access OK: via wlan0-2
Mon Mar 11 16:00:52 2024 user.notice iot_keep_alive: use WAN or WiFi for internet access now
Mon Mar 11 16:00:55 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 148 ms
Mon Mar 11 16:00:59 2024 daemon.info fwd[15575]: DEBUG~ [main-up] Size of package list is 7
Mon Mar 11 16:00:59 2024 daemon.info fwd[15575]: DEBUG~ [PKT_SERV] pkt_push_up fetch 1 pachages.
Mon Mar 11 16:00:59 2024 daemon.info fwd[15575]: DEBUG~ [server] semtech_push_up fetch 1 pachages.
Mon Mar 11 16:01:00 2024 daemon.info fwd[15575]: INFO~ [server-down] PULL_ACK received in 179 ms
Mon Mar 11 16:01:00 2024 daemon.err uhttpd[1656]: killall: logread: no process killed

From what ive seen i think its still because of CRC_fail. Is there any solution ?

This

Please advise:

You need to get RSSI at both ends to a reasonable/manageable level - use forum search for GW/Node seperation and optimum/goldilocks range of values etc…

Looks like the gateway started up three times in the space of a minute, are you seeing the updates on the TTN gateway console?

Alright i get what you guys are saying, ill try distance the node and gateway today. Thanks

Yeah the TTN gateway console recieve an update on the gateway status every 3 minutes now

Ive moved my node for about 100m+ with walls in between and still got crc fail :melting_face:

I cant find anything about this, my gateway RSSI is at -133.2 dBm. iam going to try downgrading my gateway firmware, iam using the latest firmware right now, idk what to do anymore