comparison rvinterf/tmsh/ffs2resp.c @ 262:577291a2ad76

fc-tmsh ffs2 basic response handling implemented
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 05 Feb 2014 06:51:09 +0000
parents
children
comparison
equal deleted inserted replaced
261:7f14d7c789a7 262:577291a2ad76
1 /*
2 * Handling of TMFFS2 responses from ETM
3 */
4
5 #include <sys/types.h>
6 #include <stdio.h>
7
8 extern u_char rvi_msg[];
9 extern int rvi_msg_len;
10
11 void
12 handle_ffs2_response()
13 {
14 if (rvi_msg[3])
15 print_etm_pkt_raw("FFS2 error");
16 else if (rvi_msg_len == 5)
17 async_msg_output("FFS2 command successful");
18 else
19 print_etm_pkt_raw("FFS2 response");
20 }