This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

customize publish function in mqtt sample

Hi, I  am currently testing the MQTT Communication with our IoT-Platform. 

I am successfully connected to the broker and I am able to receive messages from the subscribed topic. 

Now I want to publish my own messages and not just reply the received message from the subscribe function. 

Therefore I need to know how to edit the data_publish function and subsequently the MQTT_EVT_PUBLISH case in the mqtt_simple sample. 

Thanks in advance and best regards, 

Manuel

Parents Reply Children
No Data
Related