You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
490 B
19 lines
490 B
/*
|
|
* commands.h
|
|
*
|
|
* Created on: Jul 8, 2021
|
|
* Author: Andreas Berthoud
|
|
*/
|
|
|
|
#ifndef COMMANDS_H_
|
|
#define COMMANDS_H_
|
|
|
|
void pop_and_execute_commands();
|
|
void handle_received_command(uint8_t command_id, uint8_t * payload_ptr, uint16_t length);
|
|
|
|
void log_debug(const char * format, int nargs, ...);
|
|
void log_info(const char * format, int nargs, ...);
|
|
void log_warning(const char * format, int nargs, ...);
|
|
void log_error(const char * format, int nargs, ...);
|
|
|
|
#endif /* COMMANDS_H_ */
|
|
|