Files
raman/app/src/main/cpp/SerialPort.h
2026-02-28 12:45:29 +09:00

21 lines
483 B
C

#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