summaryrefslogtreecommitdiff
path: root/nrfdemo/src/mqtt_connection.h
diff options
context:
space:
mode:
authorMichal Hanus <mikehanus@protonmail.com>2025-05-26 22:51:43 +0200
committerMichal Hanus <mikehanus@protonmail.com>2025-05-26 22:51:43 +0200
commitf4b199f60188733cb3bafeb199bdf6fe3758616e (patch)
tree72f1c8bfb349f6a8ccb0723dbd98644c7a8dbef6 /nrfdemo/src/mqtt_connection.h
parenta407db2d45286f37eff10710c9a8e43755cedfc6 (diff)
only LTE
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 8fa3b45..d4dc9cb 100644
--- a/nrfdemo/src/mqtt_connection.h
+++ b/nrfdemo/src/mqtt_connection.h
@@ -19,5 +19,7 @@ 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);
+int publish_sensor(struct mqtt_client *c, uint8_t* topic, int32_t val1, int32_t val2);
+int publish_int(struct mqtt_client *c, uint8_t* topic, int32_t val);
#endif /* _CONNECTION_H_ */