core-legacy/include/command.h

22 lines
438 B
C

#ifndef CORE_COMMAND_H
#define CORE_COMMAND_H
#include <models/controller.h>
#include <models/relay.h>
int
command_relay_schedules_set(relay_t *relay);
int
command_controller_name_set(controller_t *controller);
int
command_send(controller_t *controller, char *payload, uint32_t payload_size);
int
command_relay_pulse(relay_t *relay, uint8_t duration);
int
command_schedule_update(schedule_t *schedule);
#endif /* CORE_COMMAND_H */