登录
首页 » Java » MyGatt

MyGatt

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

  • Servlet
    A simple servlet program that transforms the arabic numbers into romans and the romans from arabic
    2012-06-09 17:37:14下载
    积分:1
  • desine联系编辑
    该项目使你成为好的gui desiner,在你了解想要学习它,将有助于更好的克服desining问题
    2022-02-05 10:35:56下载
    积分:1
  • 后台模板
    后台模板
    2015-04-22下载
    积分:1
  • celp 编码解码器
    脚本运行的 CELP 编码解码器: 16 kbps CELP & 9.6 kbps CELPclc,明确 ;在当前文件夹中创建的 WAV 文件。加载 handel . mathfile = "handel。wav" ;wav 写  (y, Fs, hfile)clear y Fs;
    2022-01-27 21:46:08下载
    积分:1
  • bbs
    一个简单的论坛系统,包含用户注册,浏览,发表帖子,后台管理。还包含一个自己写的标签库(A simple forum system, including user registration, browse, publish posts, backstage management. Also contains a tag library to write their own)
    2014-03-14 09:20:53下载
    积分:1
  • 安卓蓝牙通信参考源码
    资源描述基于安卓的蓝牙通信开发参考例程源码
    2022-09-07 03:00:03下载
    积分:1
  • java实现录音效果
    java完成录音机以及音频保存功能 通过调用java sound类,经过简单的修改可以放在web网站上使用
    2022-03-02 20:18:24下载
    积分:1
  • 音乐网站源码
    是一个简单的音乐网站,前台可以收藏专辑,可以上传和下载音乐。导入elipse即可。修改musicsrcconn .java中的数据库连接用户名密码。SQL文件在DATABASE中 
    2022-03-30 19:13:07下载
    积分:1
  • 二进制搜索
    n 计算机科学、 二进制搜索或半区间搜索算法发现指定输入值 (搜索"钥匙") 按关键值排序的数组中的位置。[] 1[2] 为二进制搜索数组应安排在升序或降序排序。在每个步骤中,算法将数组的中间元素的键值搜索关键值进行比较。如果密钥匹配,然后已找到匹配的元素,并返回其索引或位置。否则为如果搜索键小于中间 element 键,则该算法重复中间元素的子数组向左其行动或者,如果搜索键较大,向右子阵列上。如果要搜索的剩余的数组为空,然后不能在数组中找到的键,并返回一个特别的"未找到"的征兆。
    2022-02-20 13:26:33下载
    积分:1
  • 循迹
    两路光电开关驱动,2019电赛A组,测试程序(Two-way Photoelectric Switch Drive, Group A of 2019 Electricity Competition, Test Procedure)
    2020-06-17 16:40:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载