├── .gitignore ├── .idea ├── encodings.xml ├── gradle.xml ├── misc.xml ├── runConfigurations.xml └── vcs.xml ├── README.md ├── SerialPortHelper.png ├── SerialPortHelperV1.0.1.apk ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── top │ │ └── keepempty │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── top │ │ │ └── keepempty │ │ │ └── MainActivity.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── button_style_org.xml │ │ ├── button_style_stroke.xml │ │ ├── button_style_stroke2.xml │ │ └── 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 │ │ ├── arrays.xml │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test │ └── java │ └── top │ └── keepempty │ └── ExampleUnitTest.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── library ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── top │ │ └── keepempty │ │ └── sph │ │ └── library │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── cpp │ │ ├── CMakeLists.txt │ │ ├── SerialPort.cpp │ │ ├── SerialPortJNI.cpp │ │ └── include │ │ │ ├── SerialPort.h │ │ │ ├── SerialPortJNI.h │ │ │ └── SerialPortLog.h │ ├── java │ │ └── top │ │ │ └── keepempty │ │ │ └── sph │ │ │ └── library │ │ │ ├── DataConversion.java │ │ │ ├── SerialPortConfig.java │ │ │ ├── SerialPortFinder.java │ │ │ ├── SerialPortHelper.java │ │ │ ├── SerialPortJNI.java │ │ │ ├── SphCmdEntity.java │ │ │ ├── SphConcurrentCom.java │ │ │ ├── SphDataProcess.java │ │ │ ├── SphResultCallback.java │ │ │ └── SphThreads.java │ └── res │ │ └── values │ │ └── strings.xml │ └── test │ └── java │ └── top │ └── keepempty │ └── sph │ └── library │ └── ExampleUnitTest.java └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/.idea/encodings.xml -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/.idea/gradle.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/README.md -------------------------------------------------------------------------------- /SerialPortHelper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/SerialPortHelper.png -------------------------------------------------------------------------------- /SerialPortHelperV1.0.1.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/SerialPortHelperV1.0.1.apk -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/top/keepempty/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/androidTest/java/top/keepempty/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/top/keepempty/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/java/top/keepempty/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/button_style_org.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/drawable/button_style_org.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/button_style_stroke.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/drawable/button_style_stroke.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/button_style_stroke2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/drawable/button_style_stroke2.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/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/freyskill/SerialPortHelper/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/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/arrays.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/values/arrays.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/test/java/top/keepempty/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/app/src/test/java/top/keepempty/ExampleUnitTest.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/gradlew.bat -------------------------------------------------------------------------------- /library/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /library/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/build.gradle -------------------------------------------------------------------------------- /library/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/proguard-rules.pro -------------------------------------------------------------------------------- /library/src/androidTest/java/top/keepempty/sph/library/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/androidTest/java/top/keepempty/sph/library/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /library/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /library/src/main/cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/cpp/CMakeLists.txt -------------------------------------------------------------------------------- /library/src/main/cpp/SerialPort.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/cpp/SerialPort.cpp -------------------------------------------------------------------------------- /library/src/main/cpp/SerialPortJNI.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/cpp/SerialPortJNI.cpp -------------------------------------------------------------------------------- /library/src/main/cpp/include/SerialPort.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/cpp/include/SerialPort.h -------------------------------------------------------------------------------- /library/src/main/cpp/include/SerialPortJNI.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/cpp/include/SerialPortJNI.h -------------------------------------------------------------------------------- /library/src/main/cpp/include/SerialPortLog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/cpp/include/SerialPortLog.h -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/DataConversion.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/DataConversion.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SerialPortConfig.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SerialPortConfig.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SerialPortFinder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SerialPortFinder.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SerialPortHelper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SerialPortHelper.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SerialPortJNI.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SerialPortJNI.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SphCmdEntity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SphCmdEntity.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SphConcurrentCom.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SphConcurrentCom.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SphDataProcess.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SphDataProcess.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SphResultCallback.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SphResultCallback.java -------------------------------------------------------------------------------- /library/src/main/java/top/keepempty/sph/library/SphThreads.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/java/top/keepempty/sph/library/SphThreads.java -------------------------------------------------------------------------------- /library/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /library/src/test/java/top/keepempty/sph/library/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/freyskill/SerialPortHelper/HEAD/library/src/test/java/top/keepempty/sph/library/ExampleUnitTest.java -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':library' 2 | --------------------------------------------------------------------------------