Blame view

SerialWebsocket/serial.h 273 Bytes
787d9fce   thubert   Ajout des fichier...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  /*
   * Public definitions for serial library
   */
  
  ////
  // Constants
  ////
  
  #define SERIAL_READ 0
  #define SERIAL_WRITE 1
  #define SERIAL_BOTH 2
  
  ////
  // Public prototypes
  ////
  int serialOpen(char *device,int mode);
  void serialConfig(int fd,int speed);
  void serialClose(int fd);