Skip to content

Fix: Direct MQTT publish for fw request #91

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

Merged

Conversation

LeoGranierWiifor
Copy link
Contributor

In function __get_firmware, the function _publish_data is not suitable as payload will be empty ('') or the chunk size ("1024" for example). The functions called by _publish_data expects the payload to be a valid JSON.

Direct publish is a suitable fix.

@LeoGranierWiifor
Copy link
Contributor Author

Hello @imbeacon,
Thank you for your response.
I have opened this PR without using a force push.
Best regards,
Léo Granier
Wiifor

@imbeacon imbeacon merged commit 7ff76d3 into thingsboard:master May 14, 2025
2 checks passed
@LeoGranierWiifor LeoGranierWiifor deleted the fix/get_firmware_direct_publish branch June 16, 2025 08:43
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

Successfully merging this pull request may close these issues.

2 participants