Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bcning field in router_config response #230

Open
1 task done
soorajm13 opened this issue May 24, 2023 · 2 comments
Open
1 task done

Add bcning field in router_config response #230

soorajm13 opened this issue May 24, 2023 · 2 comments

Comments

@soorajm13
Copy link

soorajm13 commented May 24, 2023

  • I have searched the issues of this repository and believe that this is not a duplicate.

Summary

The bcning is currently not sent in the router_config response.

What is the use-case?

Class B will require enabling bcning support. Tested with the currently released Chirpstack V4 docker, couldn't enable class B beacons and test it.

Example gateway configuration: Chirpstack V4 docker + LoRa basicstation 2.0.6 + sx1302 concentrator

Implementation description

Add bcning field to the LNS response. Update documentation and add news steps for enabling class B beacon support.

Can you implement this by yourself and make a pull request? No

@kairoswater-jason
Copy link

I (as an end user) just reached the same conclusion for my own application
While I suspect I could hack my own instance of the bridge to send hard-coded beacon information. It would be better to get the beacon configuration information from chirpstack rather than hardcode it.

@kairoswater-jason
Copy link

kairoswater-jason commented Aug 29, 2024

For my reference, and anyone else's

protocol reference
https://doc.sm.tc/station/tcproto.html

source in basicstation that parses that beaconing field: (which is part of router_config)
https://github.com/lorabasics/basicstation/blob/ba4f85d80a438a5c2b659e568cd2d0f0de08e5a7/src/s2e.c#L1100

example of a configuration used to test basicstation:
https://github.com/lorabasics/basicstation/blob/ba4f85d80a438a5c2b659e568cd2d0f0de08e5a7/regr-tests/test3d-bcns/test.py#L115

conf['bcning'] = {
 'DR': 8,
 'layout': [5,11,23],
 'freqs': [923300000 + chx * 600000 for chx in range(8)] #[923300000, 923900000, 924500000, 925100000, 925700000, 926300000, 926900000, 927500000]



}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants