├── AndroidStudioSample ├── app │ ├── .gitignore │ ├── libs │ │ ├── BRTSDK_5.1.0.jar │ │ └── commons-codec-1.8.jar │ ├── src │ │ └── main │ │ │ ├── res │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── styles.xml │ │ │ │ └── strings.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── menu │ │ │ │ ├── characteristic.xml │ │ │ │ ├── device_menu.xml │ │ │ │ ├── sample_main.xml │ │ │ │ ├── device_adjust.xml │ │ │ │ ├── device_config.xml │ │ │ │ ├── device_monitor.xml │ │ │ │ ├── device_simulate.xml │ │ │ │ ├── main.xml │ │ │ │ └── gatt_services.xml │ │ │ └── layout │ │ │ │ ├── dialog_parameter_list.xml │ │ │ │ ├── activity_device_menu.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── actionbar_indeterminate_progress.xml │ │ │ │ ├── activity_device_scan.xml │ │ │ │ ├── activity_device_scan_v2.xml │ │ │ │ ├── listitem_device.xml │ │ │ │ ├── activity_sample_main.xml │ │ │ │ ├── activity_device_adjust.xml │ │ │ │ ├── gatt_services_characteristics.xml │ │ │ │ ├── activity_device_monitor.xml │ │ │ │ ├── activity_characteristic.xml │ │ │ │ ├── item_device_info.xml │ │ │ │ ├── activity_gatt_services_characteristics.xml │ │ │ │ ├── activity_device_simulate.xml │ │ │ │ └── activity_test_config.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── brtbeacon │ │ │ │ └── sdk │ │ │ │ └── demo │ │ │ │ ├── DeviceMenuActivity.java │ │ │ │ ├── BleApplication.java │ │ │ │ ├── adapter │ │ │ │ ├── BeaconViewAdapter.java │ │ │ │ └── BeaconViewHolder.java │ │ │ │ ├── ParameterInfo.java │ │ │ │ ├── ParameterListDialogFragment.java │ │ │ │ ├── DeviceMonitorActivity.java │ │ │ │ ├── SampleMainActivity.java │ │ │ │ ├── DeviceScanActivityV2.java │ │ │ │ ├── DeviceSimulateActivity.java │ │ │ │ └── DeviceScanActivity.java │ │ │ └── AndroidManifest.xml │ ├── proguard-rules.pro │ └── build.gradle ├── settings.gradle ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── .gitignore ├── .idea │ ├── modules.xml │ ├── gradle.xml │ └── misc.xml ├── build.gradle ├── gradle.properties ├── gradlew.bat └── gradlew ├── doc ├── package-list ├── script.js ├── overview-frame.html ├── com │ └── brtbeacon │ │ └── sdk │ │ ├── callback │ │ ├── package-frame.html │ │ ├── package-tree.html │ │ └── package-summary.html │ │ ├── package-frame.html │ │ └── package-tree.html ├── index.html ├── allclasses-noframe.html ├── deprecated-list.html ├── allclasses-frame.html ├── overview-summary.html ├── index-files │ ├── index-10.html │ ├── index-11.html │ ├── index-6.html │ ├── index-8.html │ ├── index-5.html │ ├── index-13.html │ └── index-18.html └── help-doc.html ├── BRTSDK_5.1.0.jar ├── 智石科技Beacon扫描SDK集成说明.pdf └── README.md /AndroidStudioSample/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /AndroidStudioSample/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /doc/package-list: -------------------------------------------------------------------------------- 1 | com.brtbeacon.sdk 2 | com.brtbeacon.sdk.callback 3 | -------------------------------------------------------------------------------- /BRTSDK_5.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/BRTSDK_5.1.0.jar -------------------------------------------------------------------------------- /智石科技Beacon扫描SDK集成说明.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/智石科技Beacon扫描SDK集成说明.pdf -------------------------------------------------------------------------------- /AndroidStudioSample/app/libs/BRTSDK_5.1.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/libs/BRTSDK_5.1.0.jar -------------------------------------------------------------------------------- /AndroidStudioSample/app/libs/commons-codec-1.8.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/libs/commons-codec-1.8.jar -------------------------------------------------------------------------------- /AndroidStudioSample/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/BrightBeacon/BrightBeacon_Android_SDK/HEAD/AndroidStudioSample/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /AndroidStudioSample/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | .idea 11 | gradle 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | 7 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /AndroidStudioSample/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Dec 28 15:06:56 CST 2018 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-all.zip 7 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 64dp 9 | 10 | 11 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/menu/characteristic.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/menu/device_menu.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/menu/sample_main.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/menu/device_adjust.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/menu/device_config.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/menu/device_monitor.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/menu/device_simulate.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/layout/dialog_parameter_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/layout/activity_device_menu.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /AndroidStudioSample/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | google() 6 | jcenter() 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:7.1.3' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | google() 19 | jcenter() 20 | } 21 | } 22 | 23 | task clean(type: Delete) { 24 | delete rootProject.buildDir 25 | } 26 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\android\android-sdks/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /AndroidStudioSample/.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 20 | 21 | -------------------------------------------------------------------------------- /AndroidStudioSample/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | android.enableJetifier=true 13 | android.useAndroidX=true 14 | org.gradle.jvmargs=-Xmx1024m 15 | 16 | # When configured, Gradle will run in incubating parallel mode. 17 | # This option should only be used with decoupled projects. More details, visit 18 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 19 | # org.gradle.parallel=true 20 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /doc/script.js: -------------------------------------------------------------------------------- 1 | function show(type) 2 | { 3 | count = 0; 4 | for (var key in methods) { 5 | var row = document.getElementById(key); 6 | if ((methods[key] & type) != 0) { 7 | row.style.display = ''; 8 | row.className = (count++ % 2) ? rowColor : altColor; 9 | } 10 | else 11 | row.style.display = 'none'; 12 | } 13 | updateTabs(type); 14 | } 15 | 16 | function updateTabs(type) 17 | { 18 | for (var value in tabs) { 19 | var sNode = document.getElementById(tabs[value][0]); 20 | var spanNode = sNode.firstChild; 21 | if (value == type) { 22 | sNode.className = activeTableTab; 23 | spanNode.innerHTML = tabs[value][1]; 24 | } 25 | else { 26 | sNode.className = tableTab; 27 | spanNode.innerHTML = "" + tabs[value][1] + ""; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /doc/overview-frame.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 概览列表 8 | 9 | 10 | 11 | 12 | 13 |
所有类
14 |
15 |

程序包

16 | 20 |
21 |

 

22 | 23 | 24 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/layout/actionbar_indeterminate_progress.xml: -------------------------------------------------------------------------------- 1 | 16 | 20 | 23 | 24 | -------------------------------------------------------------------------------- /AndroidStudioSample/app/src/main/res/layout/activity_device_scan.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 19 | 20 | 21 | 22 |