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

The stack hangs when an undefined command is received. #14

Closed
Ramin-Mardani opened this issue Aug 22, 2023 · 3 comments
Closed

The stack hangs when an undefined command is received. #14

Ramin-Mardani opened this issue Aug 22, 2023 · 3 comments

Comments

@Ramin-Mardani
Copy link

static remote_multicast_setup_status_t remote_multicast_setup_package_parser(

The stack hangs inside the function above when I send a command that is not defined by the LoRaWAN specification on Port 200. For example, command 0x06 without any payload. Please refer to "LoRaWAN® Remote Multicast Setup
Specification TS005
"

I guess it is because of the missing default in the function mentioned above.

@MpmTwtg
Copy link

MpmTwtg commented Sep 25, 2023

This also happens in:

static fmp_status_t fmp_package_parser( lorawan_fmp_package_ctx_t* ctx, uint8_t* fmp_package_rx_buffer,

static frag_status_t fragmentation_package_parser( lorawan_fragmentation_package_ctx_t* ctx,

And the same for the fuota_packages_v2 package

@lbm-team
Copy link
Contributor

lbm-team commented Oct 4, 2023

Thank you for your feedback, this issue will be fixed in the next release

@lbm-team
Copy link
Contributor

Hi @Ramin-Mardani, @MpmTwtg

This issue is now fixed in new v4.3.0 release and mentioned in CHANGELOG.

Once more thanks for your report

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

3 participants