diff -r 14322825cb3d -r 48f8f3fce7c0 bmsd/mqtt.h --- a/bmsd/mqtt.h Thu May 14 14:38:20 2020 +0200 +++ b/bmsd/mqtt.h Mon May 18 11:00:59 2020 +0200 @@ -7,6 +7,13 @@ /** + * @brief Publish MQTT message. + * @param topic The topic part of the message. + * @param payload The payload part of the message. + */ +void mqtt_publish(char *topic, char *payload); + +/** * @brief Connect to the MQTT server. * @return 0 if success, else the connection failed. */