payload format indicator #634
Unanswered
MartinL0815
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Ok - 😓 - should have cited from https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901111 which is about publishing not about connecting. From your experience, because the specs do not really say, that the payload format indicator must be present, what to do if the payload format indicator is not present? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear devs,
I just care for a problem ticket of a customer in our simulation embedded client.
The customer complained, that JSON payload published is identified to be binary in our client.
Checking the MQTT properties of the published package I see, that the payload format identificator is missing and the publish packet contains unspecified or application specifc data (handled as binary).
This is identical to providing the MQTT property "payload format indicator" with the value 0.
A payload format indicator of 1 tells the publish packet would contain an UTF-8 string as payload. An additional exiting MQTT property for the content-type may than detail the payload content format.
Did I miss something or is there a bug to be filed?
Here a cite from the specs I followed while implementing our embedded client:
If it is a bug, I would file it here in github.
Could we please connect and discuss this before I have to react to the customer?
Thanks!
Best regards
Martin
Beta Was this translation helpful? Give feedback.
All reactions