蓝牙BLE4.0接收广播App

上传者: agg_bin | 上传时间: 2021-05-07 11:26:12 | 文件大小: 208KB | 文件类型: ZIP
蓝牙BLE4.0接收广播App,手机模拟BLE设备的话可以通过我的另一个下载——手机模拟BLE设备发送广播App. 这两个App可以完成2台Android手机,通过BLE4.0进行通信,可以发送和接收数据。 其中一台Android手机T模拟发出广播,作为BLE设备(周边设备),这个BLE设备在生产环境中就是我们用到的气体检测传感器、智能手环、体重秤、血压计等等; 另一台Android手机B,作为中央设备,搜索手机T发出的广播并连接; 手机B可以接收手机T的数据,也可以发送数据给手机T; 当然手机T也可以通过通知发送数据给手机B。

文件下载

资源详情

[{"title":"( 59 个子文件 208KB ) 蓝牙BLE4.0接收广播App","children":[{"title":"BLEReceive","children":[{"title":".gitignore <span style='color:#111;'> 147B </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.43KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"local.properties <span style='color:#111;'> 426B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"BLEDemo.iml <span style='color:#111;'> 861B </span>","children":null,"spread":false},{"title":"BLEReceive.iml <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":".gitignore <span style='color:#111;'> 8B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"proguard-rules.pro <span style='color:#111;'> 772B </span>","children":null,"spread":false},{"title":"app.iml <span style='color:#111;'> 12.61KB </span>","children":null,"spread":false},{"title":"libs","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"hy","children":[{"title":"com","children":[{"title":"ble","children":[{"title":"demo","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 392B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"main","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false},{"title":"java","children":[{"title":"com","children":[{"title":"hy","children":[{"title":"ble","children":[{"title":"receive","children":[{"title":"bean","children":[{"title":"BleAdvertisedData.java <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"BluetoothDeviceBean.java <span style='color:#111;'> 883B </span>","children":null,"spread":false}],"spread":false},{"title":"utils","children":[{"title":"BleUtil.java <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"RxUtils.java <span style='color:#111;'> 2.77KB </span>","children":null,"spread":false}],"spread":false},{"title":"view","children":[{"title":"activity","children":[{"title":"MainActivity.java <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"helper","children":[{"title":"BluetoothHelper.java <span style='color:#111;'> 14.56KB </span>","children":null,"spread":false}],"spread":false},{"title":"recyclerview","children":[{"title":"LeDeviceListAdapter.java <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"LeDeviceListHolder.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"base","children":[{"title":"Common.java <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"res","children":[{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 394B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 316B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 10.43KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"recycler_view_devices.xml <span style='color:#111;'> 460B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-v24","children":[{"title":"ic_launcher_foreground.xml <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-anydpi-v26","children":[{"title":"ic_launcher.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false},{"title":"ic_launcher_round.xml <span style='color:#111;'> 276B </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 6.93KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 4.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-hdpi","children":[{"title":"activity_home_story_search_bg.png <span style='color:#111;'> 1.65KB </span>","children":null,"spread":false},{"title":"activity_home_story_search_bg_browsinghistory.png <span style='color:#111;'> 1.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-hdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 4.91KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.98KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable","children":[{"title":"et_round_bg_search.xml <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"ic_launcher_background.xml <span style='color:#111;'> 5.64KB </span>","children":null,"spread":false},{"title":"select_device.xml <span style='color:#111;'> 291B </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-mdpi","children":[{"title":"activity_home_story_search_bg.png <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"activity_home_story_search_bg_browsinghistory.png <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xhdpi","children":[{"title":"activity_home_story_search_bg.png <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"activity_home_story_search_bg_browsinghistory.png <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxhdpi","children":[{"title":"activity_home_story_search_bg.png <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"activity_home_story_search_bg_browsinghistory.png <span style='color:#111;'> 3.25KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-mdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"drawable-xxxhdpi","children":[{"title":"activity_home_story_search_bg.png <span style='color:#111;'> 4.67KB </span>","children":null,"spread":false},{"title":"activity_options_off_res_manage.png <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false}],"spread":false},{"title":"mipmap-xxxhdpi","children":[{"title":"ic_launcher_round.png <span style='color:#111;'> 15.16KB </span>","children":null,"spread":false},{"title":"ic_launcher.png <span style='color:#111;'> 9.03KB </span>","children":null,"spread":false},{"title":"expression_normal.png <span style='color:#111;'> 28.83KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"androidTest","children":[{"title":"java","children":[{"title":"hy","children":[{"title":"com","children":[{"title":"ble","children":[{"title":"demo","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 740B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 739B </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 16B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • TonyZlg :
    很好的例子,对我有帮助
    2020-08-21
  • 豆豆我有病 :
    大佬们 这个文件怎么用啊
    2020-08-20
  • qq527393121 :
    能把apk文件发起下吗?
    2020-05-19
  • wfb3529 :
    刚好在研究android ble的广播接收,非常好的资源,谢谢!!
    2019-11-22
  • xiaolongguojiang :
    这个有点用哦
    2019-11-20
  • chu358177 :
    点击搜索没反应?
    2019-08-10
  • makecash1 :
    短短的的
    2019-07-16

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明