janjongboom / mbed-simulator

Experimental simulator for Mbed OS 5 applications
Other
175 stars 65 forks source link

Connect the web based LoRaWAN demo to an NS other than TTN? #30

Open woobagooba opened 5 years ago

woobagooba commented 5 years ago

It is not clear how the "gateway" is configured to point to one NS versus another.

janjongboom commented 5 years ago

@woobagooba

You can configure this when running locally, by setting the LORA_HOST environmental variable, e.g.:

LORA_HOST=192.168.2.100 LORA_PORT=1700 mbed-simulator .

Unfortunately I cannot really do this in the hosted version as 1) the gateway needs to be added to the network, and white listed by the operator, 2) the protocol forwarder needs to send keep-alive messages and has some state. For TTN I can do this, because the gateway can live in my personal account but not for other operators.

Does this help?

woobagooba commented 5 years ago

Any plans to docker-ize mbed simulator? Would be helpful to remove the cross-platform install / build friction, providing a truly Quick Start. Thank you for your consideration.