32 using TestCalcfgHandler = int (*)(
void *context,
35 using TestChannelValueHandler = int32_t (*)(
37 using TestChannelConfigHandler = uint8_t (*)(
40 TestCalcfgHandler testCalcfgHandler,
41 void *testCalcfgContext);
43 TestChannelValueHandler testChannelValueHandler,
44 void *testChannelValueContext);
46 TestChannelConfigHandler testChannelConfigHandler,
47 void *testChannelConfigContext);
55 bool parseCommand(
const char *json, Command *command);
56 void processCommand(
const Command &command,
ResponseWriter *writer);
57 void processDirectCommandJson(
const char *line,
ResponseWriter *writer);
69 TestCalcfgHandler testCalcfgHandler =
nullptr;
70 void *testCalcfgContext =
nullptr;
71 TestChannelValueHandler testChannelValueHandler =
nullptr;
72 void *testChannelValueContext =
nullptr;
73 TestChannelConfigHandler testChannelConfigHandler =
nullptr;
74 void *testChannelConfigContext =
nullptr;