Teonet terminal custom command
This examples shows how to add custom command to the Teonet terminal
Created on July 27, 2015, 3:56 PM
#include <stdio.h>
#include <stdlib.h>
#define TTERM_VERSION VERSION
int cmd_user(
struct cli_def *cli,
const char *command,
char *argv[],
int argc) {
}
size_t data_len, void *user_data) {
switch(event) {
{
printf("The terminal server command 'user' was added\n");
"Show list of teonet peers");
}
break;
default:
break;
}
}
int main(
int argc,
char** argv) {
return 0;
}