登录
首页 » Java » MyGatt

MyGatt

于 2018-02-07 发布 文件大小:1440KB
0 100
下载积分: 1 下载次数: 3

代码说明:

  BLE开发所需要的知识,通过官方demo,我们会发现很多service,点击service后,每个service下面是Characteristic,每个service和Characteristic都对应一个唯一的UUID。所以,在做BLE时候,首先你应该找出你的蓝牙外围设备uuid,不然会很头疼,这个UUID也可能是硬件给你的,也可以你自己试出来,当然自己试出来是个很烦的过程。自己试的方法就是根据demo,加上一份读写的协议,然后,排着点击,显示出来的蓝牙列表进行测试,看是否和协议对应。另外,BluetoothLeService类不用做太多的更改。(BLE develops the knowledge we need. Through official demo, we will find many service. After clicking service, every service is Characteristic, each service and Characteristic correspond to a unique UUID. So, when making BLE, first you should find out your Bluetooth peripheral device UUID, otherwise it will be very headache. This UUID may also be hardware for you, or you can try it out yourself, of course, trying out it yourself is a very boring process. The way to do it is to add a read and write protocol based on demo,then test the Bluetooth list displayed by clicking on it to see if it corresponds to the protocol. In addition, the BluetoothLeService class does not have to make too many changes.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码
    资源描述分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码分享SprinMVC+Hibernate+Maven+Mysql+Shiro整合完认证授权源码
    2023-02-19 17:50:03下载
    积分:1
  • 讀取簡訊
    讀取簡訊
    2014-01-25下载
    积分:1
  • android拼图游戏源码
    应用背景 一个android的拼图游戏源码 写的一个简单的小游戏 希望大家会喜欢 关键技术 第一次写的时候还有个小bug 就是图片打乱是随便打乱的 这样游戏就有二分之一的可能无法还原 这个版本已经修复
    2022-06-20 13:09:38下载
    积分:1
  • autojs支付宝自动偷能量
    autojs支付宝自动偷能量
    2020-11-04下载
    积分:1
  • 你好世界安卓应用为新用户
    资源描述 ;有你描述的代码,请使用“插入代码”按钮并选择插入代码的编程语言。这将使你的源代码美丽和吸引力。P
    2022-01-28 08:23:00下载
    积分:1
  • 萤火虫算法
    应用背景萤火虫算法是一种基于元启发式的调度方法。它可以实现的任何NP-难的问题,并已实施到目前为止,资源调度。它是由鑫她杨在2007年底和2008开发,这是基于闪光模式和行为睁大眼。关键技术爪哇是面向对象编程的爪哇和许多云模拟器是爪哇编程为基础的。因此,我已经开发了一个Java代码,这将有助于在任何云仿真器CloudSim CloudAnalyst都一样。
    2022-02-07 01:56:50下载
    积分:1
  • 幼教软件,帮助孩子认识动物
    幼教软件,帮助孩子认识动物java, 接口 ,继承,toString,多态
    2022-04-16 05:20:25下载
    积分:1
  • blog
    (转载)简单的个人博客功能,有前,后端。上传日记,文章等功能((Reprint ) Simple personal blog features, front and back. Upload diary, articles and other functions)
    2019-06-09 21:39:01下载
    积分:1
  • AystnPicture
    图片同步上传法,内有仔细的标注,利于读者学习(Image sync upload method, with annotations carefully, good for readers to learn)
    2013-10-14 23:37:21下载
    积分:1
  • bookstore完整的JSP应用项目
    本系统是一个完整的JSP应用项目,合适有初步JSP编程经验的朋友们提高和学习之用。软件开发主要是思路和结构,本系统对这方面可能有参考作用。本系统含全套源码,合适朋友们在此基础上举一反三结合实际开发出优秀的JSP应用系统。欢迎朋友们指正、批评。
    2022-01-26 19:43:45下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载