MyGatt

所属分类:android开发
开发工具:Java
文件大小:1440KB
下载次数:6
上传日期:2018-02-07 11:55:52
上 传 者CocoNo1
说明:  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.)

文件列表:
MyGatt\.classpath (475, 2018-02-07)
MyGatt\.project (842, 2018-01-30)
MyGatt\.settings\org.eclipse.jdt.core.prefs (177, 2018-01-30)
MyGatt\AndroidManifest.xml (1827, 2018-02-07)
MyGatt\bin\AndroidManifest.xml (1827, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChat$1.class (1374, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChat$2.class (2818, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChat$3.class (1164, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChat.class (8788, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChatService$AcceptThread.class (3354, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChatService$ConnectedThread.class (2824, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChatService$ConnectThread.class (3151, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BluetoothChatService.class (6391, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\BuildConfig.class (345, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\DeviceListActivity$1.class (1995, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\DeviceListActivity$2.class (2279, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\DeviceListActivity$3.class (880, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\DeviceListActivity.class (5269, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\MainActivity$1.class (1264, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\MainActivity.class (2439, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$attr.class (340, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$dimen.class (461, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$drawable.class (407, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$id.class (808, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$layout.class (532, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$menu.class (423, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$string.class (1123, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R$style.class (431, 2018-02-07)
MyGatt\bin\classes\com\android\mygatt\R.class (673, 2018-02-07)
MyGatt\bin\classes.dex (714536, 2018-02-07)
MyGatt\bin\dexedLibs\android-support-v4-e7ee1212d609a52cff37084f80573dca.jar (232610, 2018-02-07)
MyGatt\bin\jarlist.cache (120, 2018-02-07)
MyGatt\bin\MyGatt.apk (291072, 2018-02-07)
MyGatt\bin\res\crunch\drawable-hdpi\ic_launcher.png (5964, 2018-02-07)
MyGatt\bin\res\crunch\drawable-mdpi\ic_launcher.png (3112, 2018-02-07)
MyGatt\bin\res\crunch\drawable-xhdpi\ic_launcher.png (9355, 2018-02-07)
MyGatt\bin\res\crunch\drawable-xxhdpi\ic_launcher.png (17889, 2018-02-07)
MyGatt\bin\resources.ap_ (45162, 2018-02-07)
MyGatt\gen\com\android\mygatt\BuildConfig.java (160, 2018-02-07)
MyGatt\gen\com\android\mygatt\R.java (3967, 2018-02-07)
... ...

近期下载者

相关文件


收藏者