11 printf(
"Got Command: %s\n",cmnd);
12 if(!strcmp(cmnd,
"RESET"))
14 if(!strcmp(cmnd,
"CONFIGURE"))
16 if(!strcmp(cmnd,
"START"))
18 if(!strcmp(cmnd,
"STOP"))
30 sprintf(aux,
"DEVICE/%s/DATA",argv[1]);
33 sprintf(aux,
"DEVICE/%s/CMD",argv[1]);
main(int argc, char **argv)
void do_cmnd(int *tag, char *cmnd, int *size)
#define dis_start_serving
#define dis_update_service
sprintf(name1,"NewService%d", i)