2016-09-26 17:33:21 +03:00
|
|
|
#ifndef _HMI_MSG_H_
|
|
|
|
#define _HMI_MSG_H_
|
|
|
|
|
2016-11-20 00:51:04 +02:00
|
|
|
#define PROG_VERSION "Version: %S built on: %S %S"
|
2016-12-01 16:19:28 +02:00
|
|
|
#define LIBC_VERSION "avr-libc version: %S avr-gcc version: %S"
|
2016-10-23 22:11:20 +03:00
|
|
|
#define STUD_NAME "Arti Zirk"
|
|
|
|
#define GET_MONTH_MSG "Enter Month name first letter >"
|
2016-11-07 02:30:33 +02:00
|
|
|
#define UPTIME_MSG "Uptime: %lu s"
|
2016-09-26 17:33:21 +03:00
|
|
|
|
2016-12-01 16:19:28 +02:00
|
|
|
#define HELP_CMD "help"
|
|
|
|
#define HELP_HELP "Get help"
|
|
|
|
#define VER_CMD "version"
|
|
|
|
#define VER_HELP "Print FW version"
|
|
|
|
#define ASCII_CMD "ascii"
|
|
|
|
#define ASCII_HELP "print ASCII tables"
|
|
|
|
#define MONTH_CMD "month"
|
|
|
|
#define MONTH_HELP "Find matching month from lookup list. Usage: month <string>"
|
|
|
|
#define CLI_HELP_MSG "Implemented commands:"
|
|
|
|
#define CLI_NO_CMD "Command not implemented.\n Use <help> to get help."
|
|
|
|
#define CLI_ARGS_MSG "To few or to many arguments for this command\nUse <help>"
|
2016-12-18 15:31:17 +02:00
|
|
|
#define READ_CMD "read"
|
|
|
|
#define READ_HELP "Read and print out card info that is currently\nin proximity of the reader"
|
|
|
|
|
2016-12-01 16:19:28 +02:00
|
|
|
|
2016-12-01 14:40:57 +02:00
|
|
|
extern PGM_P const months[];
|
|
|
|
|
2016-12-01 16:19:28 +02:00
|
|
|
extern const char help_cmd[];
|
|
|
|
extern const char help_help[];
|
|
|
|
extern const char ver_cmd[];
|
|
|
|
extern const char ver_help[];
|
|
|
|
extern const char ascii_cmd[];
|
|
|
|
extern const char ascii_help[];
|
|
|
|
extern const char month_cmd[];
|
|
|
|
extern const char month_help[];
|
2016-12-18 15:31:17 +02:00
|
|
|
extern const char read_cmd[];
|
|
|
|
extern const char read_help[];
|
2016-12-01 16:19:28 +02:00
|
|
|
|
2016-09-26 17:33:21 +03:00
|
|
|
#endif /* _HMI_MSG_H_ */
|