You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
414 B
C
22 lines
414 B
C
1 year ago
|
/* DO NOT EDIT THIS FILE - it is machine generated */
|
||
|
#include <jni.h>
|
||
|
/* Header for class android_serialport_SerialPort */
|
||
|
|
||
|
#ifndef __SERIALPORT_H__
|
||
|
#define __SERIALPORT_H__
|
||
|
|
||
|
#include <termios.h>
|
||
|
|
||
|
class CSerialPort
|
||
|
{
|
||
|
public:
|
||
|
bool Open(const char* path, speed_t baudrate, int stopBits, int dataBits, int parity, int flowCon, int flags);
|
||
|
|
||
|
void Close();
|
||
|
|
||
|
private:
|
||
|
int fd;
|
||
|
};
|
||
|
|
||
|
#endif // __SERIALPORT_H__
|