Added the "KEvent" console command. (#17)
This PR adds a new console command, "KEvent", which allows the sending of arbitrary events to the [state machine](https://ktag.clubk.club/Technology/SystemK/#state-machine). The events are specified by [ID](https://git.ktag.clubk.club/Software/SystemK/src/tag/SystemK_v01.01/Events/KEvents.h#L33-L86), which may change from release-to-release of SystemK. ``` KTag> KEvent Usage: KEvent <Event ID> <Event Data> (Note that IDs may be SystemK version-dependent.) ``` Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #17
This commit is contained in:
parent
89166c8a02
commit
7807ce0ece
5 changed files with 126 additions and 1 deletions
|
|
@ -21,11 +21,13 @@
|
|||
*/
|
||||
|
||||
#include "esp_console.h"
|
||||
#include <KEvent_Command.h>
|
||||
#include <Log_Command.h>
|
||||
#include <System_Command.h>
|
||||
|
||||
static void register_commands()
|
||||
{
|
||||
Register_KEvent_Command();
|
||||
Register_Log_Command();
|
||||
Register_System_Command();
|
||||
esp_console_register_help_command();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue