├── .gitignore ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle.kts ├── proguard-rules.pro ├── release │ ├── app-release.apk │ ├── baselineProfiles │ │ ├── 0 │ │ │ └── app-release.dm │ │ └── 1 │ │ │ └── app-release.dm │ └── output-metadata.json └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── peripheral │ │ └── bledevice │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── mnh │ │ │ └── bledevicescanner │ │ │ ├── BleScannerApplication.kt │ │ │ └── ui │ │ │ ├── main │ │ │ └── MainActivity.kt │ │ │ └── navigation │ │ │ └── Navigation.kt │ └── res │ │ ├── drawable │ │ ├── bg_black_rounded.xml │ │ ├── ic_launcher_background.xml │ │ └── ic_launcher_foreground.xml │ │ ├── layout │ │ └── activity_home.xml │ │ ├── mipmap-anydpi-v26 │ │ ├── ic_launcher.xml │ │ └── ic_launcher_round.xml │ │ ├── mipmap-hdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-ldpi │ │ └── ic_launcher.png │ │ ├── mipmap-mdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── mipmap-xxxhdpi │ │ ├── ic_launcher.png │ │ ├── ic_launcher_foreground.png │ │ └── ic_launcher_round.png │ │ ├── values-land │ │ └── dimens.xml │ │ ├── values-night │ │ └── themes.xml │ │ ├── values-v23 │ │ └── themes.xml │ │ ├── values-w1240dp │ │ └── dimens.xml │ │ ├── values-w600dp │ │ └── dimens.xml │ │ ├── values │ │ ├── colors.xml │ │ ├── dimens.xml │ │ ├── ic_launcher_background.xml │ │ ├── strings.xml │ │ └── themes.xml │ │ └── xml │ │ ├── backup_rules.xml │ │ └── data_extraction_rules.xml │ └── test │ └── java │ └── com │ └── peripheral │ └── bledevice │ └── ExampleUnitTest.kt ├── ble ├── .gitignore ├── build.gradle.kts ├── consumer-rules.pro ├── proguard-rules.pro └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── mnh │ │ └── ble │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── mnh │ │ └── ble │ │ ├── bluetooth │ │ ├── bleconnection │ │ │ ├── BLEGattClient.kt │ │ │ ├── BleConnectionManager.kt │ │ │ └── BleConnectionManagerImpl.kt │ │ └── blescanner │ │ │ ├── BleScanner.kt │ │ │ └── BleScannerImpl.kt │ │ └── di │ │ └── BluetoothModule.kt │ └── test │ └── java │ └── com │ └── mnh │ └── ble │ ├── BLEConnectionManagerTest.kt │ ├── BLEGattClientTest.kt │ ├── BluetoothScannerImplTest.kt │ └── FakeBLEGattClient.kt ├── core ├── ui │ ├── .gitignore │ ├── build.gradle.kts │ ├── consumer-rules.pro │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── lightnotebook │ │ │ └── core │ │ │ └── ui │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── mnh │ │ │ └── bledevicescanner │ │ │ └── core │ │ │ └── theme │ │ │ ├── Color.kt │ │ │ ├── Theme.kt │ │ │ └── Type.kt │ │ └── test │ │ └── java │ │ └── com │ │ └── lightnotebook │ │ └── core │ │ └── ui │ │ └── ExampleUnitTest.kt └── utils │ ├── .gitignore │ ├── build.gradle.kts │ ├── consumer-rules.pro │ ├── proguard-rules.pro │ └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── napco │ │ └── utils │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ ├── java │ │ └── com │ │ │ └── napco │ │ │ └── utils │ │ │ ├── Constants.kt │ │ │ ├── DataState.kt │ │ │ ├── PermissionManager.kt │ │ │ ├── Screen.kt │ │ │ ├── Utility.kt │ │ │ └── model │ │ │ └── DeviceDetails.kt │ └── res │ │ ├── bg_black_rounded.xml │ │ ├── ic_launcher_background.xml │ │ └── ic_launcher_foreground.xml │ └── test │ └── java │ └── com │ └── napco │ └── utils │ └── ExampleUnitTest.kt ├── features ├── device-details │ ├── .gitignore │ ├── build.gradle.kts │ ├── consumer-rules.pro │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── mnh │ │ │ └── features │ │ │ └── details │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── mnh │ │ │ │ └── blescanner │ │ │ │ └── devicedetails │ │ │ │ ├── DetailsViewModel.kt │ │ │ │ ├── ServiceDetailsScreen.kt │ │ │ │ ├── di │ │ │ │ └── DeviceDetailsModule.kt │ │ │ │ ├── repository │ │ │ │ ├── DeviceDetailsRepository.kt │ │ │ │ └── DeviceDetailsRepositoryImpl.kt │ │ │ │ └── usecase │ │ │ │ └── DeviceDetailsUseCase.kt │ │ └── res │ │ │ └── drawable │ │ │ └── ic_arrow_right.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── mnh │ │ └── features │ │ └── details │ │ └── ExampleUnitTest.kt ├── device-list │ ├── .gitignore │ ├── build.gradle.kts │ ├── consumer-rules.pro │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── mnh │ │ │ └── features │ │ │ └── home │ │ │ └── ExampleInstrumentedTest.kt │ │ ├── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── mnh │ │ │ └── blescanner │ │ │ └── devicelist │ │ │ ├── DeviceListScreen.kt │ │ │ ├── DeviceListViewModel.kt │ │ │ ├── di │ │ │ └── DeviceListModule.kt │ │ │ ├── repository │ │ │ ├── DeviceListRepository.kt │ │ │ └── DeviceListRepositoryImpl.kt │ │ │ └── usecase │ │ │ └── BleUseCase.kt │ │ └── test │ │ └── java │ │ └── com │ │ └── mnh │ │ └── features │ │ └── home │ │ └── ExampleUnitTest.kt └── device-operation │ ├── .gitignore │ ├── build.gradle.kts │ ├── consumer-rules.pro │ ├── proguard-rules.pro │ └── src │ ├── androidTest │ └── java │ │ └── com │ │ └── mnh │ │ └── blescanner │ │ └── deviceoperation │ │ └── ExampleInstrumentedTest.kt │ ├── main │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── mnh │ │ └── blescanner │ │ └── deviceoperation │ │ ├── DeviceOperationScreen.kt │ │ ├── DeviceOperationViewModel.kt │ │ ├── di │ │ └── DeviceOperationModule.kt │ │ ├── respository │ │ ├── DeviceOperationRepository.kt │ │ └── DeviceOperationRepositoryImpl.kt │ │ └── usecase │ │ └── DeviceOperationUseCase.kt │ └── test │ └── java │ └── com │ └── mnh │ └── blescanner │ └── deviceoperation │ ├── DeviceOperationViewModelTest.kt │ └── FakeDeviceOperationRepository.kt ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle.kts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /app/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/build.gradle.kts -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/proguard-rules.pro -------------------------------------------------------------------------------- /app/release/app-release.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/release/app-release.apk -------------------------------------------------------------------------------- /app/release/baselineProfiles/0/app-release.dm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/release/baselineProfiles/0/app-release.dm -------------------------------------------------------------------------------- /app/release/baselineProfiles/1/app-release.dm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/release/baselineProfiles/1/app-release.dm -------------------------------------------------------------------------------- /app/release/output-metadata.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/release/output-metadata.json -------------------------------------------------------------------------------- /app/src/androidTest/java/com/peripheral/bledevice/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/androidTest/java/com/peripheral/bledevice/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /app/src/main/java/com/mnh/bledevicescanner/BleScannerApplication.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/java/com/mnh/bledevicescanner/BleScannerApplication.kt -------------------------------------------------------------------------------- /app/src/main/java/com/mnh/bledevicescanner/ui/main/MainActivity.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/java/com/mnh/bledevicescanner/ui/main/MainActivity.kt -------------------------------------------------------------------------------- /app/src/main/java/com/mnh/bledevicescanner/ui/navigation/Navigation.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/java/com/mnh/bledevicescanner/ui/navigation/Navigation.kt -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_black_rounded.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/drawable/bg_black_rounded.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/drawable/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_home.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/layout/activity_home.xml -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/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/mnhmasum/ble-device-scanner/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/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/values-land/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values-land/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values-night/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values-night/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values-v23/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values-v23/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/values-w1240dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values-w1240dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values-w600dp/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values-w600dp/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values/dimens.xml -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values/ic_launcher_background.xml -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/values/themes.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/backup_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/xml/backup_rules.xml -------------------------------------------------------------------------------- /app/src/main/res/xml/data_extraction_rules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/main/res/xml/data_extraction_rules.xml -------------------------------------------------------------------------------- /app/src/test/java/com/peripheral/bledevice/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/app/src/test/java/com/peripheral/bledevice/ExampleUnitTest.kt -------------------------------------------------------------------------------- /ble/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /ble/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/build.gradle.kts -------------------------------------------------------------------------------- /ble/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ble/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/proguard-rules.pro -------------------------------------------------------------------------------- /ble/src/androidTest/java/com/mnh/ble/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/androidTest/java/com/mnh/ble/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /ble/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /ble/src/main/java/com/mnh/ble/bluetooth/bleconnection/BLEGattClient.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/main/java/com/mnh/ble/bluetooth/bleconnection/BLEGattClient.kt -------------------------------------------------------------------------------- /ble/src/main/java/com/mnh/ble/bluetooth/bleconnection/BleConnectionManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/main/java/com/mnh/ble/bluetooth/bleconnection/BleConnectionManager.kt -------------------------------------------------------------------------------- /ble/src/main/java/com/mnh/ble/bluetooth/bleconnection/BleConnectionManagerImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/main/java/com/mnh/ble/bluetooth/bleconnection/BleConnectionManagerImpl.kt -------------------------------------------------------------------------------- /ble/src/main/java/com/mnh/ble/bluetooth/blescanner/BleScanner.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/main/java/com/mnh/ble/bluetooth/blescanner/BleScanner.kt -------------------------------------------------------------------------------- /ble/src/main/java/com/mnh/ble/bluetooth/blescanner/BleScannerImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/main/java/com/mnh/ble/bluetooth/blescanner/BleScannerImpl.kt -------------------------------------------------------------------------------- /ble/src/main/java/com/mnh/ble/di/BluetoothModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/main/java/com/mnh/ble/di/BluetoothModule.kt -------------------------------------------------------------------------------- /ble/src/test/java/com/mnh/ble/BLEConnectionManagerTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/test/java/com/mnh/ble/BLEConnectionManagerTest.kt -------------------------------------------------------------------------------- /ble/src/test/java/com/mnh/ble/BLEGattClientTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/test/java/com/mnh/ble/BLEGattClientTest.kt -------------------------------------------------------------------------------- /ble/src/test/java/com/mnh/ble/BluetoothScannerImplTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/test/java/com/mnh/ble/BluetoothScannerImplTest.kt -------------------------------------------------------------------------------- /ble/src/test/java/com/mnh/ble/FakeBLEGattClient.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/ble/src/test/java/com/mnh/ble/FakeBLEGattClient.kt -------------------------------------------------------------------------------- /core/ui/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /core/ui/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/build.gradle.kts -------------------------------------------------------------------------------- /core/ui/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/ui/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/proguard-rules.pro -------------------------------------------------------------------------------- /core/ui/src/androidTest/java/com/lightnotebook/core/ui/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/src/androidTest/java/com/lightnotebook/core/ui/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /core/ui/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /core/ui/src/main/java/com/mnh/bledevicescanner/core/theme/Color.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/src/main/java/com/mnh/bledevicescanner/core/theme/Color.kt -------------------------------------------------------------------------------- /core/ui/src/main/java/com/mnh/bledevicescanner/core/theme/Theme.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/src/main/java/com/mnh/bledevicescanner/core/theme/Theme.kt -------------------------------------------------------------------------------- /core/ui/src/main/java/com/mnh/bledevicescanner/core/theme/Type.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/src/main/java/com/mnh/bledevicescanner/core/theme/Type.kt -------------------------------------------------------------------------------- /core/ui/src/test/java/com/lightnotebook/core/ui/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/ui/src/test/java/com/lightnotebook/core/ui/ExampleUnitTest.kt -------------------------------------------------------------------------------- /core/utils/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /core/utils/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/build.gradle.kts -------------------------------------------------------------------------------- /core/utils/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/utils/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/proguard-rules.pro -------------------------------------------------------------------------------- /core/utils/src/androidTest/java/com/napco/utils/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/androidTest/java/com/napco/utils/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /core/utils/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /core/utils/src/main/java/com/napco/utils/Constants.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/java/com/napco/utils/Constants.kt -------------------------------------------------------------------------------- /core/utils/src/main/java/com/napco/utils/DataState.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/java/com/napco/utils/DataState.kt -------------------------------------------------------------------------------- /core/utils/src/main/java/com/napco/utils/PermissionManager.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/java/com/napco/utils/PermissionManager.kt -------------------------------------------------------------------------------- /core/utils/src/main/java/com/napco/utils/Screen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/java/com/napco/utils/Screen.kt -------------------------------------------------------------------------------- /core/utils/src/main/java/com/napco/utils/Utility.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/java/com/napco/utils/Utility.kt -------------------------------------------------------------------------------- /core/utils/src/main/java/com/napco/utils/model/DeviceDetails.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/java/com/napco/utils/model/DeviceDetails.kt -------------------------------------------------------------------------------- /core/utils/src/main/res/bg_black_rounded.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/res/bg_black_rounded.xml -------------------------------------------------------------------------------- /core/utils/src/main/res/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/res/ic_launcher_background.xml -------------------------------------------------------------------------------- /core/utils/src/main/res/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/main/res/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /core/utils/src/test/java/com/napco/utils/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/core/utils/src/test/java/com/napco/utils/ExampleUnitTest.kt -------------------------------------------------------------------------------- /features/device-details/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /features/device-details/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/build.gradle.kts -------------------------------------------------------------------------------- /features/device-details/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /features/device-details/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/proguard-rules.pro -------------------------------------------------------------------------------- /features/device-details/src/androidTest/java/com/mnh/features/details/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/androidTest/java/com/mnh/features/details/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /features/device-details/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /features/device-details/src/main/java/com/mnh/blescanner/devicedetails/DetailsViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/java/com/mnh/blescanner/devicedetails/DetailsViewModel.kt -------------------------------------------------------------------------------- /features/device-details/src/main/java/com/mnh/blescanner/devicedetails/ServiceDetailsScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/java/com/mnh/blescanner/devicedetails/ServiceDetailsScreen.kt -------------------------------------------------------------------------------- /features/device-details/src/main/java/com/mnh/blescanner/devicedetails/di/DeviceDetailsModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/java/com/mnh/blescanner/devicedetails/di/DeviceDetailsModule.kt -------------------------------------------------------------------------------- /features/device-details/src/main/java/com/mnh/blescanner/devicedetails/repository/DeviceDetailsRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/java/com/mnh/blescanner/devicedetails/repository/DeviceDetailsRepository.kt -------------------------------------------------------------------------------- /features/device-details/src/main/java/com/mnh/blescanner/devicedetails/repository/DeviceDetailsRepositoryImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/java/com/mnh/blescanner/devicedetails/repository/DeviceDetailsRepositoryImpl.kt -------------------------------------------------------------------------------- /features/device-details/src/main/java/com/mnh/blescanner/devicedetails/usecase/DeviceDetailsUseCase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/java/com/mnh/blescanner/devicedetails/usecase/DeviceDetailsUseCase.kt -------------------------------------------------------------------------------- /features/device-details/src/main/res/drawable/ic_arrow_right.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/main/res/drawable/ic_arrow_right.xml -------------------------------------------------------------------------------- /features/device-details/src/test/java/com/mnh/features/details/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-details/src/test/java/com/mnh/features/details/ExampleUnitTest.kt -------------------------------------------------------------------------------- /features/device-list/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /features/device-list/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/build.gradle.kts -------------------------------------------------------------------------------- /features/device-list/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /features/device-list/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/proguard-rules.pro -------------------------------------------------------------------------------- /features/device-list/src/androidTest/java/com/mnh/features/home/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/androidTest/java/com/mnh/features/home/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /features/device-list/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /features/device-list/src/main/java/com/mnh/blescanner/devicelist/DeviceListScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/main/java/com/mnh/blescanner/devicelist/DeviceListScreen.kt -------------------------------------------------------------------------------- /features/device-list/src/main/java/com/mnh/blescanner/devicelist/DeviceListViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/main/java/com/mnh/blescanner/devicelist/DeviceListViewModel.kt -------------------------------------------------------------------------------- /features/device-list/src/main/java/com/mnh/blescanner/devicelist/di/DeviceListModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/main/java/com/mnh/blescanner/devicelist/di/DeviceListModule.kt -------------------------------------------------------------------------------- /features/device-list/src/main/java/com/mnh/blescanner/devicelist/repository/DeviceListRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/main/java/com/mnh/blescanner/devicelist/repository/DeviceListRepository.kt -------------------------------------------------------------------------------- /features/device-list/src/main/java/com/mnh/blescanner/devicelist/repository/DeviceListRepositoryImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/main/java/com/mnh/blescanner/devicelist/repository/DeviceListRepositoryImpl.kt -------------------------------------------------------------------------------- /features/device-list/src/main/java/com/mnh/blescanner/devicelist/usecase/BleUseCase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/main/java/com/mnh/blescanner/devicelist/usecase/BleUseCase.kt -------------------------------------------------------------------------------- /features/device-list/src/test/java/com/mnh/features/home/ExampleUnitTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-list/src/test/java/com/mnh/features/home/ExampleUnitTest.kt -------------------------------------------------------------------------------- /features/device-operation/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /features/device-operation/build.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/build.gradle.kts -------------------------------------------------------------------------------- /features/device-operation/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /features/device-operation/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/proguard-rules.pro -------------------------------------------------------------------------------- /features/device-operation/src/androidTest/java/com/mnh/blescanner/deviceoperation/ExampleInstrumentedTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/androidTest/java/com/mnh/blescanner/deviceoperation/ExampleInstrumentedTest.kt -------------------------------------------------------------------------------- /features/device-operation/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/DeviceOperationScreen.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/DeviceOperationScreen.kt -------------------------------------------------------------------------------- /features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/DeviceOperationViewModel.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/DeviceOperationViewModel.kt -------------------------------------------------------------------------------- /features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/di/DeviceOperationModule.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/di/DeviceOperationModule.kt -------------------------------------------------------------------------------- /features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/respository/DeviceOperationRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/respository/DeviceOperationRepository.kt -------------------------------------------------------------------------------- /features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/respository/DeviceOperationRepositoryImpl.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/respository/DeviceOperationRepositoryImpl.kt -------------------------------------------------------------------------------- /features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/usecase/DeviceOperationUseCase.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/main/java/com/mnh/blescanner/deviceoperation/usecase/DeviceOperationUseCase.kt -------------------------------------------------------------------------------- /features/device-operation/src/test/java/com/mnh/blescanner/deviceoperation/DeviceOperationViewModelTest.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/test/java/com/mnh/blescanner/deviceoperation/DeviceOperationViewModelTest.kt -------------------------------------------------------------------------------- /features/device-operation/src/test/java/com/mnh/blescanner/deviceoperation/FakeDeviceOperationRepository.kt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/features/device-operation/src/test/java/com/mnh/blescanner/deviceoperation/FakeDeviceOperationRepository.kt -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/gradle.properties -------------------------------------------------------------------------------- /gradle/libs.versions.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/gradle/libs.versions.toml -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/gradlew.bat -------------------------------------------------------------------------------- /settings.gradle.kts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mnhmasum/ble-device-scanner/HEAD/settings.gradle.kts --------------------------------------------------------------------------------