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.
23 lines
415 B
C++
23 lines
415 B
C++
/* 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__
|