蓝牙app,BabyBluetooth案例

时间:2021-04-04 22:10:16
【文件属性】:
文件名称:蓝牙app,BabyBluetooth案例
文件大小:134KB
文件格式:ZIP
更新时间:2021-04-04 22:10:16
IOS源码 源码BabyBluetooth,BabyBluetoothAppDemo :一个类似lightblue的程序,蓝牙操作全部使用BabyBluetooch完成。 这个app是babyBluetooth的example程序,代码可以到github中下载或直接附件下载。 功能: 1:扫描周围设备 2:连接设备,扫描设备的全部services和characteristic 3:显示characteristic,读取characteristic的value,和descriptors以及Descriptors对应的value 4:写0x01到characteristic 5:订阅/取消订阅 characteristic的notify 注意,蓝牙相关的功能只能在真机中使用,模拟器使用不了。附件中包含了一个os程序,可以直接在mac中启动并使用蓝牙设备。 BabyBluetooch蓝牙库,一个非常容易使用的蓝牙库 -基于原生CoreBluetooth框架封装的轻量级的开源库,可以帮你更简单地使用CoreBluetooth API。 -CoreBluetooth所有方法都是通过委托完成,代码冗余且顺序凌乱。BabyBluetooth使用block方法,可以重新按照功能和顺序组织代码,并提供许多方法减少蓝牙开发过程中的代码量。 -链式方法体,代码更简洁、优雅
【文件预览】:
BabyBluetooth-master
----.gitignore(494B)
----LICENSE(1KB)
----Classes()
--------objc()
----BabyBluetoothExamples()
--------BabyBluetoothAppDemo()
--------BabyBluetoothOSDemo()
--------BluetoothStubOnOSX()
----README_en.md(5KB)
----README.md(6KB)
----BabyBluetooth.podspec(775B)

网友评论