mirror of
https://github.com/Genaker/LoraSA.git
synced 2026-07-13 13:21:25 +02:00
Rework radio message processing
This commit is contained in:
+10
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user