ios core blueooth学习笔记ios core bluetooth学习笔记ios core bluetooth学习笔记ios core bluetooth学习笔记.docVIP
- 5
- 0
- 约4.11千字
- 约 5页
- 2017-03-18 发布于贵州
- 举报
ios core blueooth学习笔记ios core bluetooth学习笔记ios core bluetooth学习笔记ios core bluetooth学习笔记
概览
Bluetooth设备在通讯中的角色定位
Central Device(中心设备)
Peripheral Device(周边设备)
执行通用的Central 角色任务
步骤:
Starting Up a Central Manager
(启动一个Central Manager)
myCentralManager =
[[CBCentralManager alloc] initWithDelegate:self queue:nil options:nil];
Discovering Peripheral Devices That Are Advertising (发现正在广播的周边设备)
通过Service UUID寻找设备
[myCentralManager scanForPeripheralsWithServices:nil options:nil];
其中scanForPeripheralsWithServices:nil 在App实际应用中会使用CBUUID objects取匹配Service
判断是否发现设备
(void)centralManager:(CBCentralManager *)central didDiscoverPeripheral:(CBPeripheral *)peripheral advertisementData:(NSDict
您可能关注的文档
- html5精妙代码html精妙代码5精妙代码.doc
- htc 816t一键roo教程图解htc 816t一键root教程图解htc 816t一键root教程图解htc 816t一键root教程图解.doc
- hotel solutio(webs)hotel solution(webs)hotel solution(webs)hotel solution(webs).ppt
- html的基础知识html基础知识的基础知识.ppt
- html表格、框架 使用大html表格、框架 使用大全html表格、框架 使用大全html表格、框架 使用大全.ppt
- html基本结构【零基础教】html基本结构【零基础教程】html基本结构【零基础教程】html基本结构【零基础教程】.ppt
- html编程基础html编基础程基础.ppt
- html基础l概述课堂教案tml基础l概述课堂教案html基础l概述课堂教案html基础l概述课堂教案.doc
- html新手快速入门指南hml新手快速入门指南html新手快速入门指南html新手快速入门指南.doc
- html表格表单的写法htl表格表单的写法html表格表单的写法html表格表单的写法.ppt
最近下载
- 2025通用版大学生求职综合展示ppt模版(优质ppt).pptx
- 第六单元写作任务 议论要有针对性 课件 2023-2024学年统编版高中语文必修上册.pptx VIP
- 善待自己,关爱他人.pptx
- 售后工单分派运营异常排查与复盘记录.docx VIP
- (新教材)2026年冀教版七年级上册数学 5.1 等式与方程 课件.pptx
- 2025高考数学必刷题 第69讲、直线与圆锥曲线的位置关系(学生版).pdf VIP
- 高师-《中国地理》第二十一章 中国文化地理区划.ppt
- 《薪酬管理》海南大学 智慧-树章节测试答案.docx VIP
- 2024年6月第英语六级真题(全3套).pdf VIP
- 2025年高考数学必刷题分类:第67讲、圆锥曲线离心率题型全归纳(学生版).pdf VIP
原创力文档

文档评论(0)