cablelabs / lpwanserver

LPWAN Provisioning & Management Server
https://lpwanserver.com
Apache License 2.0
37 stars 11 forks source link

Issue 256 #267

Closed rhythnic closed 5 years ago

rhythnic commented 5 years ago

What does this PR do?

Setup NetworkProtocol architecture for more easily adding a network protocol.

Do you have any concerns with this PR?

It's a large refactor, but all tests are passing. The NetworkProtocol class is mostly a shell. I expect a lot of the business logic in the LoraOpenSource class will move up into NetworkProtocol as it becomes apparent from adding Loriot what should go there. Adding Cat-M1 and NB-IoT might cause there to be classes at the NetworkType level as well.

I plan to keep this issue open, but I wanted to get this refactor in.

How can the reviewer verify this PR?

Read code and run tests.

Any background context you want to provide?

Issue #256 contains comments on some small changes and bug fixes.

Screenshots or logs (if appropriate)

Questions: