Displaying 1 result from an estimated 1 matches for "cmd_s".
Did you mean:
  cmd_p
  
2009 Jan 26
1
ups emerson liebert GTX2 ESP-II serial protocol demo
...unsigned char rbyteL; /*lsb result*/
  unsigned char rstr[256]; /*string result from multiple commands (lenght>1)*/
  time_t when; /*time of last result*/
  unsigned char init;   /*used to check if struct block has something valid*/
  unsigned char supported;   /*if this feature is supported*/
} cmd_s;
//fill struct
//fs(0,&c[0],"lala1", 1,2,3,4,5,6, 11,22,33,44,55,66);
void fs( cmd_s * c, 
    char * descr, 
    unsigned char type,
    unsigned char length,
    unsigned int rfmt,
    unsigned int c0, unsigned int c1, 
    unsigned int c2, unsigned int c3,
    unsigned int c4, uns...