Autonomo + LoRa TTN

Gentlemen,

I have a problem getting started with TheThingsNetwork.
200 meter from my House there is a working Gateway http://thethingsnetwork.org/api/v0/gateways/008000000000A44F/

I have an Autonomo + LoRa piggyback but with the provided coding (provided at KPN/IoTacademy workshop) -yes I have changed the Keys- I am not able to send any information.
The Gateway IS working (my fellow-workshop-student got his board working)


but with the exact same code my board says:
“connection to the network was succesful”
“there was no acknowledment sent back”
“the device is busy, sleeping for 10 extra seconds”


“Oh No!. This shouldn’t happen. Something is really wrong!..”

I gave it a try with another device-adress… nope…
I installed everything new on a different PC… nope…
I altered the code, just to see if it compiled allright… nope…

I could post the code here… but it is the code we used during the workshop (both programs: the simple and the DHT-version) just with other device-adress and Keys.
(I don’t know if it is wise to post the Keys in a public Forum)

On the Gateway (see link above -new users are not allowed to post more than 2 links?)
I can see something is received ( I am currently the only one using it and when I am active the Rxcount is 1 or 2
on my device-page nothing shows up…

Please advise.

The problem is de downlink from TTN. You ask in the demo sketch from the workshop for an ACK. This way you know if you packet is received by the server.

TTN doesn’t support the downlink yet, they are working really hard to let it work.

You can change the following line in the code:
LoRaBee.sendReqAck(1, Payload, payload-lenght, 3)
to:
LoRaBee.send(1, testPayload, payload-lenght)

In this case you will only see “Succesfull transmission” but your node will never know if this really was succesfully received on the server side.

Jan

Changing the sendReqAck to the send helped… a bit… but not enough…

the arduino-debug-monitor shows “Succesful transmission” but the TTN-webpage which showes what the node sent… does not show any new data…

What to do?

You are not in range of the TTN Gateway, move closer to a gateway.

Even if the device shows “Connection succesful” ?
and the Gateway-log shows Rxcount=1 ? :
{
“eui”: “008000000000A44F”,
“time”: “2015-12-21T14:44:23.072Z”,
“longitude”: 6.58852,
“latitude”: 53.20319,
“datagramsreceived”: 0,
“rxok”: 0,
“ackratio”: 100.0,
“altitude”: 20.0,
“datagramssent”: 0,
“rxforwarded”: 0,
“rxcount”: 1
},
{
“eui”: “008000000000A44F”,
“time”: “2015-12-21T14:43:53.072Z”,
“longitude”: 6.58852,
“latitude”: 53.20319,
“datagramsreceived”: 0,
“rxok”: 0,
“ackratio”: 100.0,
“altitude”: 20.0,
“datagramssent”: 0,
“rxforwarded”: 0,
“rxcount”: 1
},

“Connection Succesful” means the network settings are succesfully written in the bee module. No connection is made to the network.

“Succesful transmission” with ACK (KPN) your packet is on the server of KPN
“Succesful transmission” without ACK (TTN) packet send in the air, when you are lucky its in the server of TTN

Hi Jan,

Being to far away is highly improbable… the Gateway (a Multitech) is as far as I know max. 200 meter from my desk…

do you have a explanation for the Rxcount=1 when I am to far away from the Gateway?

THNX

Maybe you can ask TTN what goes wrong. It seems a problem on the gateway/server side.

Is it possible that you reset the multitech?
Or walk to the gateway with your device and see if it works?