![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Bluetooth
lizzywu
努力中……
展开
-
What is Bluetooth® DUN?
Bluetooth® dial-up networking (DUN) refers to getting wireless Internet connectivity on a laptop by using a Bluetooth®-enabled cell phone. Bluetooth® DUNis a good alternative for wireles转载 2010-03-02 16:54:00 · 1205 阅读 · 0 评论 -
Manually using Bluetooth
In progress: This article or section documents one or more features whose implementation are in progress.Bluetooth is one of the core functions of the Neo1973, however it is basically unimpl转载 2012-06-14 10:32:15 · 4547 阅读 · 0 评论 -
Android Bluetooth HID实现详解
Android 关于蓝牙的部分使用的是BlueZ协议栈。但是直到目前2.3.3都没有扩展HID的profile,只是实现了最基本的Handset和d2dp的profile,所以我们的工作涉及到从应用到jni三层的修改,具体修改文件如图所示,绿色表示新建的类,橙色表示修改的类。 一. 本地层路径:framework/base/core/jni/参照Android_server_Blu转载 2012-10-22 18:50:59 · 3957 阅读 · 0 评论 -
Bluetooth sco audio是什么?
sco 是蓝牙基带的一个方式。蓝牙音频对称传输这些你应该从下面的解释中看到。蓝牙基带技术支持两种连接方式:面向连接(SCO)方式:主要用于话音传输;无连接(ACL)方式:主要用于分组数据传输。 在同一微微网中,不同的主从设备可以采用不同的连接方式,在一次通信中,连接方式可以任意改变。每一连接方式可支持16种不同的分组类型,其中控制分组有4种,是SCO和ACL通用的分组,两种转载 2012-10-24 15:52:22 · 9337 阅读 · 0 评论 -
About UUID
A Universally Unique Identifier (UUID) is a standardized 128-bit format for a string ID used to uniquely identify information. The point of a UUID is that it's big enough that you can select any rando转载 2012-10-24 17:44:43 · 963 阅读 · 0 评论 -
BlueTooth的EDR是什么
EDR 即Enhanced data rate,是蓝牙技术中增强速率的缩写,其特色是大大提高了蓝牙技术的数据传输速率,达到了2.1Mbps ,是目前蓝牙技术的三倍。因此除了可获得更稳定的音频流传送的更低的耗电量之外,还可充分利用带宽优势同时连接多个蓝牙设备。目前诸如多普达 710 等手机已经开始支持蓝牙EDR 技术。 Bluetooth2.0的规范中,EDR作为补充出现的,它正确定义了调变转载 2012-11-27 17:12:54 · 3119 阅读 · 0 评论 -
Android平台开发-Bluez function porting-蓝牙功能移植
一、Bluez编译配置支持 在BoardConfig.mk中添加: BOARD_HAVE_BLUETOOTH := true。 二、启动hciattach BlueZ核心子系统使用hciattach守护进程添加指定的硬件串口驱动。 修改init.rc来启动hciattach: service hciatt转载 2012-11-16 18:54:03 · 4497 阅读 · 3 评论 -
Android上成功实现了蓝牙的一些Profile
前段时间做蓝牙方面的开发,Google的Android只实现了Handset/Handfree和A2DP/AVRCP等Profile,而其 它常用的Profile如HID/DUN/SPP/OPP/FTP/PAN等却没有实现,并且Google方面关于何时实现也没有一个时间表。前段时间我实现了HID/DUN/SPP三个Profile,下一步实现OPP/FTP等Profile。具体的开发其实也简转载 2012-11-21 20:57:36 · 14827 阅读 · 12 评论 -
理解和使用蓝牙BlueZ中的FTP与PBAP协议
目录(?)[-]相关说明相关网站资源工作环境基本工作原理代码框架大致工作流程Server端启动流程Client端调用流程具体使用方法PBAP相关函数接口的使用作者:刘旭晖 Raymond转载请注明出处Email:colorant@163.comBLOG:http://blog.csdn.net/colorant/主页:转载 2012-11-21 19:59:33 · 2132 阅读 · 1 评论 -
Android Framework architecture -- bluez(2)
Bluetooth signal on成功后,要做的就是查找scan了,scan涉及到的东西,如下图: class bluetoothsetting是UI的入口,通过按button scan进入搜索状态,applicaton层调用bluetoothdevice, 接着就是bluetoothservice的调用, bluetoothservice调用native方法转载 2012-11-21 20:35:30 · 4106 阅读 · 0 评论 -
Android Framework architecture -- bluez(1)
转载请附加本文链接。 android一词的本义指“机器人”,和robot不同的是它是有AI的,那么同时google也接android这个单词,于2007年11月5日宣布推出基于Linux平台的开源手机操作系统,该平台由操作系统、中间件、用户界面和应用软件组成,号称是首个为移动终端打造的真正开放和完整的移动软件。 对于一个软件+,硬件-的我来说,android转载 2012-11-21 20:36:46 · 2548 阅读 · 0 评论 -
Difference Between Bluetooth 2.0 and Bluetooth 2.1
不知道有没有时间翻译,放到这吧。Bluetooth 2.0 vs Bluetooth 2.1Most software goes from version 1, 2, 3, and so on. WithBluetooth going from version 2.0 to 2.1, some people may consider the changes to be very转载 2012-11-22 18:33:34 · 814 阅读 · 0 评论 -
蓝牙技术新标准 Bluetooth 2.1+EDR解读
在无线网络技术大量应用的今天,蓝牙技术已经成为短距离无线应用中最为普及的一项技术。蓝牙技术主要应用于少量数据及音频传输,应用范围主要是通讯领域。目前应用最为广泛的是Bluetooth 2.0+EDR标准,该标准在2004年已经推出,支持Bluetooth 2.0+EDR标准的产品也于2006年大量出现。虽然Bluetooth 2.0+EDR标准在技术上作了大量的改进,但从1.X标准延续下来转载 2012-11-22 18:34:50 · 1665 阅读 · 0 评论 -
bluez的初始化过程
如果编译linux内核时,配置了CONFIG_BLUEZ,则linux系统执行的第一个有关bluez的函数是bluez_init(net/socket.c)调用路径main.c->init->do_basic_setup->sock_init->bluez_initint bluez_init(void){ BT_INFO(“BlueZ Core ver %s Copyri转载 2012-11-22 19:38:55 · 1591 阅读 · 0 评论 -
Android 蓝牙4.0 BLE调试
配备低功耗蓝牙的可穿戴式设备应该是未来的一大趋势。继IOS去年支持蓝牙BLE之后,Android最新的4.3版本也有了官方的支持。受软硬件限制,目前的尝试基于第三方SDK。Host端:支持蓝牙4.0的GS4手机,配合三星的蓝牙BLE开发包 http://developer.samsung.com/bleDevice端:支持蓝牙BLE的单片机CC2540,配合TI开发转载 2013-08-21 15:38:02 · 48252 阅读 · 9 评论 -
Android/Bluetooth 初始化流程
=========================Kernel Space=========================1. Board power initMACHINE_START init_machine = comet_initbt_power_initbluetooth_power2. HCI device/connection manager,转载 2012-06-14 10:15:56 · 1729 阅读 · 0 评论 -
[转]蓝牙基带数据传输机理分析
蓝牙(Bluetooth)是一种新型、开放、低成本、短距离的无线连接接技术,可取代短距离的电缆,实现话音和数据的无线传输。这种有效、廉价的无线连 接技术可以方便地将计算机及外设、移动电话、掌上电脑、信息家电等设备连接起来,在它可达到的范围内使各种信息化移动便携设备都能实现无缝资源共享,还可 通过无线局域网(WirelessLAN)与Internet连接,实现多媒体信息的无线传输。转载 2012-06-13 14:53:45 · 1863 阅读 · 0 评论 -
Android Bluetooth 总结
一、Android Bluetooth现状(1)Android2.2版 支持的蓝牙核心版本是Bluetooth 2.0 + EDR。(2)Android 的蓝牙 使用了BlueZ协议栈,但只实现了Handset/Handfree和A2DP/AVRCP等Profile。(一些常用的Profile(如HID/DUN/SPP/OPP/FTP/PAN等)在现在的Android2.2转载 2012-06-13 15:12:45 · 1529 阅读 · 0 评论 -
实战Linux Bluetooth编程(二) BlueZ简介
作者: Sam(甄峰) sam_code@hotmail.com Linux下Bluetooth协议栈的实现. Linux下开放的蓝牙协议栈主要包括IBM公司的BlueDrekar,Nokia公司的Affix, Axis公司的OpenBT和官方协议栈BlueZ。我们主要面对Bluez来探讨。 BlueZ基础代码均是由Maxim Krasnyansky完成的。包括:转载 2012-04-26 14:29:14 · 1071 阅读 · 0 评论 -
实战Linux Bluetooth编程(四) L2CAP层编程
作者:Sam (甄峰) sam_code@hotmail.com(L2CAP协议简介,L2CAP在BlueZ中的实现以及L2CAP编程接口) 一:L2CAP协议简介:Logical Link Control and Adaptation Protocol(L2CAP) 逻辑连接控制和适配协议 (L2CAP) 为上层协议提供面向连接和无连接的数据服务,转载 2012-04-26 14:40:42 · 1123 阅读 · 0 评论 -
实战Linux Bluetooth编程(五) Socket与Bluetooth
作者: Sam (甄峰) sam_code@hotmail.com Linux下Bluetooth编程,借用了Socket体制。也就是说,BlueZ Kernel部分将Bluetooth协议栈以网络协议的形式添加进网络协议栈,这样极大的方便了用户编程。下面Sam就结合Socket概念将Linux Bluetooth做个研究。 1957年10月4日,星期五,苏联发射了转载 2012-04-26 14:41:52 · 1064 阅读 · 0 评论 -
实战Linux Bluetooth编程(六) L2CAP编程实例
作者:Sam (甄峰) sam_code@hotmail.com 例一:发送Signaling Packet:Signaling Command是2个Bluetooth实体之间的L2CAP层命令传输。所以得Signaling Command使用CID 0x0001.多个Command可以在一个C-frame(control frame)中发送。Bluetoo转载 2012-04-26 14:43:31 · 1081 阅读 · 0 评论 -
实战Linux Bluetooth编程 (七) SDP协议
作者:Sam (甄峰) sam_code@hotmail.com Service Discovery Protocol(SDP)提供一种能力,让应用程序有方法发现哪种服务可用以及这种服务的特性。服务发现协议(SDP或Bluetooth SDP)在蓝牙协议栈中对蓝牙环境中的应用程序有特殊的含意,发现哪个服务是可用的和确定这些可用服务的特征。SDP定义了bluetooth cl转载 2012-04-26 14:44:14 · 1105 阅读 · 0 评论 -
实战Linux Bluetooth编程 (八) Class of Device
作者:Sam (甄峰) sam_code@hotmail.com 在设备被发现阶段,设备的Class of device被提供出来。指出此设备是何种类型,以及支持哪些服务。 回想前面HCI章节所说,Inquiry时,会返回找到的设备信息,其中包括BDADDR等。其中dev_class字段就是Class of Device. typ转载 2012-04-26 14:45:35 · 1237 阅读 · 0 评论 -
实战Linux Bluetooth编程(一) 协议栈概述
最近开始看Bluetooth啦,看到一个好的系列文章,在这转载了。作者:Sam (甄峰) sam_code@hotmail.com Sam一年前在Linux下写了一个类似Windows下BTW的库--BTX。现在需要添加新功能时发现很多知识点都忘记了。所以决定在这次学习中,把一些bluez API记录下来。这几天又想,这样还不够,不如把Linux下的Blueto转载 2012-04-26 14:27:21 · 1170 阅读 · 0 评论 -
实战Linux Bluetooth编程(三) HCI层编程
此篇文章在此系列里面特别推荐,写的言简意赅。另附Android抓取snoop log的方法,和解析方法。Android抓取方法adb shell hcidump -w /data/hci_1107.cfa在Ubuntu上安装bluez-hcidump的方法sudo apt-get install bluezsudo apt-g转载 2012-04-26 14:39:10 · 4336 阅读 · 2 评论 -
实战Linux Bluetooth编程(九) SDP层编程
此作者还有些有关Bluetooth相关文章并没有转载,请到原址查找更多内容。==================================================================================================================================作者:Sam(甄峰) sam_co转载 2012-04-26 14:46:50 · 1010 阅读 · 0 评论 -
Bluetooth FAQ
Bluetooth FAQThis FAQ refers to the Android Open Source codebase, and is written for platform developers with root access on devices such as the Androd Developer Phone.Q. How do I compile Andr转载 2012-04-27 14:39:33 · 817 阅读 · 0 评论 -
蓝牙基础
蓝牙(Bluetooth) 蓝牙(Bluetooth)是一种短距离的无线数据与语音通信的开放性全球规范。能通过短距离的无线链路使得用户将多种设备方便快速连接起来进行无缝的语音和数据通信。蓝牙是一项开放标准由蓝牙技术联盟(SIG)负责管理,SIG主要工作是推广蓝牙标准并保持技术活力。 蓝牙区别于其它无线技术的一个典型特征是它能基于各设备各自的功能提供“联合使用模型转载 2012-06-13 15:11:00 · 1283 阅读 · 0 评论 -
Android Bluetooth 总结
一、Android Bluetooth现状(1)Android2.2版 支持的蓝牙核心版本是Bluetooth 2.0 + EDR。(2)Android 的蓝牙 使用了BlueZ协议栈,但只实现了Handset/Handfree和A2DP/AVRCP等Profile。(一些常用的Profile(如HID/DUN/SPP/OPP/FTP/PAN等)在现在的Android2.2转载 2012-06-13 15:13:01 · 1108 阅读 · 0 评论 -
dbus调试获得adapter path方法
adapter=`dbus-send --print-reply --system --dest=org.bluez / \ org.bluez.Manager.DefaultAdapter | awk -F\" '/bluez/ { print $2 }'`dbus-send --system --dest=org.bluez --print-reply --type=method_c转载 2012-06-13 15:24:32 · 1010 阅读 · 0 评论 -
Bluetooth Structure---BlueZ
Bluetooth StructureBluetoothBluetooth is a short-range cable-replacement technology that carries both data and voice. It supports speeds of up to 723Kbps (asymmetric) and 432Kbps (symmetric).转载 2012-06-13 15:12:02 · 3698 阅读 · 0 评论 -
Android 4.2蓝牙介绍
Tieto公司某蓝牙大牛写得《程序员》投稿文章Android 4.2蓝牙介绍蓝牙一词源于公元十世纪丹麦国王HaraldBlatand名字中的Blatand。Blatand的英文之意就是Blue tooth。这是因为这位让丹麦人引以为傲的国王酷爱吃蓝莓以至于牙龈都被染成蓝色。由于Blatand统一了丹麦和挪威,所以,作为无线通信技术的一种,蓝牙技术之所以取名Bluetooth可谓转载 2013-10-16 10:40:44 · 2053 阅读 · 0 评论