I think i have a misconfiguration, please help me set up properly,
I send this AT commands with the serial interface
at+pn=1 // Set Public Network to true
at+njm=0 // Set Network Join Mode to manual
at+fsb=7 // Set Frequency Sub Band to whatever your Conduit is set to. Mine is 7
at+ack=0 // Turn off acknowledgements (not supported by TTN yet)
at+na=987654321 // Pick a number. This is the node address and should be unique for each node.
//at+nk=0,2B7E151628AED2A6ABF7158809CF4F3C // Set Network Key for TTN
at+nsk=2B7E151628AED2A6ABF7158809CF4F3C // Set Network Session Key for TTN
at+dsk=2B7E151628AED2A6ABF7158809CF4F3C // Set Data Session Key for TTN.
Then issue:
at+join
at+send=HelloWorld
Then get response,
snd, OK
so where is the problem please?, how to configure properly…
mDot connected using AT commands, show
AT+SEND=HELLO
OK
So is sending from the module?
now from the gateway,
this is the log
tail -f /var/log/lora-pkt-fwd.log
##### 2016-04-21 10:04:42 GMT #####
### [UPSTREAM] ###
# RF packets received by concentrator: 0
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
# RF packets forwarded: 0 (0 bytes)
# PUSH_DATA datagrams sent: 2 (500 bytes)
# PUSH_DATA acknowledged: 0.00%
### [DOWNSTREAM] ###
# PULL_DATA sent: 6 (83.33% acknowledged)
# PULL_RESP(onse) datagrams received: 0 (0 bytes)
# RF packets sent to concentrator: 0 (0 bytes)
# TX errors: 0
### [GPS] ###
# Invalid gps time reference (age: 1461233082 sec)
# Manual GPS coordinates: latitude -33.88454, longitude 151.21037, altitude 60 m
##### END #####
INFO: [down] for server 80.83.53.26 PULL_ACK received in 351 ms
INFO: [down] for server 54.72.145.119 PULL_ACK received in 333 ms
INFO: [down] for server 80.83.53.26 PULL_ACK received in 351 ms
INFO: [down] for server 54.72.145.119 PULL_ACK received in 333 ms
INFO: [down] for server 80.83.53.26 PULL_ACK received in 351 ms
INFO: [down] for server 54.72.145.119 PULL_ACK received in 332 ms
this is my gateway global_conf.json
"gateway_conf": {
/* change with default server address/ports, or overwrite in local_conf.json */
"gateway_ID": "008000000000AC5E",
/* Devices */
"gps": true,
"beacon": false,
"monitor": false,
"upstream": true,
"downstream": true,
"ghoststream": false,
"radiostream": true,
"statusstream": true,
/* node server */
"server_address": "router.au.staging.thethings.network",
"serv_port_up": 1700,
"serv_port_down": 1700,
So what im i missing?
how to see the info for my device
hi @markstanley, yes it seems the gateway is up, but the node is not sending the data properly?, i cannot see info sent by the node, http://thethingsnetwork.org/api/v0/nodes/87654321/ I think i have something configured wrong? on gateway or node? thanks!
Hi manuel. This is the line that should tell you whether the gateway has received anything from the nodes.
So it looks like it can’t see any packets from the node.
Also, if you’re using kersing’s packet forwarder, make sure that radio 1 is enabled in global_conf.json. I noticed that it’s disabled by default.