Skip to content

Binary sent is not the same as binary received #1692

Answered by ysfscream
soren-olesen asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @soren-olesen

I appreciate your patience. The issue lies with the file-read and format options when publishing the message. The data read from the file is already in binary format, and the conversion process was doing unnecessary transformations, which caused the discrepancy.

To resolve this, omit the --format option when using the pub command. This will prevent the unnecessary conversion and maintain the integrity of the data. I have tested this, and the input and output files are now completely identical.

Thank you for bringing this to our attention. We will fix it soon. 🙏

Best regards,
Shifan

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ysfscream
Comment options

Answer selected by soren-olesen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working CLI MQTTX CLI
2 participants