Skip to content
New issue

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

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

Already on GitHub? # to your account

The stack hangs upon receiving a command on port 203 (Firmware Management Protocol) #13

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

Comments

@Ramin-Mardani
Copy link

ctx->fmp_task_ctx_mask |= REQUEST_REBOOT_TASK_MASK;

The device will hang whenever I send a command on port 203 that is specified in Firmware Management Protocol Specification TS006-1.0.0. from the backend. For example, DevVersionReq

I will get the following information from the console:

lorawan_fmp_package_service_downlink_handler receive data on port 203
LoRaWAN App got an event
INFO: Event received: TXDONE
INFO: Transmission done
 lorawan_fmp_package launch REQUEST_REBOOT_TASK_MASK n lorawan_fmp_package launch REQUEST_REBOOT_TASK_MASK n lorawan_fmp_package launch REQUEST_REBOOT_TASK_MASK

The stack doesn't respond to the backend and the phrase REQUEST_REBOOT_TASK_MASK n will be endlessly repeated.

@MpmTwtg
Copy link

MpmTwtg commented Sep 25, 2023

Having the same issue,

Changing
ctx->fmp_task_ctx_mask |= REQUEST_REBOOT_TASK_MASK;

to
ctx->fmp_task_ctx_mask |= ANS_CMD_TASK_MASK;

Seems to be the fix,
The same problems occurs in fuota_packages_v2

@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

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

No branches or pull requests

3 participants