CoreBluetooth框架(转)
来源:互联网 发布:linux tcp连接日志 编辑:程序博客网 时间:2024/05/29 09:13
前言:
关于蓝牙的文章这几个家伙(imJackXu崔江涛·刘彦玮)写的已经很好了,我这里只是给自己梳理一遍大致流程
CoreBluetooth:蓝牙开发框架,支持蓝牙4.0及以上标准。支持BLE4.0的设备
CoreBluetooth设计模式类型类似客户端-服务器模式。
客户端CBCentralManager(中心设备:手机应用):用来扫描服务器端,请求连接并获取服务端提供的数据
服务器端CBPeripheralManager(外围设备:蓝牙耳机等):它主要是广播自己并提供服务
外围设备和中央设备之间交互的桥梁是服务(CBService)和特征(CBCharacteristic),二者都有一个唯一的标识UUID(CBUUID类型)来唯一确定一个服务或者特征,每个服务可以拥有多个特征,下面是他们之间的关系:
中心设备发现外围设备流程
0 0
- CoreBluetooth框架(转)
- iOS蓝牙框架CoreBluetooth Framework
- CoreBluetooth 框架的常用方法
- iOS蓝牙框架CoreBluetooth应用
- ios蓝牙框架CoreBluetooth使用
- coreBlueTooth(续)
- CoreBluetooth
- CoreBluetooth
- CoreBluetooth
- CoreBluetooth
- CoreBluetooth蓝牙框架BabyBluetooth技术解析
- iOS蓝牙4.0 CoreBluetooth框架开发
- iOS蓝牙开发CoreBluetooth框架总结
- CoreBluetooth使用 (客户端外部设备)
- ios蓝牙开发 ------ CoreBluetooth 教程<转>
- iOS开发之玩转蓝牙CoreBluetooth
- CoreBluetooth使用 (服务端中心设备)
- iOS CoreBluetooth的swift实现 (1)
- windows环境下zookeeper 安装介绍
- MySQL的备份与过滤
- 类加载执行子系统
- 安卓基础(十九)
- LeetCode 104 Maximum Depth of Binary Tree(二叉树的最大深度)
- CoreBluetooth框架(转)
- 欢迎使用CSDN-markdown编辑器
- C#-求整数段和
- Qt之QThread详解
- spring <context:component-scan>使用说明(转)
- oracle基础知识
- 用logrotate管理每日增长的日志
- 华为oj:图片管理
- 腾讯分析系统架构解析