[英]How to display binary MQTT data?
I am using the Mosquitto command mosquitto_sub
to display data from an MQTT server:我正在使用 Mosquitto 命令
mosquitto_sub
显示来自 MQTT 服务器的数据:
mosquitto_sub -t "#" -v
The messages I want to display contains binary data, which Mosquitto tries to display as text.我要显示的消息包含二进制数据,Mosquitto 试图将其显示为文本。
Is there any way to display the MQTT messages in a better way for binary data?有什么方法可以更好地显示二进制数据的 MQTT 消息? For example as the hex-values of the bytes?
例如作为字节的十六进制值?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.