├── .gitignore ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── win │ │ └── lioil │ │ └── bluetooth │ │ └── ExampleInstrumentedTest.java │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── win │ │ │ └── lioil │ │ │ └── bluetooth │ │ │ ├── APP.java │ │ │ ├── MainActivity.java │ │ │ ├── ble │ │ │ ├── BleClientActivity.java │ │ │ ├── BleDevAdapter.java │ │ │ └── BleServerActivity.java │ │ │ ├── bt │ │ │ ├── BtBase.java │ │ │ ├── BtClient.java │ │ │ ├── BtClientActivity.java │ │ │ ├── BtDevAdapter.java │ │ │ ├── BtServer.java │ │ │ └── BtServerActivity.java │ │ │ └── util │ │ │ ├── BtReceiver.java │ │ │ └── Util.java │ └── res │ │ ├── drawable-v24 │ │ └── ic_launcher_foreground.xml │ │ ├── drawable │ │ ├── divider.xml │ │ ├── ic_launcher_background.xml │ │ ├── sel_item.xml │ │ └── stroke.xml │ │ ├── layout │ │ ├── activity_bleclient.xml │ │ ├── activity_bleserver.xml │ │ ├── activity_btclient.xml │ │ ├── activity_btserver.xml │ │ ├── activity_main.xml │ │ ├── item_dev.xml │ │ └── layout_send.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 │ │ └── xml │ │ └── backup_descriptor.xml │ └── test │ └── java │ └── win │ └── lioil │ └── bluetooth │ └── ExampleUnitTest.java ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── png ├── ble_client.png ├── ble_server.png ├── bt_client.png └── bt_server.png └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/build.gradle -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/src/androidTest/java/win/lioil/bluetooth/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/androidTest/java/win/lioil/bluetooth/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/APP.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/APP.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/MainActivity.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/ble/BleClientActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/ble/BleClientActivity.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/ble/BleDevAdapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/ble/BleDevAdapter.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/ble/BleServerActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/ble/BleServerActivity.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/bt/BtBase.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/bt/BtBase.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/bt/BtClient.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/bt/BtClient.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/bt/BtClientActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/bt/BtClientActivity.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/bt/BtDevAdapter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/bt/BtDevAdapter.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/bt/BtServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/bt/BtServer.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/bt/BtServerActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/bt/BtServerActivity.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/util/BtReceiver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/util/BtReceiver.java -------------------------------------------------------------------------------- /app/src/main/java/win/lioil/bluetooth/util/Util.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/java/win/lioil/bluetooth/util/Util.java -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/divider.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/drawable/divider.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/sel_item.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/drawable/sel_item.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/stroke.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/drawable/stroke.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_bleclient.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/layout/activity_bleclient.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_bleserver.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/layout/activity_bleserver.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_btclient.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/layout/activity_btclient.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_btserver.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/layout/activity_btserver.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/item_dev.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/layout/item_dev.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_send.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/layout/layout_send.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/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/lioilwin/Bluetooth/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/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_descriptor.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/main/res/xml/backup_descriptor.xml -------------------------------------------------------------------------------- /app/src/test/java/win/lioil/bluetooth/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/app/src/test/java/win/lioil/bluetooth/ExampleUnitTest.java -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/gradlew.bat -------------------------------------------------------------------------------- /png/ble_client.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/png/ble_client.png -------------------------------------------------------------------------------- /png/ble_server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/png/ble_server.png -------------------------------------------------------------------------------- /png/bt_client.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/png/bt_client.png -------------------------------------------------------------------------------- /png/bt_server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lioilwin/Bluetooth/HEAD/png/bt_server.png -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------