Skip to content

How to test/use class B  #479

Open
Open
@sualko

Description

@sualko

Hi everyone,

I know support for class B is labeled as untested, but I would like to change that 😉. Can anyone give me some advice how I can debug support of class B, because I'm currently stuck. Also helpful resources to read are appreciated. If you have no time to answer this noob question, feel free to close the issue.

My stack: Loraserver + Loragateway, Raspberry Pi 3 as Gateway with RAK831 and GPS converter board. I run Raspbian on the gateway with lora-gateway and packet-forwarder from lora.net. Everything configured to use EU868. Class A ist working fine and the packet-forwarder is showing the right GPS coordinates and the emission of a beacon. In the loraserver my device profile enables class B and sets ping frequency to 4 seconds (all other settings are untouched at 0).

From the lorawan specification I know that every device joins as class A device and levels up after it receives a beacon. Therefore I called LMIC_enableTracking after my device joined. I tested 0 and 5 (I don't understand exactly what the parameter means even after reading the documentation) as parameter, but the result was always a EV_SCAN_TIMEOUT. I also tried to call LMIC_setPingable(2) after join, but with the same result.

My issue is now that I don't know where to look at. Which components in the stack are crucial for class B support? Is my loraserver miss configured? Or is my use of the lmic library wrong? Who can help and maybe provide an example?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions