Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gateway running and registered but cannot connect the node through it #116

Open
lyncker opened this issue Feb 6, 2023 · 1 comment
Open

Comments

@lyncker
Copy link

lyncker commented Feb 6, 2023

Hi ,
I am not sure if I got everything right here, but after some time playing arround I compiled my gateway using a NodeMCU connected with a SX1276 breakout board. The gateway is registered in my TTN Console and shows up there "connected".
Now I compiled the same sketch using

define _GATEWAYNODE 1

and I entered in the configNode.h the directives:

define _DEVADDR
define _APPSKEY
define _NWKSKEY 

copied from my device which I created as Spec 1.0.2 device using RP001 Reg. Para. 1.0.2 Rev. B, Activation ABP ..

But unfortunately the device does not show up in the TTN console....

Ah ... in the web interface I switched the Gateway Node to : ON ...

In the webinterface of the gateway I can not see anything which indicates that the node has send any data using lora to it .. but im not sure what it should show ..

I would be very happy for any ideas ...

@lyncker
Copy link
Author

lyncker commented Feb 7, 2023

ok, what I maybe got wrong is the NodeGateway function: It is not a standalone Node(Device) , its a mixture of a gateway and device ...so the gateway itself can send some data...
Therefore I just jused the MCCI LoRaWAN LMIC Lib the the code example for ABP , entered the three coes (DEVADDR,APPKEY,NWKSKEY) from above and voila.... the Node is sending data through the gateway and TTN shows the activitry... now Im going to include some real sensordata... lets see ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant