#include <stddef.h>
#include "ts_actions.h"
#include "../CommonCode/cmd_types.h"

/****************************************************************************/
/*                            command structures                            */
/****************************************************************************/

const CmdStruct cmdsRoot[] =
{
    {"LED_OUT",             actLedOutputCmd         },
    {"GET",                 actGetCmd               },
    {"SET",                 actSetCmd               },
    {"CLEAR|CLR",           actClrCmd               },
    {"HELP|?",              actHelpCmd              },
    {"RESET",               actResetCmd             },
    {"NP ON",               actNpOnCmd              },
    {"NP OFF",              actNpOffCmd             },
    {"CAM ON",              actCamOnCmd             },
    {"CAM OFF",             actCamOffCmd            },
    {"ENV ON",              actEnvOnCmd             },
    {"ENV OFF",             actEnvOffCmd            },
    {"PTB ON",              actPtbOnCmd             },
    {"PTB OFF",             actPtbOffCmd            },
    {"ECHO ON",             actEchoOnCmd            },
    {"ECHO OFF",            actEchoOffCmd           },
    {"TS_DEBUG ON",         actTsDebugOnCmd         },
    {"TS_DEBUG OFF",        actTsDebugOffCmd        },
    /* debug command(s) below */
    {"HELLO KITTY",         actHelloKittyCmd        },
    {"",                    NULL                    }
};

const CmdStruct cmdsGet[] =
{
    {"HUM",                 actGetHumCmd            },
    {"",                    NULL                    }
};

const CmdStruct cmdsSet[] =
{
    {"STUB",                actSetStubCmd           },
    {"",                    NULL                    }
};

const CmdStruct cmdsClr[] =
{
    {"STUB",                actClrStubCmd           },
    {"",                    NULL                    }
};
