16 lines
343 B
C
16 lines
343 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);
|
|
|
|
#endif /* CORE_COMMAND_H */
|