hivemq / hivemq-mqtt-client

HiveMQ MQTT Client is an MQTT 5.0 and MQTT 3.1.1 compatible and feature-rich high-performance Java client library with different API flavours and backpressure support
https://hivemq.github.io/hivemq-mqtt-client/
Apache License 2.0
860 stars 159 forks source link

Encoding of messages #495

Closed AntoSaba92 closed 1 year ago

AntoSaba92 commented 3 years ago

Hello, i'm trying to create a publish message and then i want to encode it in the corresponding sequence of bytes, but I'm not able to use the encoding packages of this project. Any idea of how to do that?

SgtSilvio commented 3 years ago

Hi @AntoSaba92 this library provides you an API for an MQTT client. Encoding and decoding messages is an internal implementation and not part of the API and so also not intended to be used outside the library. Can you describe why you need manually encoding MQTT packets?

pglombardo commented 1 year ago

Hi @AntoSaba92 - it's been a quite a while on this issue since the last activity so I'll close it out. If anything remains, feel free to file a new issue - we'd be happy to help out.