Lora-net / LoRaMac-node

Reference implementation and documentation of a LoRa network node.
Other
1.87k stars 0 forks source link

about class_b question #140

Closed opt-liang closed 7 years ago

opt-liang commented 7 years ago

In the class_b node code (feature), how to make nodes into class_b? Start beacon_pkt_fwd gateway. Now test node or class_a.

djaeckle commented 7 years ago

Hi yanzi418,

thanks for your question.

We have a sample application which provides class b functionality for the LoRaMote platform. All other class b examples have not been updated yet. Please note, that we have only tested it for EU868 band. The class b sample application performs the following operations:

During operation, the node will notify the application if it has locked the beacon or not. If the node has not received a beacon for 120min, it will notify the application, such that it can switch back to class a.

In general, please note that the status of the implementation of class b is still experimental.

opt-liang commented 7 years ago

Thank you, I would like to ask a question, class_b mode is related to the server? Do you need a server to process the beacon discovery command BeaconTimingReq? If the server is not the latest version of the server, you can test class_b? I now use the gateway is beacon_pkt_fwd kerlink.

adonislixi commented 7 years ago

hi.. I found that in master , the application code in classA/xx/main.c is the same as ClassB/xx/main.c. As I understand it, there no stable classB code??
I want to achive that switching A to B , A to C .. do I need use the classB in feature code ??

djaeckle commented 7 years ago

Hi yanzi418,

yes, class b is server related. You need a server which supports it. Semtech works on a class b server and Orbiwise already supports one. We have tested the node class b implementation against those systems.

djaeckle commented 7 years ago

Hi adonislixi,

currently, the class b implementation is on the feature/class_b branch. Please note, that we implemented it against the LoRaWAN Specification 1.1, which is still experimental and not released yet. Thus, the implementation is not finalized yet. If you want to use the class b feature, you will have to checkout the feature/class_b branch. The branch also supports class a and class c. The master and the develop branch support class a and class c.