From 80646adbb985215b34aac9b73402752a29cd2ef8 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 18 Jan 2015 23:10:07 +0100 Subject: o Making the device blink when connected. --- app.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app.h') 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: -- cgit v1.2.3