diff options
author | ThomasintAnker <thomasintanker1@gmail.com> | 2024-06-25 13:47:53 +0200 |
---|---|---|
committer | ThomasintAnker <thomasintanker1@gmail.com> | 2024-06-25 13:47:53 +0200 |
commit | 614f5b2a60bdc8d011fd3063669f7e174a24eb91 (patch) | |
tree | 0450c87657f07a531c4d552f91bddd2210aa2bf8 | |
parent | f3e72c6e339eedc4ffac3a2f32cf6cbae7305ff0 (diff) |
a
-rw-r--r-- | main/i2c.c | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 == "") { + + } +} + |