登录
首页 » Java » MyGatt

MyGatt

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

  • java聊天系统
    c/s、tcp/ip、私聊、群聊、在线好友列表、登陆界面。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
    2022-06-29 23:46:10下载
    积分:1
  • JAVA版小游戏 之 贪吃蛇
    资源描述欢迎使用“Rabbit团队”开发的首款游戏软件       “贪吃蛇”——JAVA-1.0正式版           ------简称“RTA1.0版”------ “RTA1.0”是“Rabbit团队”首款JAVA版小型游戏 “贪吃蛇”,现初级版本只提供在JDK平台使用。  游戏基本操作:  1、方向键“↑(上)↓(下)←(左)→(右)”或 字母键“W(上)S(下)A(左)D(右)”  2、“空格键 或 P键”暂停,“R键”重启 “RTA1.0”的使用和介绍:    一、“RTA1.0”设置了三个主菜单,分别为"游戏"、"难度"和"帮助"    二、"游戏"菜单下的子菜单用于控制游戏的基本运行以及退出功能    三、"速度"菜单下的子菜单用于控制游戏的难度,分四个等级:"慢速"、 "中速"、"高速"和"极限"    四、"关于"菜单中提供了帮助和关于,"帮助"子菜单中介绍了游戏的基本 运行操作和快捷键的使用,"介绍"子菜单中介绍了软件的基本内容概括, "关于"子菜单中介绍了软件简介    五、“RTA1.0”界面中分数规则,与移动改变方向的次数(m)和速度(s) 两个元素有关,吃一个食物最低10分 计算公式:score = (11309 - 321 * m) / s  *_*  说明:“RTA1.0”版本中的“排行榜“菜单尚未完成,   但不影响 软件的使用,请用户放心使用其他菜单  *_*
    2022-01-28 08:44:42下载
    积分:1
  • 电车电池管理系统
      这是一个电车电池管理系统。每天有电池数量,每当有车发出时通过估算其运行距离和运行时间进行电池的动态分布,如果有车回来设置30分钟的充电时间,然后进行电池的再利用登记。当电池数量达到一定范围时发出提示,进行电池的补充
    2022-05-01 02:53:23下载
    积分:1
  • FallScreenBrower
    android上实现的一个简单的浏览器,全屏浏览器,初学者可参考开发(android on the implementation of a simple browser, full-screen browser, beginners can refer to the development)
    2011-12-12 11:33:39下载
    积分:1
  • rEGISTRANT
    notify Registrant Source Code for Andriod.
    2013-12-30 19:26:28下载
    积分:1
  • 利用MATLAB进行弹道仿真源代码
    不可多得的导弹仿真源程序 非常的经典 绝对不会后悔
    2020-05-25下载
    积分:1
  • pubu
    Android项目源码带瀑布流的旅游指南应用是一款旅游型的APP,是旅游目的地攻略指南,可以自动定位到城市,景点,餐馆,酒店,还可以分享旅游经验,与参与者互动。该项目的架构合理,有详细的注解,其中引入了第三方的瀑布流项目,以源代码的形式直接加入,很好的学习材料。默认使用UTF-8编码,编译版本为4.3(The Android project source code with a waterfall flow guide application is app a type of tourism, tourism destination strategy guide, can automatically locate the city, attractions, restaurants, hotels, can also share travel experiences, to interact with the participants. The framework of the project is reasonable, there are detailed notes, which introduces the third side of the waterfall flow project, in the form of source code to join, a good learning materials. The default use of UTF-8 code, the compiler version is 4.3)
    2020-12-27 16:59:03下载
    积分:1
  • 安卓计算器
    应用背景这是一个安卓的计算器代码,以及,和,和,和;关键技术基于爪哇的安卓编码。它是有用的为Android初学者;
    2022-02-07 13:28:14下载
    积分:1
  • 视频聊天源码
    视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码视频聊天源码
    2022-01-22 10:38:41下载
    积分:1
  • Hospital Management
    Java中的Vb项目
    2022-07-13 23:49:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载