登录
首页 » Java » MyGatt

MyGatt

于 2018-02-07 发布 文件大小:1440KB
0 137
下载积分: 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 个回复

  • 150个经典java例子
    有150个java经典小程序 适合Java初学者  有各种算法的讲解  有新区的同学下来看看                                                                                                                                                                                 
    2022-10-25 19:45:05下载
    积分:1
  • Android-memory-manage-
    非常好,非常棒,非常不错的android内存管理。(android memory manage)
    2013-10-09 07:41:43下载
    积分:1
  • 网上书城
    网上书城,加入购物车,买卖书,结账。黑马小项目。适合开发(Online bookstore, add shopping cart, buy and sell books, check out. Black Horse Small Project. Suitable for development)
    2020-06-20 06:20:01下载
    积分:1
  • RainCMS
    说明:  e4a易安卓app后台管理源码,可生成卡密,可用于登入和注册用户(E4A easy Android app background management source code, can generate a card, can be used to log in and register users)
    2020-06-22 08:20:01下载
    积分:1
  • CreatePulleyJoint
    滑轮关节,Android开发精典案例源码,很好的参考资料。(The pulley joint, Android development of classical case of source code, a good reference.)
    2013-11-12 00:14:46下载
    积分:1
  • 网上购物系统(jsp+mysql+tomcat) (1)
    简介:网上购物系统(jsp+mysql+tomcat) (1),网上购物系统(jsp+mysql+tomcat) (1),+实现购物最新跟新,后台数据跟新到前台,实现购物车放入个人购物车,实现付款方式,利用ssh2编写
    2022-08-16 14:40:02下载
    积分:1
  • 五子棋代码
    基  本  实   现    了   五   子  棋   的   的   功   能   有  很   好  的  习  效   果  能   够 完整的复习javase
    2023-03-14 11:55:03下载
    积分:1
  • google NavigationDrawer demo
    这个是google的抽屉界面的实例代码,可以直接使用,很有参考价值
    2013-11-05下载
    积分:1
  • android uvcCamera
    【实例简介】usb camera的连接使用
    2021-07-17 00:32:04下载
    积分:1
  • android 底部tab切换 例子代码
    android 底部tab切换 例子代码
    2020-12-16 16:29:12下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载