aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/i2c.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/main/i2c.c b/main/i2c.c
index 19027b3..c499727 100644
--- a/main/i2c.c
+++ b/main/i2c.c
@@ -130,3 +130,25 @@ void pb_hook_mod_state_write(pb_global_state_t state) {
_global_state = state;
}
+void pb_route_cmd_prop_req(pb_msg_t * msg) {
+ // send modules using buf
+ pb_cmd_prop_t cmd = msg->cmd;
+
+ pb_buf_t buf;
+
+ if(cmd == "PROPID_AJHDKADLHL") {
+ pb_send_reply(msg,buf);
+ }
+
+ pb_buf_free(buf);
+}
+
+void pb_route_cmd_prop_set(pb_msg_t * msg) {
+ // scan bus again.
+ pb_cmd_prop_t cmd = msg->cmd;
+
+ if(cmd == "") {
+
+ }
+}
+