Impossible to connect to TTN

Hi,

I followed the tutorial to setup the board on TTN. But impossible to get connected even with a gateway.

This is what i got :
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
TX on freq 868300000 Hz at DR 5
Event : Tx Done…
and so on

Had to use the cubecell configurator to setup the Deveui, Appeui and Appkey on the Cubecel. When trying with AT command keep getting this error :
+ERROR: AppEui length should be 16

Thanks for your help.

J

I had this same issue: +ERROR:AppEui length should be 16 bytes. I was using the serial monitor in the Arduino IDE and I had “new line” turned on in the serial monitor settings. I turned it off to “no line editing” and I was able to get the AT commands working.

I’m still not able to join the gateway though. I was reading through the forums and I think there’s others having problems of joining ttn gateways right now.

I’m trying to connect a CubeCell DevBoard to an HT M01 gateway with a raspberrypi zero w.

Is anyone else having trouble?

Hi Salvador,

Thanks for the info concerning the AT. It is working when you disable the “new line”.

But still the trouble of connecting to TTN as you

Just to check your environment.

  • you have choosen the right frequency?
  • double checked the keys?
  • you have a ttn gateway nearby?
  • if you have a own gateway, is it connected to ttn? Post tge logs.
1 Like

Hi Wasn,

Yes europe so EU868
Checked many times already :slight_smile:
Yes a mile away but is not mine.

Thanks for your help

Untitled

the short log you posted looks good.
it is hard to debug without a log from the gateway.

please post a the full log from your node

See the log below

Copyright @ 2019 Heltec Automation.All rights reserved.

AT Rev 0.6

+LORAWAN=1

+KeepNet=0
+OTAA=1
+Class=A
+ADR=1
+IsTxConfirmed=0
+AppPort=2
+DutyCycle=15000
+ConfirmedNbTrials=8
+DevEui=004ED4B0D580XXXX(For OTAA Mode)
+AppEui=70B3D57ED002XXXX(For OTAA Mode)
+AppKey=B41FF518D95725B44F17556D8F39XXXX(For OTAA Mode)
+NwkSKey=15B1D0EFA463DFBE3D11181E1EC7DA85(For ABP Mode)
+AppSKey=D72C78758CDCCABF55EE4A778D16EF67(For ABP Mode)
+DevAddr=007E6AE1(For ABP Mode)

LoRaWAN EU868 Class A start!

joining…TX on freq 868300000 Hz at DR 5
Event : Tx Done
RX on freq 868300000 Hz at DR 5
Event : Rx Timeout
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
TX on freq 868100000 Hz at DR 5
Event : Tx Done
RX on freq 868100000 Hz at DR 5
Event : Rx Timeout
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
TX on freq 868100000 Hz at DR 5
Event : Tx Done
RX on freq 868100000 Hz at DR 5
Event : Rx Timeout
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
TX on freq 868500000 Hz at DR 5
Event : Tx Done
RX on freq 868500000 Hz at DR 5
Event : Rx Timeout
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
TX on freq 868300000 Hz at DR 5
Event : Tx Done
RX on freq 868300000 Hz at DR 5
Event : Rx Timeout
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
TX on freq 868300000 Hz at DR 5
Event : Tx Done
RX on freq 868300000 Hz at DR 5
Event : Rx Timeout
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
TX on freq 868500000 Hz at DR 2
Event : Tx Done
RX on freq 868500000 Hz at DR 2
Event : Rx Timeout
RX on freq 869525000 Hz at DR 0
Event : Rx Timeout
This keeps going for a while

i hope this comes from you to anonymize the keys:

you are shure that the gateway is registered to TTN?
It looks like the gateway did not receive the packet or your node is not receiving the ack package.

Yes it is.
XXXX to anonymize off course.

strange…

which gateway did you use? Can you upload the global_conf.json file?

The biggest possibility is that the transmitting frequency of the node and the listening frequency of the gateway are not the same.

Hi,

Manage to finally connect it. Looks like I am in a black hole where i dont have lora coverage. A few meters and all good.

Thanks

Hi,

I still have those issue with the Rx Timeout which is getting frustrating.

It says timeout but it’s connected to TTN

When I look i at my gateway I have the following info

Thank you for your help

J

How did you install the development framework? If via Git, please update the code… Aaron forgot fix the channel mask back to default in the last commit, he fixed that this afternoon.

Hi,
Just updated but same problem with RX tiemout

21.03.20 16:26:44: Event : Tx Done

21.03.20 16:26:49: RX on freq 868500000 Hz at DR 5

21.03.20 16:26:49: Event : Rx Timeout

21.03.20 16:26:50: RX on freq 869525000 Hz at DR 0

21.03.20 16:26:50: Event : Rx Timeout

21.03.20 16:26:51: TX on freq 868500000 Hz at DR 5

21.03.20 16:26:51: Event : Tx Done

21.03.20 16:26:56: RX on freq 868500000 Hz at DR 5

21.03.20 16:26:56: Event : Rx Timeout

Any Ideas?

Thanks for your help

Shure you updated the github version?
Please look at the last commit on github and check your local version

Yes I doubled check the changes made. I am up to date…

So I also try with a Wireless Stick Lite lora and have the same output

TX on freq 868500000 Hz at DR 5
DIO0:TX Done
RX on freq 868500000 Hz at DR 5
DIO1:RX Timeout
RX on freq 869525000 Hz at DR 0
DIO1:RX Timeout
TX on freq 868100000 Hz at DR 5
DIO0:TX Done

But connected on TTN


Help

as you said i an earlier post you are not in reach of a gateway.

it is possible that the gatewat receive your node data but not the other way.

My gateway is 10 meters away from me now. I added one.