Displaying 1 result from an estimated 1 matches for "sec_value".
Did you mean:
new_value
2005 Dec 19
0
new(er) SEC driver.
...BAUD_RATE, 2, "4800 Baud" },
{ SEC_BAUD_RATE, 3, "9600 Baud" },
{ SEC_BAUD_RATE, 4, "19200 Baud" },
{ SEC_UNUSED, 0 , 0 }
};
#define sec_support(i) (_sec_meta[(i)%SEC_NUMVARS].supported)
#define sec_edi(i) (_sec_meta[(i)%SEC_NUMVARS].edi)
#define sec_value(i) (_sec_meta[(i)%SEC_NUMVARS].value)
struct _sec_meta {
int supported;
int edi; /* enumeratated data index */
char value[SEC_MAX_VARSIZE];
};
static struct _sec_meta _sec_meta[SEC_NUMVARS] = { { 0, 0 } };
/*
* sec_recv(fd, buf, len)
*
* Read a SEC format message (^<cmdchar&g...