summaryrefslogtreecommitdiff
path: root/nrfdemo/src/mqtt_connection.h
diff options
context:
space:
mode:
authorMichal Hanus <hanus.michal@divelit.cz>2025-05-21 20:58:52 +0200
committerMichal Hanus <hanus.michal@divelit.cz>2025-05-21 20:58:52 +0200
commita407db2d45286f37eff10710c9a8e43755cedfc6 (patch)
treeb2451cf76bad9d2ee8f80df9f9df32f176c1e5eb /nrfdemo/src/mqtt_connection.h
parent85f4aadd7382eec843a02f513f6933abba6e5d02 (diff)
bck
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_ */