add commit
This commit is contained in:
21
app/src/main/cpp/SerialPort.h
Normal file
21
app/src/main/cpp/SerialPort.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#include <jni.h>
|
||||
|
||||
#ifndef _SERIAL_PORT
|
||||
#define _SERIAL_PORT
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_com_laseroptek_raman_data_source_serial_SerialPort_open(JNIEnv *, jobject, int, int);
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_com_laseroptek_raman_data_source_serial_SerialPort_write(JNIEnv *, jobject, int, jbyteArray);
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_com_laseroptek_raman_data_source_serial_SerialPort_close(JNIEnv *, jobject, int);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user