Bluetooth相关

关于android4.3 bluetooth4.0的那些事儿

//这个带  源码。

Android 蓝牙开发(二)Ble 开发(android4.3)

关于android官方提供的BluetoothChat源码连接不上蓝牙适配器的问题

手把手教你Android手机与BLE终端通信--连接,发送和接收数据

android蓝牙开发---与蓝牙模块进行通信

android 蓝牙编程重点---如何发送和接收16进制数据


UUID相当于Socket的端口,而蓝牙地址相当于Socket的IP。

http://blog.csdn.net/liuyu973971883/article/details/52495054

发送数据

注意要延时,保证单片机能收到数据。

for(byte b : bytes) {

out.write(b);

Thread.sleep(10);

}


接收数据

int count = 0;

while(count == 0) {

count=in.available();

}

byte[] bytes =new byte[count];

int readCount = 0;//已经成功读取的字节的个数

while(readCount < readCount) {

readCount+= in.read(bytes, readCount, count -readCount); 

}


Android BLE基础框架使用详解

STC89C52单片机通过HC-06蓝牙模块与Android手机通信

http://blog.csdn.net/itas109/article/details/8963383

android蓝牙串口通讯

https://my.oschina.net/oldfeel/blog/181388


------靠谱,仔细看。

Android低功耗蓝牙的那点事儿

http://lowett.com/2017/03/23/android-bluetooth/

手机蓝牙与单片机的通信如何实现?

https://www.zhihu.com/question/36850460

Android蓝牙串口连接总结

http://blog.csdn.net/cwcwj3069/article/details/45723257

单片机如何与手机通信,即实现 单片机+蓝牙模块-》手机蓝牙模块-》手机上应用程序 ?

https://www.zhihu.com/question/20135315

Android 上的低功耗蓝牙实践-----仔细看这个

https://www.race604.com/android-ble-in-action/

Android中经典蓝牙与低功耗蓝牙的简单对比分析

http://www.loverobots.cn/the-analysis-is-simple-compared-with-the-classic-bluetooth-and-bluetooth-low-energy-in-android.html

Android蓝牙:发现、配对、连接

http://www.forecheng.com/2017/01/14/Android%E8%93%9D%E7%89%99%EF%BC%9A%E6%89%AB%E6%8F%8F%E3%80%81%E9%85%8D%E5%AF%B9%E3%80%81%E8%BF%9E%E6%8E%A5/

android开发之手机与单片机蓝牙模块通信

http://blog.csdn.net/jason0539/article/details/17880071


关于蓝牙服务对应的UUID码

http://blog.csdn.net/zf_c_cqupt/article/details/52177723


Android与蓝牙串口模块通信

这是Android官方文档的说明,如果是连接蓝牙串口模块使用通用的uuid 00001101-0000-1000-8000-00805F9B34FB,如果是Android手机间的通信链接,可以使用生成的uuid,客服端和服务端的uuid必须相同,下面通过蓝牙串口助手读取回来的UUID,下面是我的蓝牙串口模块的UUID。


Android Bluetooth Low Energy 基础

http://www.jianshu.com/p/11fdef8db0b4

Android-低功耗蓝牙BLE(Bluetooth Low Energy)开发-----翻译

http://blog.csdn.net/u010378579/article/details/60781382

Android Bluetooth Low Energy(Android低功耗蓝牙)-----翻译

http://blog.csdn.net/qinxiandiqi/article/details/40741269

----很全-------------

Android BLE 蓝牙开发入门

http://www.jianshu.com/p/3a372af38103

https://github.com/xiaoyaoyou1212/BluetoothChat

http://blog.csdn.net/xiaoyaoyou1212

轻松搞定Android蓝牙4.0(Bluetooth Low Energy)

https://yanlu.me/android-bluetooth-low-energy/

Android 蓝牙设备通讯的开发(配对/连接/传输数据)

http://blog.csdn.net/qq_30552993/article/details/51491104

http://www.ccgp.gov.cn/cggg/dfgg/xjgg/201608/t20160811_7171401.htm

Android蓝牙4.0的数据通讯

http://blog.csdn.net/caihuajian235/article/details/40888671

App 和设备通过蓝牙连接收发数据

Android经典项目开发实战 PDF 下载

http://www.java1234.com/a/javabook/andriod/2016/1208/7243.html

对Android蓝牙UUID的理解

http://dxjia.cn/2016/01/29/android-bluetooth-uuid/


https://www.google.com/search?q=%E8%93%9D%E7%89%99%E8%AE%BE%E5%A4%87%E4%B8%AD%E9%9C%80%E8%A6%81%E4%BD%BF%E7%94%A8%E7%9A%84%E6%9C%8D%E5%8A%A1%E7%9A%84UUID&oq=%E8%93%9D%E7%89%99%E8%AE%BE%E5%A4%87%E4%B8%AD%E9%9C%80%E8%A6%81%E4%BD%BF%E7%94%A8%E7%9A%84%E6%9C%8D%E5%8A%A1%E7%9A%84UUID&aqs=chrome..69i57.2687473j0j4&sourceid=chrome&ie=UTF-8

[蓝牙] 1、蓝牙核心技术了解(蓝牙协议、架构、硬件和软件笔记)

http://www.cnblogs.com/zjutlitao/p/4742428.html

----------------------------------------------------------------


Java中怎么将数据封装成XML格式

http://blog.csdn.net/lanxingfeifei/article/details/50619357

java中json数据格式的应用

http://www.voidcn.com/article/p-penamnmz-hk.html

Android : XML文件的生成与解析

http://www.iamxiarui.com/2016/03/19/android-xml%E6%96%87%E4%BB%B6%E7%9A%84%E7%94%9F%E6%88%90%E4%B8%8E%E8%A7%A3%E6%9E%90/

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容