aboutsummaryrefslogtreecommitdiff
path: root/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'app.h')
-rw-r--r--app.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/app.h b/app.h
index f1b829a..e0ef6e9 100644
--- a/app.h
+++ b/app.h
@@ -93,7 +93,7 @@ struct sm_req {
struct sm_res {
// header
uint8_t code;
-
+
// body
union {
struct sm_get_sensor_count_res get_sensor_count;
@@ -109,6 +109,7 @@ struct sm_res {
void sm_loop();
void sm_setup();
void sm_on_connect();
+void sm_on_disconnect();
//boolean tx_soil_moisture(struct sm_res& res);
void notify_soil_moisture(const struct sm_res& res, uint8_t body_len);
@@ -127,3 +128,4 @@ void write_res(struct sm_res const& res);
#endif
+// vim: set ft=arduino: