Skip to content

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 LeoGranierWiifor force-pushed the fix/get_firmware_direct_publish branch from 0dc7a88 to 298ccc8 Compare April 29, 2025 07:26
@LeoGranierWiifor
Copy link
Contributor Author

Hello @imbeacon,

This pull request is quite important, as it addresses and resolves an exception that occurs when changing the target firmware on the ThingsBoard platform.

Could you please review it and let me know whether it's acceptable as-is or if any changes are needed?

Thank you in advance,
Best regards,
Léo Granier
Wiifor

@LeoGranierWiifor LeoGranierWiifor force-pushed the fix/get_firmware_direct_publish branch from 298ccc8 to 48dfaf4 Compare May 12, 2025 15:46
@imbeacon
Copy link
Contributor

Hi @LeoGranierWiifor,

Everything looks good for me, but could you create a new PR, without force pushes in it?

@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