How can I set the content type and content encoding of the MQTT message #mqtt
Hi, I am sending messages to my Azure IoT hub. I am also storing my messages in Azure blob storage. My message gets sent in JSON format. The IoT hub receives my message correctly but when stored to the blob my messages are converted to 64-base. This is the default setting of the blob storage for the message. I have to specify the content type as "application/json" and content encoding as "utf_8" when sending my messages from the device. I can not seem to find a place in the Zephyr mqtt library to set these message settings. Does anyone have an idea how I can include these settings with my messages? I will share a snippet from C# code that I use to simulate devices to show how they achieve this.
Any help or suggestions would be highly appreciated.