42 char *getNameBuffer();
43 char *getCaptionBuffer(uint8_t index);
44 char *getParameterKeyBuffer(uint8_t index);
45 char *getParameterDefaultTextBuffer(uint8_t index);
46 char *getParameterEnumValuesBuffer(uint8_t index);
52 char name[SUPLA_SUPLET_MAX_NAME_SIZE];
53 char captions[SUPLA_SUPLET_MAX_CHANNELS_PER_INSTANCE]
54 [SUPLA_SUPLET_MAX_CAPTION_SIZE];
55 char parameterKeys[SUPLA_SUPLET_MAX_PARAMETERS]
56 [SUPLA_SUPLET_MAX_PARAMETER_KEY_SIZE];
57 char parameterDefaultText[SUPLA_SUPLET_MAX_PARAMETERS]
58 [SUPLA_SUPLET_MAX_PARAMETER_TEXT_SIZE];
59 char parameterEnumValues[SUPLA_SUPLET_MAX_PARAMETERS]
60 [SUPLA_SUPLET_MAX_PARAMETER_TEXT_SIZE];
66 static bool parseCategory(
const char *value, Category *category);
67 static bool parseKind(
const char *value, Kind *kind);
68 static bool parseChannelKind(
const char *value, ChannelKind *kind);
69 static bool parseParameterType(
const char *value, ParameterType *type);
70 static bool parseParameterLifecycle(
const char *value,
71 ParameterLifecycle *lifecycle);
72 static bool parseDefaultFunction(
const char *value, int32_t *function);