view rvinterf/etm/misc.c @ 258:ab66a2eea6a8

fc-tmsh: beginning of ffs2 command dispatch
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 04 Feb 2014 07:43:12 +0000
parents c413e791595a
children
line wrap: on
line source

/*
 * Commands which don't belong anywhere else
 */

#include <sys/types.h>
#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <stdlib.h>
#include "../include/pktmux.h"
#include "etm.h"
#include "tmffs1.h"

void
cmd_check_ffs1(argc, argv)
	char **argv;
{
	u_char cmdpkt[5];

	cmdpkt[1] = ETM_FFS1;
	cmdpkt[2] = FPI_TMFFS_VERSION;
	cmdpkt[3] = FPI_END;
	send_etm_cmd(cmdpkt, 3);
}