24 #ifndef __FAWKES_CONFIG_MESSAGES_H_
25 #define __FAWKES_CONFIG_MESSAGES_H_
28 #include <netcomm/utils/dynamic_buffer.h>
34 #define MSG_CONFIG_GET_FLOAT 1
35 #define MSG_CONFIG_GET_UINT 2
36 #define MSG_CONFIG_GET_INT 3
37 #define MSG_CONFIG_GET_BOOL 4
38 #define MSG_CONFIG_GET_STRING 5
39 #define MSG_CONFIG_GET_VALUE 6
40 #define MSG_CONFIG_GET_COMMENT 7
41 #define MSG_CONFIG_GET_DEFAULT_COMMENT 8
42 #define MSG_CONFIG_GET_BEGIN MSG_CONFIG_GET_FLOAT
43 #define MSG_CONFIG_GET_END MSG_CONFIG_GET_DEFAULT_COMMENT
44 #define MSG_CONFIG_GET_ALL 9
46 #define MSG_CONFIG_SET_FLOAT 10
47 #define MSG_CONFIG_SET_UINT 11
48 #define MSG_CONFIG_SET_INT 12
49 #define MSG_CONFIG_SET_BOOL 13
50 #define MSG_CONFIG_SET_STRING 14
51 #define MSG_CONFIG_SET_COMMENT 15
52 #define MSG_CONFIG_SET_DEFAULT_FLOAT 16
53 #define MSG_CONFIG_SET_DEFAULT_UINT 17
54 #define MSG_CONFIG_SET_DEFAULT_INT 18
55 #define MSG_CONFIG_SET_DEFAULT_BOOL 19
56 #define MSG_CONFIG_SET_DEFAULT_STRING 20
57 #define MSG_CONFIG_SET_DEFAULT_COMMENT 21
58 #define MSG_CONFIG_SET_BEGIN MSG_CONFIG_SET_FLOAT
59 #define MSG_CONFIG_SET_END MSG_CONFIG_SET_DEFAULT_COMMENT
60 #define MSG_CONFIG_ERASE_VALUE 22
62 #define MSG_CONFIG_GET_TAGS 25
63 #define MSG_CONFIG_LOAD_TAG 26
64 #define MSG_CONFIG_SAVE_TAG 27
65 #define MSG_CONFIG_INV_TAG 28
66 #define MSG_CONFIG_DEL_TAG 29
68 #define MSG_CONFIG_FLOAT_VALUE 30
69 #define MSG_CONFIG_UINT_VALUE 31
70 #define MSG_CONFIG_INT_VALUE 32
71 #define MSG_CONFIG_BOOL_VALUE 33
72 #define MSG_CONFIG_STRING_VALUE 34
73 #define MSG_CONFIG_COMMENT_VALUE 35
74 #define MSG_CONFIG_VALUE_BEGIN MSG_CONFIG_FLOAT_VALUE
75 #define MSG_CONFIG_VALUE_END MSG_CONFIG_COMMENT_VALUE
76 #define MSG_CONFIG_INV_VALUE 36
77 #define MSG_CONFIG_VALUE_ERASED 37
78 #define MSG_CONFIG_LIST 38
80 #define MSG_CONFIG_SUBSCRIBE 50
81 #define MSG_CONFIG_UNSUBSCRIBE 51
85 #define CONFIG_MSG_PATH_LENGTH 128
86 #define CONFIG_MSG_MAX_TAG_LENGTH 64
93 char path[CONFIG_MSG_PATH_LENGTH];
94 uint32_t is_default : 1;
96 uint32_t reserved : 31;
161 char tag[CONFIG_MSG_MAX_TAG_LENGTH];
174 uint32_t reserved : 24;
config_descriptor_t cp
value descriptor
config_descriptor_t cp
value descriptor
Config list float entity.
Fawkes library namespace.
config_descriptor_t cp
value descriptor
config_list_entity_header_t header
config entity header
config_list_entity_header_t header
config entity header
config_descriptor_t cp
value descriptor
uint16_t s_length
Length of following string.
config_descriptor_t cp
value descriptor
dynamic_list_t config_list
DynamicBuffer for list.
config_list_entity_header_t header
config entity header
Config list unsigned int entity.
config_descriptor_t cp
value descriptor
config_descriptor_t cp
value descriptor
config_descriptor_t cp
value descriptor
Unsigned int value message.
config_list_entity_header_t header
config entity header
uint16_t s_length
length of following string value
Invalid value request message.
int32_t b
0 is false, everything else is true
config_descriptor_t cp
value descriptor
config_descriptor_t cp
value descriptor
Config list string entity.
config_list_entity_header_t header
config entity header