diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-01-07 13:55:00 +0100 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-01-07 13:55:00 +0100 |
commit | d5288693e86db33ab6743c902440825e5eec1314 (patch) | |
tree | f57db60f98128f043e41db03dd98e8aa4bf1d2aa /shared | |
parent | 847b4a5d588ec504865398c21c3bcb73a6fc1fab (diff) |
mesh network message publishing commands all fully implemented
Diffstat (limited to 'shared')
-rw-r--r-- | shared/protocol.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/shared/protocol.h b/shared/protocol.h index c742c82..b9a2c93 100644 --- a/shared/protocol.h +++ b/shared/protocol.h @@ -170,12 +170,12 @@ static size_t (* const CD_CMD_HANDLERS_SIZEOF[CD_CMD_COUNT])(cd_s_bin*) = { /** @brief stores message handlers in array with opcode as index */ static cd_cmd_handler_t* const CD_CMD_HANDLERS[CD_CMD_COUNT] = { - [CD_CMD_PING] = &cd_cmd_ping, // implemented - [CD_CMD_GET_NODE] = &cd_cmd_get_node, // implemented + [CD_CMD_PING] = &cd_cmd_ping, + [CD_CMD_GET_NODE] = &cd_cmd_get_node, [CD_CMD_POST_LED] = &cd_cmd_post_led, - [CD_CMD_POST_LINK] = &cd_cmd_post_link, // implemented + [CD_CMD_POST_LINK] = &cd_cmd_post_link, [CD_CMD_POST_NET] = &cd_cmd_post_net, - [CD_CMD_RESPONSE] = &cd_cmd_response, // WIP + [CD_CMD_RESPONSE] = &cd_cmd_response, }; #ifdef __cplusplus |