android 透传app,android蓝牙4.0透传功能

【实例简介】

主要是完成对蓝牙的操作,完成蓝牙的连接,发送数据,接受数据,实现和蓝牙的交互

【实例截图】

【核心代码】

JDY-10资料

└── JDY-10资料

├── APP透传源码

│   └── BluetoothLeGatt

│   ├── AndroidManifest.xml

│   ├── bin

│   │   ├── AndroidManifest.xml

│   │   ├── classes

│   │   │   └── com

│   │   │   └── example

│   │   │   └── bluetooth

│   │   │   └── le

│   │   │   ├── BluetoothLeService$1.class

│   │   │   ├── BluetoothLeService$LocalBinder.class

│   │   │   ├── BluetoothLeService.class

│   │   │   ├── BuildConfig.class

│   │   │   ├── DeviceControlActivity$1.class

│   │   │   ├── DeviceControlActivity$2.class

│   │   │   ├── DeviceControlActivity$3.class

│   │   │   ├── DeviceControlActivity$4.class

│   │   │   ├── DeviceControlActivity$5.class

│   │   │   ├── DeviceControlActivity$6.class

│   │   │   ├── DeviceControlActivity$7.class

│   │   │   ├── DeviceControlActivity.class

│   │   │   ├── DeviceScanActivity$1$1.class

│   │   │   ├── DeviceScanActivity$1.class

│   │   │   ├── DeviceScanActivity$2.class

│   │   │   ├── DeviceScanActivity$3.class

│   │   │   ├── DeviceScanActivity$DeviceListAdapter.class

│   │   │   ├── DeviceScanActivity$ViewHolder.class

│   │   │   ├── DeviceScanActivity.class

│   │   │   ├── R$attr.class

│   │   │   ├── R$drawable.class

│   │   │   ├── R$id.class

│   │   │   ├── R$layout.class

│   │   │   ├── R$menu.class

│   │   │   ├── R$string.class

│   │   │   ├── R.class

│   │   │   └── SampleGattAttributes.class

│   │   ├── classes.dex

│   │   ├── DeviceScanActivity.apk

│   │   ├── dexedLibs

│   │   │   └── Service-a4fb5442c538161ddf9e0cb375a20430.jar

│   │   ├── jarlist.cache

│   │   ├── res

│   │   │   └── crunch

│   │   │   ├── drawable-hdpi

│   │   │   │   ├── ic_launcher1.png

│   │   │   │   └── ic_launcher.png

│   │   │   ├── drawable-ldpi

│   │   │   │   └── ic_launcher.png

│   │   │   ├── drawable-mdpi

│   │   │   │   ├── ic_launcher1.png

│   │   │   │   └── ic_launcher.png

│   │   │   ├── drawable-xhdpi

│   │   │   │   └── ic_launcher.png

│   │   │   └── drawable-xxhdpi

│   │   │   ├── ic_launcher1.png

│   │   │   └── ic_launcher.png

│   │   └── resources.ap_

│   ├── BluetoothLeGatt.iml

│   ├── BluetoothLeGattSample

│   │   ├── BluetoothLeGattSample.iml

│   │   ├── build

│   │   │   ├── apk

│   │   │   │   └── BLE_DEMO.apk

│   │   │   ├── classes

│   │   │   │   └── debug

│   │   │   │   └── com

│   │   │   │   └── example

│   │   │   │   └── android

│   │   │   │   └── bluetoothlegatt

│   │   │   │   ├── BluetoothLeService$1.class

│   │   │   │   ├── BluetoothLeService$LocalBinder.class

│   │   │   │   ├── BluetoothLeService.class

│   │   │   │   ├── BuildConfig.class

│   │   │   │   ├── DeviceControlActivity$1.class

│   │   │   │   ├── DeviceControlActivity$2.class

│   │   │   │   ├── DeviceControlActivity$3$1.class

│   │   │   │   ├── DeviceControlActivity$3$2.class

│   │   │   │   ├── DeviceControlActivity$3.class

│   │   │   │   ├── DeviceControlActivity$4.class

│   │   │   │   ├── DeviceControlActivity.class

│   │   │   │   ├── DeviceScanActivity$1.class

│   │   │   │   ├── DeviceScanActivity$2$1.class

│   │   │   │   ├── DeviceScanActivity$2.class

│   │   │   │   ├── DeviceScanActivity$LeDeviceListAdapter.class

│   │   │   │   ├── DeviceScanActivity$ViewHolder.class

│   │   │   │   ├── DeviceScanActivity.class

│   │   │   │   ├── R$attr.class

│   │   │   │   ├── R$dimen.class

│   │   │   │   ├── R$drawable.class

│   │   │   │   ├── R$id.class

│   │   │   │   ├── R$layout.class

│   │   │   │   ├── R$menu.class

│   │   │   │   ├── R$string.class

│   │   │   │   ├── R$style.class

│   │   │   │   ├── R.class

│   │   │   │   └── SampleGattAttributes.class

│   │   │   ├── incremental

│   │   │   │   ├── aidl

│   │   │   │   │   └── debug

│   │   │   │   │   ├── dependency.store

│   │   │   │   │   ├── inputs.data

│   │   │   │   │   └── outputs.data

│   │   │   │   ├── dex

│   │   │   │   │   └── debug

│   │   │   │   │   ├── inputs.data

│   │   │   │   │   └── outputs.data

│   │   │   │   ├── mergeAssets

│   │   │   │   │   └── debug

│   │   │   │   │   ├── inputs.data

│   │   │   │   │   ├── merger.xml

│   │   │   │   │   └── outputs.data

│   │   │   │   └── mergeResources

│   │   │   │   └── debug

│   │   │   │   ├── inputs.data

│   │   │   │   ├── merger.xml

│   │   │   │   └── outputs.data

│   │   │   ├── libs

│   │   │   │   ├── BluetoothLeGattSample-debug.ap_

│   │   │   │   └── BluetoothLeGattSample-debug.dex

│   │   │   ├── manifests

│   │   │   │   └── debug

│   │   │   │   └── AndroidManifest.xml

│   │   │   ├── res

│   │   │   │   └── all

│   │   │   │   └── debug

│   │   │   │   ├── drawable-hdpi

│   │   │   │   │   ├── ic_launcher.png

│   │   │   │   │   └── tile.9.png

│   │   │   │   ├── drawable-mdpi

│   │   │   │   │   └── ic_launcher.png

│   │   │   │   ├── drawable-xhdpi

│   │   │   │   │   └── ic_launcher.png

│   │   │   │   ├── drawable-xxhdpi

│   │   │   │   │   └── ic_launcher.png

│   │   │   │   ├── layout

│   │   │   │   │   ├── actionbar_indeterminate_progress.xml

│   │   │   │   │   ├── activity_main.xml

│   │   │   │   │   ├── dialog.xml

│   │   │   │   │   ├── gatt_services_characteristics.xml

│   │   │   │   │   └── listitem_device.xml

│   │   │   │   ├── menu

│   │   │   │   │   ├── gatt_services.xml

│   │   │   │   │   └── main.xml

│   │   │   │   ├── values

│   │   │   │   │   └── values.xml

│   │   │   │   └── values-sw600dp

│   │   │   │   └── values.xml

│   │   │   └── source

│   │   │   ├── buildConfig

│   │   │   │   └── debug

│   │   │   │   └── com

│   │   │   │   └── example

│   │   │   │   └── android

│   │   │   │   └── bluetoothlegatt

│   │   │   │   └── BuildConfig.java

│   │   │   └── r

│   │   │   └── debug

│   │   │   └── com

│   │   │   └── example

│   │   │   └── android

│   │   │   └── bluetoothlegatt

│   │   │   └── R.java

│   │   ├── build.gradle

│   │   └── src

│   │   └── main

│   │   ├── AndroidManifest.xml

│   │   ├── java

│   │   │   └── com

│   │   │   └── example

│   │   │   └── android

│   │   │   └── bluetoothlegatt

│   │   │   ├── BluetoothLeService.java

│   │   │   ├── DeviceControlActivity.java

│   │   │   ├── DeviceScanActivity.java

│   │   │   └── SampleGattAttributes.java

│   │   └── res

│   │   ├── drawable-hdpi

│   │   │   ├── ic_launcher.png

│   │   │   └── tile.9.png

│   │   ├── drawable-mdpi

│   │   │   └── ic_launcher.png

│   │   ├── drawable-xhdpi

│   │   │   └── ic_launcher.png

│   │   ├── drawable-xxhdpi

│   │   │   └── ic_launcher.png

│   │   ├── layout

│   │   │   ├── actionbar_indeterminate_progress.xml

│   │   │   ├── activity_main.xml

│   │   │   ├── dialog.xml

│   │   │   ├── gatt_services_characteristics.xml

│   │   │   └── listitem_device.xml

│   │   ├── menu

│   │   │   ├── gatt_services.xml

│   │   │   └── main.xml

│   │   ├── values

│   │   │   ├── base-strings.xml

│   │   │   ├── strings.xml

│   │   │   ├── template-dimens.xml

│   │   │   └── template-styles.xml

│   │   └── values-sw600dp

│   │   ├── template-dimens.xml

│   │   └── template-styles.xml

│   ├── build.gradle

│   ├── gen

│   │   └── com

│   │   └── example

│   │   └── bluetooth

│   │   └── le

│   │   ├── BuildConfig.java

│   │   └── R.java

│   ├── gradle

│   │   └── wrapper

│   │   ├── gradle-wrapper.jar

│   │   └── gradle-wrapper.properties

│   ├── gradlew

│   ├── gradlew.bat

│   ├── lint.xml

│   ├── local.properties

│   ├── project.properties

│   ├── README.txt

│   ├── res

│   │   ├── drawable-hdpi

│   │   │   ├── ic_launcher1.png

│   │   │   └── ic_launcher.png

│   │   ├── drawable-ldpi

│   │   │   └── ic_launcher.png

│   │   ├── drawable-mdpi

│   │   │   ├── ic_launcher1.png

│   │   │   └── ic_launcher.png

│   │   ├── drawable-xhdpi

│   │   │   └── ic_launcher.png

│   │   ├── drawable-xxhdpi

│   │   │   ├── ic_launcher1.png

│   │   │   └── ic_launcher.png

│   │   ├── layout

│   │   │   ├── actionbar_indeterminate_progress.xml

│   │   │   ├── activity_main.xml

│   │   │   ├── gatt_services_characteristics.xml

│   │   │   └── listitem_device.xml

│   │   ├── menu

│   │   │   ├── gatt_services.xml

│   │   │   └── main.xml

│   │   └── values

│   │   └── strings.xml

│   ├── settings.gradle

│   └── src

│   └── com

│   └── example

│   └── bluetooth

│   └── le

│   ├── BluetoothLeService.java

│   ├── DeviceControlActivity.java

│   ├── DeviceScanActivity.java

│   └── SampleGattAttributes.java

├── JDY-08透传.apk

├── JDY-10(PCB封装.LIB

├── JDY-10蓝牙4.0模块V1.8.doc

├── 串口调试助手.exe

└── 串口调试助手.ini

99 directories, 162 files

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值