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.
TermApp/app/src/main/cpp/SerialPort.h

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:
1 year ago
int fd;
};
#endif // __SERIALPORT_H__