comparison cmu200/dispatch.c @ 7:948031e6de50

fc-cmu200d: vcxo-cal-setup implemented
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 May 2017 08:03:35 +0000
parents d8cbc7a383eb
children c873a36a16e6
comparison
equal deleted inserted replaced
6:d8cbc7a383eb 7:948031e6de50
11 extern int client_cmd_nfields; 11 extern int client_cmd_nfields;
12 12
13 extern int cmd_signal_gen_off(); 13 extern int cmd_signal_gen_off();
14 extern int cmd_signal_gen_sine(); 14 extern int cmd_signal_gen_sine();
15 extern int cmd_signal_gen_setup(); 15 extern int cmd_signal_gen_setup();
16 extern int cmd_vcxo_cal_setup();
16 17
17 cmd_ping() 18 cmd_ping()
18 { 19 {
19 send_socket_response("+Pong\n"); 20 send_socket_response("+Pong\n");
20 return(0); 21 return(0);
26 } cmdtab[] = { 27 } cmdtab[] = {
27 {"ping", cmd_ping}, 28 {"ping", cmd_ping},
28 {"signal-gen-off", cmd_signal_gen_off}, 29 {"signal-gen-off", cmd_signal_gen_off},
29 {"signal-gen-sine", cmd_signal_gen_sine}, 30 {"signal-gen-sine", cmd_signal_gen_sine},
30 {"signal-gen-setup", cmd_signal_gen_setup}, 31 {"signal-gen-setup", cmd_signal_gen_setup},
32 {"vcxo-cal-setup", cmd_vcxo_cal_setup},
31 {0, 0} 33 {0, 0}
32 }; 34 };
33 35
34 dispatch_client_command() 36 dispatch_client_command()
35 { 37 {