summaryrefslogtreecommitdiff
path: root/nrfdemo/src/mqtt_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'nrfdemo/src/mqtt_connection.h')
-rw-r--r--nrfdemo/src/mqtt_connection.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nrfdemo/src/mqtt_connection.h b/nrfdemo/src/mqtt_connection.h
index 51765e8..8fa3b45 100644
--- a/nrfdemo/src/mqtt_connection.h
+++ b/nrfdemo/src/mqtt_connection.h
@@ -18,4 +18,6 @@ int fds_init(struct mqtt_client *c, struct pollfd *fds);
int data_publish(struct mqtt_client *c, enum mqtt_qos qos,
uint8_t *data, size_t len);
+int publish_wrap(struct mqtt_client *c, uint8_t* topic, uint8_t *data, size_t len);
+
#endif /* _CONNECTION_H_ */