<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>蓝牙 on 领风沐雨</title><link>https://blog.zdltech.com/tags/%E8%93%9D%E7%89%99/</link><description>Recent content in 蓝牙 on 领风沐雨</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sat, 25 Feb 2017 14:29:47 +0000</lastBuildDate><atom:link href="https://blog.zdltech.com/tags/%E8%93%9D%E7%89%99/index.xml" rel="self" type="application/rss+xml"/><item><title>Android 蓝牙4.0 BLE 理解</title><link>https://blog.zdltech.com/posts/android-%E8%93%9D%E7%89%994-0-ble-%E7%90%86%E8%A7%A3/</link><pubDate>Sat, 25 Feb 2017 14:29:47 +0000</pubDate><guid>https://blog.zdltech.com/posts/android-%E8%93%9D%E7%89%994-0-ble-%E7%90%86%E8%A7%A3/</guid><description>转载自： 本文简单结合两篇文章 在BLE协议中，有两个角色，周边（Periphery）和中央（Central），一个中央可以同时连接多个周边，但是一个周边某一时刻只能连接一个中央。但是不管是Periphery还是Central都是可以实现 GATT server 和 GATT client去传输数据...</description></item><item><title>【Android】自定义控件让TextView的drawableLeft与文本一起居中显示</title><link>https://blog.zdltech.com/posts/android%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8E%A7%E4%BB%B6%E8%AE%A9textview%E7%9A%84drawableleft%E4%B8%8E%E6%96%87%E6%9C%AC%E4%B8%80%E8%B5%B7%E5%B1%85%E4%B8%AD%E6%98%BE%E7%A4%BA/</link><pubDate>Tue, 19 Jul 2016 07:35:37 +0000</pubDate><guid>https://blog.zdltech.com/posts/android%E8%87%AA%E5%AE%9A%E4%B9%89%E6%8E%A7%E4%BB%B6%E8%AE%A9textview%E7%9A%84drawableleft%E4%B8%8E%E6%96%87%E6%9C%AC%E4%B8%80%E8%B5%B7%E5%B1%85%E4%B8%AD%E6%98%BE%E7%A4%BA/</guid><description>**前言** TextView的drawableLeft、drawableRight和drawableTop是一个常用、好用的属性，可以在文本的上下左右放置一个图片，而不使用更加复杂布局就能达到，我也常常喜欢用RadioButton的这几个属性实现很多效果，但是苦于不支持让drawbleLeft与文...</description></item><item><title>java中byte与 int、short、char、float、double之间的转换</title><link>https://blog.zdltech.com/posts/java%E4%B8%ADbyte%E4%B8%8E-intshortcharfloatdouble%E4%B9%8B%E9%97%B4%E7%9A%84%E8%BD%AC%E6%8D%A2/</link><pubDate>Mon, 30 Mar 2015 03:44:56 +0000</pubDate><guid>https://blog.zdltech.com/posts/java%E4%B8%ADbyte%E4%B8%8E-intshortcharfloatdouble%E4%B9%8B%E9%97%B4%E7%9A%84%E8%BD%AC%E6%8D%A2/</guid><description>由于java的字节序和网络字节序一致（高位在前），给出换算方法，亲测OK public static void main(String[] args) { byte[] bs=new byte[2]; short dvalue=1; Utils.putShort(bs, dvalue, 0); fo...</description></item><item><title>android蓝牙</title><link>https://blog.zdltech.com/posts/android%E8%93%9D%E7%89%99/</link><pubDate>Wed, 04 Feb 2015 06:29:49 +0000</pubDate><guid>https://blog.zdltech.com/posts/android%E8%93%9D%E7%89%99/</guid><description>http://wenku.baidu.com/link?url=lAOm\_kIF29t-JGoUnKAFSY4BhMP6vv-Cvfx9x1\_oVSTZ1QDMm6URT7fhRR8ODX7aBVSX8ffOD0LnI-TX4PaRTqzXPWwJdOhBNXMu0lg214O http://w...</description></item><item><title>蓝牙BLE 4.0提供的服务名称列表</title><link>https://blog.zdltech.com/posts/%E8%93%9D%E7%89%99%E6%8F%90%E4%BE%9B%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%90%8D%E7%A7%B0%E5%88%97%E8%A1%A8/</link><pubDate>Wed, 04 Feb 2015 06:15:17 +0000</pubDate><guid>https://blog.zdltech.com/posts/%E8%93%9D%E7%89%99%E6%8F%90%E4%BE%9B%E7%9A%84%E6%9C%8D%E5%8A%A1%E5%90%8D%E7%A7%B0%E5%88%97%E8%A1%A8/</guid><description>**保健设备配置文件** **https://www.bluetooth.org/zh-cn/specification/assigned-numbers/health-device-profile** ** ** ** ** ** D/BluetoothGatt(790): onGetServic...</description></item><item><title>Android4.3 蓝牙BLE初步</title><link>https://blog.zdltech.com/posts/android4-3-%E8%93%9D%E7%89%99ble%E5%88%9D%E6%AD%A5/</link><pubDate>Tue, 27 Jan 2015 07:23:40 +0000</pubDate><guid>https://blog.zdltech.com/posts/android4-3-%E8%93%9D%E7%89%99ble%E5%88%9D%E6%AD%A5/</guid><description>### 一、关键概念： **Generic Attribute Profile (GATT)** 通过BLE连接，读写属性类小数据的Profile通用规范。现在所有的BLE应用Profile都是基于GATT的。 **Attribute Protocol (ATT)** GATT是基于ATT Prot...</description></item><item><title>android 蓝牙</title><link>https://blog.zdltech.com/posts/android-%E8%93%9D%E7%89%99/</link><pubDate>Mon, 26 Jan 2015 06:09:44 +0000</pubDate><guid>https://blog.zdltech.com/posts/android-%E8%93%9D%E7%89%99/</guid><description>android平台包含了蓝牙网络协议栈的支持，允许android设备与其他蓝牙设备相互传输数据。应用层框架提供了API函数来访问蓝牙模块。使用这些API可以让应用程序连接其他蓝牙设备，实现点对点或多点无线传输。 运用蓝牙API，可以实现以下功能： 搜索其他蓝牙设备 查询本地蓝牙适配器中已经配对好的设...</description></item><item><title>file_get_contents()获取https出现这个错误Unable to find the wrapper “https” – did</title><link>https://blog.zdltech.com/posts/file_get_contents%E8%8E%B7%E5%8F%96https%E5%87%BA%E7%8E%B0%E8%BF%99%E4%B8%AA%E9%94%99%E8%AF%AFunable-to-find-the-wrapper-https-did/</link><pubDate>Mon, 15 Sep 2014 09:51:16 +0000</pubDate><guid>https://blog.zdltech.com/posts/file_get_contents%E8%8E%B7%E5%8F%96https%E5%87%BA%E7%8E%B0%E8%BF%99%E4%B8%AA%E9%94%99%E8%AF%AFunable-to-find-the-wrapper-https-did/</guid><description>例如你的原路径是 http://localhost/test/index.php/index/add那么现在的地址是 http://localhost/test/index/add如何去掉index.php呢?1.httpd.conf配置文件中加载了mod_rewrite.so模块 //在APACH...</description></item></channel></rss>