登录
首页 » Java » MyGatt

MyGatt

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

  • psopt-SourceCode
    PSOpt is a program to demonstrate the optimization process of particle swarm optimization. A two-dimensional objective function is visualized by levels of grey: the lighter the color, the higher the function value. The particles are shown as red circles, their trajectory as red lines. The global memory (best point found up to now by the whole swarm) is shown as a blue cross-hair, the local memory (best points found by each of the particles) as small blue crosses. To run the program, first choose one of the example functions, then create a particle swarm, and finally start the optimization.
    2015-03-23 14:06:17下载
    积分:1
  • dwr简单聊天代码
    资源描述简单的DWR入门案例,可以制作聊天室和,私人聊天,用过DWR的推送方式,调用js的代码,实现实时聊天
    2022-11-24 17:30:03下载
    积分:1
  • Android应用源码之androidGPS及WIFI基站定位坐标源码.rar
    【实例简介】
    2021-09-07 00:31:13下载
    积分:1
  • QR_CodeScan
    将蓝牙地址做成二维码,手机扫码直接蓝牙连接。(Make Bluetooth address into two-dimensional code, scan code and connect directly with Bluetooth.)
    2020-06-21 17:40:01下载
    积分:1
  • 创建登录页项目
    应用背景如果我们输入电子邮件标识和密码,然后点击提交登录页面显示关键技术用 技术;Java servlet SQL数据库的我,,和HTML页面
    2023-03-26 12:10:03下载
    积分:1
  • android_google_map
    GPS位置回放,GPS轨迹追踪等功能 android系统(GPS )
    2020-09-19 16:17:52下载
    积分:1
  • android 视频录制 例子源码
    录像例子
    2014-11-21下载
    积分:1
  • wifi语音对讲
    实现局域网内语音对讲发送文字
    2013-06-29下载
    积分:1
  • 基于博弈树的一字棋程序
    本一字棋程序采用java实现,使用人工智能中的博弈树,使用极大极小过程进行博弈树的搜索,其中可以人工设置搜索的深度。
    2022-05-27 20:30:58下载
    积分:1
  • 文档管理
    java 实现文件管理,此工程为完整的eclipse工程,用户导入就可以进行运行,包括文件目录、上传和下载管理
    2022-03-24 07:51:44下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载