WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
cmd_CommandManager.h File Reference
#include "flight/Command.h"
#include "apps/app_apids.h"

Go to the source code of this file.

Classes

struct  cmd_soft_reset
struct  cmd_log_level
struct  cmd_sched
struct  cmd_no_op
struct  cmd_activate_app
struct  cmd_deactivate_app

Macros

#define CMD_CMD_MANAGER_BASE   APP_APID_COMMAND_MANAGER + CMD_APID_BASE
#define CMD_SOFT_RESET   CMD_CMD_MANAGER_BASE + 0x000
 Command code to soft reset an app.
#define CMD_LOG_LEVEL   CMD_CMD_MANAGER_BASE + 0x001
 Command code to change a specified apps log level.
#define CMD_SCHEDULE   CMD_CMD_MANAGER_BASE + 0x002
 Command code to change an apps scheduled slot.
#define CMD_NO_OP   CMD_CMD_MANAGER_BASE + 0x003
 Command code for a no-op command.
#define CMD_ACTIVATE_APP   CMD_CMD_MANAGER_BASE + 0x004
 Command code to activate an app.
#define CMD_DEACTIVATE_APP   CMD_CMD_MANAGER_BASE + 0x005
 Command code to deactivate an app.

Macro Definition Documentation

◆ CMD_ACTIVATE_APP

#define CMD_ACTIVATE_APP   CMD_CMD_MANAGER_BASE + 0x004

Command code to activate an app.

◆ CMD_CMD_MANAGER_BASE

#define CMD_CMD_MANAGER_BASE   APP_APID_COMMAND_MANAGER + CMD_APID_BASE

◆ CMD_DEACTIVATE_APP

#define CMD_DEACTIVATE_APP   CMD_CMD_MANAGER_BASE + 0x005

Command code to deactivate an app.

◆ CMD_LOG_LEVEL

#define CMD_LOG_LEVEL   CMD_CMD_MANAGER_BASE + 0x001

Command code to change a specified apps log level.

◆ CMD_NO_OP

#define CMD_NO_OP   CMD_CMD_MANAGER_BASE + 0x003

Command code for a no-op command.

◆ CMD_SCHEDULE

#define CMD_SCHEDULE   CMD_CMD_MANAGER_BASE + 0x002

Command code to change an apps scheduled slot.

◆ CMD_SOFT_RESET

#define CMD_SOFT_RESET   CMD_CMD_MANAGER_BASE + 0x000

Command code to soft reset an app.