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

Configuring LoRaWAN demo for use with TTN #38

Open
woobagooba opened this issue May 9, 2019 · 5 comments
Open

Configuring LoRaWAN demo for use with TTN #38

woobagooba opened this issue May 9, 2019 · 5 comments

Comments

@woobagooba
Copy link

woobagooba commented May 9, 2019

Questions ...

I have a simulator reporting GW ID of 00:00:00. This is odd in that it is all zeros, is only 3 octets long (your video demos display an 8 octet GW ID), and appears not to be based on any of the platform MAC addresses.

A GW must be registered with TTN and that GW's EUI must be set to the LoRaWAN simulator reported Gateway ID, correct? If yes, TTN will not accept a GW EUI of all zeroes.

The LoRaWAN demo appears to be hardcoded for EU 868, must the TTN gateway also be configured for EU 868?

image

@janjongboom
Copy link
Owner

janjongboom commented May 9, 2019

@woobagooba It tries to read the mac address of the network card, but apparently fails. Quick workaround:

Must the TTN gateway also be configured for EU 868?

Yes, EU868. You can optionally override the channel plan here, then remove libmbed.bc and recompile. But I'd advise to keep it at EU868 for now.

@woobagooba
Copy link
Author

OK will try the code mod to set the GW ID. It would be helpful to have an env var override similar to HOST and PORT.

@janjongboom
Copy link
Owner

@woobagooba I agree. PR is welcome ;-)

@woobagooba
Copy link
Author

Unlikely we will be able to dig that far into the code base. We are identifying the Windows specific bugs, working to provide you accurate install instructions, and also working on Docker-izing this. Appreciated if you could address this GW ID bug or provide the env var override.

@woobagooba
Copy link
Author

woobagooba commented May 15, 2019

LoRaWAN demo which will work using the online MBed OS Sim instance and TTN will not work with our local instance of the Sim. GW ID of launch-server.js was modified per your instruction, and we further hardcoded LORA_PORT and LORA_HOST.

What are we doing wrong? Please see attached...

cap1

cap2

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

2 participants