Problem with RPi 3B + Dragino Lora/GPS HAT

I got the RPi Lora/GPS HAT Gateway setup correctly (following https://www.elektormagazine.com/news/lora-gateway-the-cheap-and-easy-way-with-raspberry-pi-and-dragino) and the main.cpp settings file runs the Make command successfully to give me the 8-byte EUI for TTN but I cannot get the TTN router at ttn-router-jp to see a connection in my Console at the TTN site. The main.cpp user settings are as follows. The HAT is listening at 915 MHz.

// SX1272 - Raspberry connections
int ssPin = 6;
int dio0 = 7:
int RST = 0;

// Set spreading factor (SF7 - SF12)
sf_t sf = SF7;

// Set center frequency
uint32_t freq = 915000000; // in MHz! (915.0)

// Set location
float lat=35.734873;
float lon=139.624639;
int alt=40;

/* Informal status fields /
static char platform[24] = “Single Channel Gateway”; /
platform definition /
static char email[4] =""; /
used for contact email /
static char description =""; /
used for free form description */

//define servers
// TO DO: use host names and dns
#define SERVER1 “13.76.41.40” // The Things Network asia-se.thethings.network
//#define SERVER2 “xxx.xxx.xxx.xxx” // local
#define PORT 1700 // The port on which to send data

// ##############################
// ##############################

It seems to be running OK:

pi@raspberrypi:~/single_chan_pkt_fwd $ ./single_chan_pkt_fwd
SX1276 detected, starting.
Gateway ID: b8:27:eb:ff:ff:10:55:ee
Listening at SF7 on 915.000000 MHz.

stat update: {“stat”:{“time”:“2019-06-20 08:55:21 GMT”,“lati”:35.73487,“long”:139.62463,“alti”:40,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel Gateway”,“mail”:"",“desc”:""}}
stat update: {“stat”:{“time”:“2019-06-20 08:55:51 GMT”,“lati”:35.73487,“long”:139.62463,“alti”:40,“rxnb”:0,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0,“pfrm”:“Single Channel Gateway”,“mail”:"",“desc”:""}}

And the network seems to be Internet connected:
pi@raspberrypi:~ $ sudo ping -c 5 www.google.com
PING www.google.com(nrt12s02-in-x04.1e100.net (2404:6800:4004:801::2004)) 56 data bytes
64 bytes from nrt12s02-in-x04.1e100.net (2404:6800:4004:801::2004): icmp_seq=1 ttl=54 time=2.25 ms
64 bytes from nrt12s02-in-x04.1e100.net (2404:6800:4004:801::2004): icmp_seq=2 ttl=54 time=2.45 ms
64 bytes from nrt12s02-in-x04.1e100.net (2404:6800:4004:801::2004): icmp_seq=3 ttl=54 time=2.98 ms
64 bytes from nrt12s02-in-x04.1e100.net (2404:6800:4004:801::2004): icmp_seq=4 ttl=54 time=2.32 ms
64 bytes from nrt12s02-in-x04.1e100.net (2404:6800:4004:801::2004): icmp_seq=5 ttl=54 time=2.90 ms

So what have I done wrong to prevent No Connection displayed at my Console changing to Connected?

All advice much appreciated.

hallo guys , i am use Lora Arduino shield and arduino but my sensor can’t be read compilation connected with the shield

Welcome to the forums.

To get the best help you should describe what your problem actually is, and whilst describing the problem remember the forum cannot know what you are doing unless you tell us.

In this case you have told us your using a RPi 3B with a Dragino Lora/GPS hat.

However you have not said which sensor you are using or what code you are using, so we cannot provide help.

This also appears to be a topic about TTN routing and not sensors.