Network Controller

Hi,
As part of our project we are building a network controller for the loraserver.
Some links you posted the issue opened on mac commands (where you mentioned the network controller) are not working, and in other topic e.g [https://www.loraserver.io/loraserver/network-controller/#sending-data] not working

Second, the example[https://www.loraserver.io/loraserver/integrate/network-controller/] you provided didn’t work out of the box, we had to change some names etc, but even then we have connection problems (server sees the nc address a nil even though we have configured it in the .toml, did a restart and etc…)

Can you reference us to the code/configuration which the example worked with?
or maybe to some old docs about it?
By the way, when your NC will work, we can contribute it to the project as an (hopefully working) example.

Thanks,
Keep up the awesome work!

we’ve solved the connection problem.
now we have another problem:
it seems that the NS does not send mac command queue items received from the NC, even though we see that they were created.

Forgot to update - everything solved.
the last problem was our bug in converting lorawan.eui to binary and then to base 64 json.
So,
We mannged to create a NC with load balancer for single channel gateways and make the entire thing work including all changes in loraserver itself and etc.
(Single channel gw need a load balancer on frequencies, but in normal lorawan this is not a problem)

(single channel gw is not part of lorawan spec, so I don’t think this should be part of the loraserver repository. we may release it as a seperate open source later…)
Best Regards

2 Likes

@holylandman Would you be willing to share a baseline working network controller? We’re just getting into this and are having some trouble getting a working version up and running. Any help would be really appreciated.

Would you be willing to share a baseline working network controller? We’re just getting into this and are having some trouble getting a working version up and running. Any help would be really appreciated.

Is there an example of writing a complete control program according to the API of grpc, which is difficult for beginners to get started.

https://www.chirpstack.io/application-server/api/go-examples/

I disagree, though, I find using the gRPC API to have a lot less gotchas and requires a lot less code than the/any REST API.