core-legacy/include/command.h

19 lines
397 B
C

#ifndef CORE_COMMAND_H
#define CORE_COMMAND_H
#include <models/controller.h>
#include <models/relay.h>
int
command_set_relay_schedule(relay_t *relay);
int
command_set_controller_name(controller_t *controller);
int
command_send(controller_t *controller, int command_code, char *payload, uint32_t payload_size);
int
command_pulse(relay_t *relay, uint8_t duration);
#endif /* CORE_COMMAND_H */