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

New channel Request error #43

Closed
FoujanetG opened this issue Jan 27, 2016 · 2 comments
Closed

New channel Request error #43

FoujanetG opened this issue Jan 27, 2016 · 2 comments

Comments

@FoujanetG
Copy link

Hi,

I use the new stack, with the wrapper for api_V3.

The bug is in class A and class C.

When the network send a new channel(MAC cmd SRV_MAC_NEW_CHANNEL_REQ),
all new channels are refused.
the function LoRaMacChannelAdd() returns LORAMAC_STATUS_BUSY.

I think, the bug can be fixed if you add the lineLoRaMacState &= ~MAC_TX_RUNNING;
in LoRaMac.c, /OnRadioRxDone() / case FRAME_TYPE_DATA_UNCONFIRMED_DOWN: / if( isMicOk == true ) / else of if( multicast == 1 )" / out of if( ( DownLinkCounter == downLinkCounter ) && ( DownLinkCounter != 0 ) )

The second pb with this bug, is the stack uses theses new channels, despite the error.

Thanks

GF.

@Smarco10
Copy link

Hi,

I also have encountered this issue, today, and concluded to the same things.
Thanks in advance for the fix.

Marc-Antoine MARTIN

@djaeckle
Copy link

Hi FoujanetG,

thanks for the report. I was able to reproduce the issue. We will fix the issue with the upcoming release.

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

4 participants