Adding the Property Name

File property.h

Add #define ROCS_CALLMOD to list of command codes choosing an appropriate integer value.

#define ROCS_CALLMOD 106 /* Sample command to call module */

File rocs.h

As this command will be calling an action, add #define AT_CALLMOD to list of action types choosing an appropriate integer value.

#define AT_CALLMOD 42 /* Sample call to module (test) */

 

File cmdtable.c

Add a line to fnames[] array with the Command (property) name (CALLMOD) and the command code (ROCS_CALLMOD).

{"CALLMOD", ROCS_CALLMOD},