Closed g4dpz closed 2 years ago
requires the paho-mqtt library to be linked:
https://www.eclipse.org/paho/files/mqttdoc/MQTTClient/html/index.html
https://github.com/eclipse/paho.mqtt.c
Used you pattern of creating a p_thread to do the upload, handing it received messages and mqtt connection details.
I have added example connection attibutes to the gateway-example .txt file
requires the paho-mqtt library to be linked:
https://www.eclipse.org/paho/files/mqttdoc/MQTTClient/html/index.html
https://github.com/eclipse/paho.mqtt.c
Used you pattern of creating a p_thread to do the upload, handing it received messages and mqtt connection details.
I have added example connection attibutes to the gateway-example .txt file