I have a problem with my new Things uno board.
But the problem is the same with my custom build rn2483a+trinket board.
I have programmed the things uno with the SendOTAA sketch with arduino IDE 1.8.5.
I see the activation request showing in the TTN console “application data”, but what is weird for me is that in the console there is no response from TTN. Shouldn’t there be?
The gateway that recieves the message is not on TTNmapper, so i don’t know where it is located.
“gtw_id”: “eui-fcc23dfffe0f4f8f”,
I know there is a gateway about 500m from me, but it does not seem to get listed under the gateways when trying to get activated.
I have seen it once, but that was when i used ABP to activate, which works fine.
This morning OTAA worked once. but when i recompiled and uploaded new code, it got stock at OTAA again. Any suggestions?
I since made a custom end device, with the rn2483 and an adafruit trinket 3.3v and an external antenna, which seem to have the same OTAA problems.
As i don’t know which gateway i connect to, i don’t know if it supports OTAA or not.
Not if there is no gateway in reach @ this moment
I see that the GW that is receiving the join request is more then 500 mtrs away ( RSSI -110) or you have an antenna problem.
I checked now and TTN is working fine, this is how it should look in your application console.
check your keys ! especially the application key
what I don’t understand is it appears that there are 2 devices added to that application and they both request to join … what’s that ?
As i said i don’t know the location of the gateway that is picking up my signal
But i think that the gateway must be in reach, since TTN console gets the activation message?
I will try to move around in the area to look for better coverage.
The keys are correct, i am 100% sure.
As previous said, i have two devices trying to activate at the moment, one the things uno, and one custom made.
Yes i use the standard TheThingsNetwork.h library version 2.5.7
confusing… start by deleting one device from your application and start again.
also difficult to test if you don’t have control over a gateway… only chance is to try again another moment. also you must be patient when joining OTAA
it should join with that figures… its not close to you but it should work.
If antenna on node is ok… battery power is ok, keys are ok then you can try this (I know sounds stupid but it helps sometimes)
delete the device and then the application.
start a new application with a little different name and add same device and try again.
very important… if an OTAA node worked with an application and you switch power off and restart later, you have to reset the frame counter from the device in the console.
creating a new application will always start with a ‘fresh’ frame counter
The gateway does not seem to be single channel, but nor full 8-channel gateway.
The only responses that go through, come from channel 0, 1 and 2.
But when the things uno try to send on other channels, it simply get “no free channel”
Så maybe this gateway is 3-channel gateway?
And as soon as the node is activated, it all responses go through, on all 8 channels.
Outside it also reaches another gateway which was not always able to reach from inside.
So i guess my problem is coverage?
Does the TTN library support changing the spreading factor?
EDIT:
I just tried moving The Things Uno Inside again, without restarting it, And indeed the second gateway disappeared, but the uplinks still go through just fine.
So it seems that the activation process needs more coverage?