登录
首页 » Java » MyGatt

MyGatt

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

  • finalassignment
    android 移动应用系统设计 1、最后提交两部分内容 a. 对一个功能的实现+实验报告(该项作为平时作业成绩) - 可以选择上课中所演示的任意功能,截图完成实验报告 - 需要提交程序 + 3-5页的实验报告 b. 从以下网址下载一个app源码,或者其它地方的源码,对代码进行详细解析(该项作为期末课程考核成绩) - 推荐下载网址为:http://www.devstore.cn/code/list/pn1-or0.html - 需要提交下载的源码,和对该源码实现的分析报告,不少于8页 2、将所有内容按下面两个目录进行存放,打包以“学号+姓名” 命名,上传到作业ftp - 实验 - 课程综合(android mobile application system design 1, the final submission of two parts a test report achieve+ a function (such as the usual job performance)- You can any function demonstrated in class, theme complete test report- to be submitted program+ Experimental report b 3-5 pages downloaded the following URL an app source code, or elsewhere source, detailed analysis of the code (such as the end of course examination results)- Recommended download site at: http: //www.devstore .cn/code/list/pn1-or0.html- to submit to download the source code, and analysis of the source code to achieve, at least 8 2, all the content stored in the following two directories, packed to " learn No.+ name " name, upload to job ftp- Experiment- Integrated Course)
    2015-11-17 10:36:12下载
    积分:1
  • JAVa后台管理界面
    JAVa后台管理界面JAVa后台管理界面JAVa后台管理界面JAVa后台管理界面JAVa后台管理界面
    2022-10-11 22:15:03下载
    积分:1
  • demo.voice_recognition
    科大讯飞的语音开发包,可以在android下进行语音识别产品的开发!(IFLYTEK MSC development guide, instruct users under ANDROID speech recognition product development.)
    2013-08-18 20:16:55下载
    积分:1
  • face
    说明:  实现人脸拍照,人脸登录,新增个体,删除个体,新增人脸,删除人脸,自动抓拍,自动识别等技术的一个人脸识别系统。(Realize face photography, face login, new individuals, delete individuals, new faces, delete faces, automatic capture, automatic recognition and other technologies.)
    2020-06-22 09:20:02下载
    积分:1
  • 超市管理系统
    package untitled5; import java.io.*; import java.net.*; import java.sql.*; import java.lang.*; import javax.sql.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import com.borland.jbcl.layout.*; public class delbook extends JFrame {  JPanel contentPane;  XYLayout xYLayout1 = new XYLayout();  JLabel jLabel1 = new JLabel();  JLabel jLabel2 = new JLabel();  JLabel jLabel3 = new JLabel();  JTextField jTextField1 = new JTextField();  JLabel jLabel4 = new JLabel();  JTextField jTextField2 = new JTextField();
    2022-01-22 06:32:22下载
    积分:1
  • Java 程序来找到的左和右对角线元素总和
    这是一个 java 程序来找到左和右对角线元素的总和。 此项目帮助学生和教师具有的计算字段矩阵操作。
    2022-05-27 05:47:32下载
    积分:1
  • 安卓 zexlistview 实例源码下载
    安卓 zexlistview 实例源码下载
    2015-02-08下载
    积分:1
  • game-engin
    java平台上一些专门为android编写的游戏引擎代码,非常适合新手练习!简单易懂,代码可读性强!(some of the java platform written specifically for android game engine code, very suitable for novices to practice! Easy to understand, code readability!)
    2014-01-13 23:04:50下载
    积分:1
  • Java小游戏
    应用背景首先我们在init()方法中加载所有游戏必要的资源,包括声音,鼠标事件的监听、背景等相关设置。利用addBomb()方法增加bomb的数量、初始位置及初始化颜色。再利用start()启动线程关键技术线程调用run()方法,处理炸弹下降运动down()。Repaint()会在每一个单位时间调用paint()方法不断的刷新屏幕,paint()调用Bomb.addBomb()绘制炸弹。当游戏者按下鼠标,mousePress()事件激活,判断是否点中了炸弹。如果点中addScore()自动加1分。如果没有点中炸弹,炸弹继续下降,当撞到屏幕wasHitEarth()方法激活,其内调用death()方法,减少Denfenser.life生命点,同时audio.play()处理声音的播放,用以提示游戏者
    2022-01-26 07:13:40下载
    积分:1
  • (高仿)今日头条 网易 新闻客户端 源码 完善版
    已经是一个完整的客户端了,在将进一步优化完善后就和可以了。大体描述: 上次,已经完成了头部新闻分类栏目的拖动效果。 这篇文章是继续去完善APP 今日头条 这个新闻阅读器的其他功能。 这次所实现的功能清单: 1.通过SlidingMenu实现左右侧拉菜单效果 2.通过重写CompoundButton实现--昼夜模式切换按钮效果。 3.通过PopupWindow控件实现了列表中更多菜单弹框操作效果。 4.通过universal-image-loader库实现了图片的加载和缓存。 5.通过列表中各个属性的判断,实现了头条新闻列表的相应布局和显示效果。
    2014-11-19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载