core-legacy/include/command.h

23 lines
438 B
C
Raw Normal View History

2020-05-06 23:38:13 +00:00
#ifndef CORE_COMMAND_H
#define CORE_COMMAND_H
#include <models/controller.h>
#include <models/relay.h>
int
2020-08-24 13:59:46 +00:00
command_relay_schedules_set(relay_t *relay);
2020-05-06 23:38:13 +00:00
int
2020-08-24 13:59:46 +00:00
command_controller_name_set(controller_t *controller);
2020-05-06 23:38:13 +00:00
int
2020-08-24 13:59:46 +00:00
command_send(controller_t *controller, char *payload, uint32_t payload_size);
2020-05-06 23:38:13 +00:00
2020-06-27 16:31:36 +00:00
int
2020-08-24 13:59:46 +00:00
command_relay_pulse(relay_t *relay, uint8_t duration);
int
command_schedule_update(schedule_t *schedule);
2020-06-27 16:31:36 +00:00
2020-05-06 23:38:13 +00:00
#endif /* CORE_COMMAND_H */