Set Hex on Mosquitto MQTT

Skip to first unread message

etcreport report

Feb 26, 2020, 9:12:44 AM2/26/20

I have a problem to send an HEX value to mosquitto MQTT broker.
I think I have to set on Mosquitto the incoming messages being on HEX format, but I am not able to find the configuration to set, if it is possile.
Recive data just in ascii format.

Another way can find a client to send message on a topic in HEX format, but I cannot find one.
I tried MQTT.fx but there is no option to set HEX value in publishing.
Send data just in ascii format.

Simon Walters

Feb 27, 2020, 6:51:20 AM2/27/20
MQTT just transports a series of bytes in its payload
It is up to any programs using it to decide whether the data is a series of ASCII chars or hex characters or binary data

So if a client publishes FF - it could represent the decimal number 255 or simply a 2 character string with 2 Fs in it.


To learn more about MQTT please visit
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages