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

Ardino LMIC asserts after join in US915 #26

Open
terrillmoore opened this issue Jan 1, 2018 · 0 comments
Open

Ardino LMIC asserts after join in US915 #26

terrillmoore opened this issue Jan 1, 2018 · 0 comments

Comments

@terrillmoore
Copy link
Member

See mcci-catena#44

TTN now sends MCMD_LADR_CHP_125OFF and then MCMD_LADR (selecting channels 0..15, enabling 8..15).

The problem is in processing MCMD_LADR_CHP_125OFF. Although we set the mask for channels 64..71 with:

LMIC.channelMap[64/16] = chmap & 0x00FF;

But we then immediately mis-set the number of enabled 500 kHz channels (we don't consider the mask), either clearing to 0 or setting to 8.

We also need to handle ChMaskCtl == 5, which is used for subband control.

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

1 participant