最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【整理】蓝牙技术学习笔记

Bluetooth crifan 4301浏览 0评论

蓝牙技术出现的背景

蓝牙本来的目的是,为了替代有线(换成此蓝牙的无线)的;

针对的设备主要有:打印机,键盘,鼠标等

后来,大家觉得此技术不错,所以又将其继续发展,慢慢的,支持更多不同类型的设备和不同的应用了。

正所谓的,支持更多的复杂的应用模型。

此技术,希望实现:

设备之间的互联,能达到:

  • 自动处理:无需用户干预(太多),不要用户操太多心;
  • 无缝连接:技术内部保证在切换频道和网络的时候,自动切换->也是尽量减少用户的麻烦;
  • 用户友好的方式:在提供功能的时候,确保用户用的简单方便和舒服->考虑到了用户体验;

同时,又要在技术层面上确保:

  • 所需成本不能太高:确保制造蓝牙的硬件,不能太贵;
  • 重量不能太重:因为很多是用于移动设备,加上本来是用于取代有线,所以不能太重;
    • 典型的是蓝牙耳机:肯定不能太重,否则再便宜,用户也不会愿意戴的;
  • 耗电不能太高:要从技术设计的角度,就考虑到功耗
    • 同理,主要是对于很多移动设备,本身要确保功耗不能太高,要尽量的省电

蓝牙技术的应用领域

最经典的蓝牙的应用领域有:

  • 无线蓝牙耳机
  • 以太网桥(蓝牙无线网关?)
  • 基于无线蓝牙的操作:
    • 文件传输
    • 数据同步
    • 打印

 

蓝牙的各种协议概览

可以参考:

Getting Started | Bluetooth Development Portal

中的:

Profiles Overview | Bluetooth Development Portal

其中,有每个协议,大体功能的概括。

比如:

SPP
Service Port Profile
defines how to set-up virtual serial ports and connect two Bluetooth enabled devices.

RFCOMM
RFCOMM with TS 07.10
emulates the serial cable line settings and status of an RS-232 serial port and is used for providing serial data transfer.

 

而希望的,对于各种协议之间的功能,关系,依赖等方面的有个宏观的图解,还是找不到。

后来去google中搜:

bluetooth protocol relation

而找到很多这方面的资料:

整理如下:

 

蓝牙各种协议的总体架构和逻辑关系

colored Bluetooth Protocol Stack overview

另外一个:

protocol stack for bluetooth tech

 

这个解释也不错:

bluetooth overview arch and protocol relations

 

不同应用profile的协议架构和关系

文件传输File Transfer

bt Figure 3 Protocol Stack for File Transfer Applications

 

以太网桥Internet Bridge

bt Figure 4 Dial-up Networking Protocol Stack

局域网访问LAN Access

bt Figure 5 Protocol Stack of LAN Access (PPP) Usage Model

同步Synchronization

bt Figure 6 Protocol Stack for Synchronization

三合一手机Three-in-One Phone

bt Figure 7 Protocol Stack for Cordless Phone and Intercom Scenarios

头戴式耳机Ultimate Headset

bt Figure 8 Ultimate Headset Protocol Stack

 

蓝牙技术的学习和参考资料

官网资料就很多。

Getting Started | Bluetooth Development Portal

中就有很多资料,比如:

等等。

都是很值得看看的。

 

另外蓝牙中文主页:

Bluetooth®技术入门

也有很多培训视频。

Profiles & Interoperability | Ch.1: Technology Standardlize Stack

等等。

 

参考资料

Understanding Bluetooth™

 

Bluetooth PANs – IEEE 802.15

 

Bluetooth Protocol Architecture

转载请注明:在路上 » 【整理】蓝牙技术学习笔记

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.168 seconds, using 22.10MB memory