├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── top │ │ └── maybesix │ │ └── demo │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── top │ │ │ └── maybesix │ │ │ └── demo │ │ │ └── MainActivity.kt │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ └── ic_launcher_background.xml │ │ ├── layout │ │ └── activity_main.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ └── ic_launcher_round.png │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── top │ └── maybesix │ └── demo │ └── ExampleUnitTest.kt ├── easyserialport ├── .gitignore ├── CMakeLists.txt ├── build.gradle ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── cpp │ ├── SerialPort.c │ └── SerialPort.h │ └── main │ ├── AndroidManifest.xml │ └── java │ ├── android_serialport_api │ ├── SerialPort.java │ └── SerialPortFinder.java │ └── top │ └── maybesix │ └── easyserialport │ ├── ComPortData.java │ ├── EasySerialPort.java │ └── util │ ├── CrcUtils.java │ └── HexStringUtils.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/top/maybesix/demo/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/androidTest/java/top/maybesix/demo/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/top/maybesix/demo/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/java/top/maybesix/demo/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/top/maybesix/demo/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/app/src/test/java/top/maybesix/demo/ExampleUnitTest.kt -------------------------------------------------------------------------------- /easyserialport/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /easyserialport/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/CMakeLists.txt -------------------------------------------------------------------------------- /easyserialport/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/build.gradle -------------------------------------------------------------------------------- /easyserialport/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /easyserialport/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/proguard-rules.pro -------------------------------------------------------------------------------- /easyserialport/src/cpp/SerialPort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/cpp/SerialPort.c -------------------------------------------------------------------------------- /easyserialport/src/cpp/SerialPort.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/cpp/SerialPort.h -------------------------------------------------------------------------------- /easyserialport/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /easyserialport/src/main/java/android_serialport_api/SerialPort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/main/java/android_serialport_api/SerialPort.java -------------------------------------------------------------------------------- /easyserialport/src/main/java/android_serialport_api/SerialPortFinder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/main/java/android_serialport_api/SerialPortFinder.java -------------------------------------------------------------------------------- /easyserialport/src/main/java/top/maybesix/easyserialport/ComPortData.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/main/java/top/maybesix/easyserialport/ComPortData.java -------------------------------------------------------------------------------- /easyserialport/src/main/java/top/maybesix/easyserialport/EasySerialPort.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/main/java/top/maybesix/easyserialport/EasySerialPort.java -------------------------------------------------------------------------------- /easyserialport/src/main/java/top/maybesix/easyserialport/util/CrcUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/main/java/top/maybesix/easyserialport/util/CrcUtils.java -------------------------------------------------------------------------------- /easyserialport/src/main/java/top/maybesix/easyserialport/util/HexStringUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/easyserialport/src/main/java/top/maybesix/easyserialport/util/HexStringUtils.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/maybesix/Android-EasySerialPort/HEAD/settings.gradle --------------------------------------------------------------------------------