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

[Help] How publish message with HEX payload using CLI? #1328

Closed
LucasYao93 opened this issue Jun 27, 2023 · 5 comments
Closed

[Help] How publish message with HEX payload using CLI? #1328

LucasYao93 opened this issue Jun 27, 2023 · 5 comments
Assignees
Labels
CLI MQTTX CLI enhancement New feature or request feature This pr is a feature help wanted Extra attention is needed

Comments

@LucasYao93
Copy link

Describe the problem you Confuse

A clear and concise description of what you are confusing about.

More detail (optional)

Add any other context or screenshots.

@LucasYao93 LucasYao93 added the help wanted Extra attention is needed label Jun 27, 2023
@LucasYao93 LucasYao93 changed the title [Help] How publish message use HEX payload? [Help] How publish message with HEX payload using CLI? Jun 27, 2023
@ysfscream ysfscream added feature This pr is a feature CLI MQTTX CLI enhancement New feature or request labels Jun 28, 2023
@ni00
Copy link
Contributor

ni00 commented Jun 28, 2023

Hello! I have submitted some code. The link is: #1333

Based on your request, I add a -f parameter to the mqttx pub command, which will allow you to specify that the content you publish is in hexadecimal format (also supprot base64 or json).

mqttx pub -t ... -h ... -p ...  -m '68656c6c6f' -f "hex" 

@LucasYao93
Copy link
Author

Hello! I have submitted some code. The link is: #1333

Based on your request, I add a -f parameter to the mqttx pub command, which will allow you to specify that the content you publish is in hexadecimal format (also supprot base64 or json).

mqttx pub -t ... -h ... -p ...  -m '68656c6c6f' -f "hex" 

Has the code been released?

@ni00
Copy link
Contributor

ni00 commented Jun 29, 2023

Has the code been released?

The code has not been released yet.
You can wait for the upcoming release (version 1.9.4, which will be available soon), or compile the code yourself from the 'cli' folder in the emqx/MQTTX repository. Compiling the code is a simple process, and you can refer to mqttx.app for detailed instructions.

@ysfscream
Copy link
Member

ysfscream commented Jun 29, 2023

Has the code been released?

@LucasYao93 Thank you for your feedback. Perhaps we will release version 1.9.4 next week.

@ysfscream ysfscream added this to MQTTX Jul 14, 2023
@ysfscream ysfscream moved this to Backlog in MQTTX Jul 14, 2023
@ysfscream
Copy link
Member

Hi! Thank you for your feedback. Currently, we have added support for it in https://github.com/emqx/MQTTX/releases/tag/v1.9.4.

@ysfscream ysfscream moved this from Backlog to Done in MQTTX Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI MQTTX CLI enhancement New feature or request feature This pr is a feature help wanted Extra attention is needed
Projects
Archived in project
Development

No branches or pull requests

3 participants