Rework radio message processing

This commit is contained in:
Sassa NF
2024-12-31 11:01:34 +00:00
parent 6368eca7aa
commit 3d7ab81f6f
5 changed files with 298 additions and 90 deletions
+10 -1
View File
@@ -22,6 +22,15 @@ enum MessageType
_MAX_MESSAGE_TYPE = CONFIG_TASK
};
enum ConfigTaskType
{
GET = 0,
SET,
GETSET_SUCCESS,
SET_FAIL,
_MAX_CONFIG_TASK_TYPE = SET_FAIL
};
struct Wrapper
{
int32_t length;
@@ -45,7 +54,7 @@ struct ConfigTask
{
String *key;
String *value;
bool is_set;
ConfigTaskType task_type;
};
struct Message