iOS Sample Code - CoreBluetooth Temperature Sensor

时间:2015-12-16 05:45:47
【文件属性】:

文件名称:iOS Sample Code - CoreBluetooth Temperature Sensor

文件大小:88KB

文件格式:ZIP

更新时间:2015-12-16 05:45:47

iOS 蓝牙 例子

DESCRIPTION: A simple iOS iPhone application that demonstrates how to use the CoreBluetooth Framework to connect to a Bluetooth LE peripheral and read, write and be notified of changes to the characteristics of the peripheral. The application is designed to work with a custom Bluetooth LE device which allows for the setting of a high and low temperature alarm settings. When the temperature exceeds the minimum or maximum temperature setting, a notification is issued for which the application presents an alarm. This sample covers the use of non-published Bluetooth LE Services, which require full 128-bit UUIDs for identification. Important: This project requires a Bluetooth LE Capable Device (Currently only the iPhone 4S) and will not work on the simulator. ============================================ BUILD REQUIREMENTS: - Xcode 4.3 or greater - iOS 5.1 SDK or greater ============================================ RUNTIME REQUIREMENTS: iOS 5.1 or later which has full 128-bit UUID support Bluetooth LE Capable Device Bluetooth LE Sensor/s


【文件预览】:
TemperatureSensor
----TemperatureSensor.xcodeproj()
--------project.xcworkspace()
--------project.pbxproj(16KB)
--------xcuserdata()
----Icon-114.png(2KB)
----TemperatureSensor()
--------main.m(3KB)
--------LeDiscovery.h(4KB)
--------LeTemperatureAlarmService.h(5KB)
--------AppDelegate.h(3KB)
--------AppDelegate.m(3KB)
--------LeDiscovery.m(11KB)
--------TemperatureSensor-Prefix.pch(337B)
--------ViewController.h(3KB)
--------TemperatureSensor-Info.plist(2KB)
--------ViewController.m(15KB)
--------en.lproj()
--------LeTemperatureAlarmService.m(14KB)
----Icon-57.png(1KB)
----Default@2x.png(33KB)
----ReadMe.txt(1KB)

网友评论

  • 很有用,值得分享
  • 不错,很好用
  • 非常不错 值得学习
  • 非常好,靠它实现了coreblue的编码。
  • 不错,正是需要的
  • 还不错,蓝牙太坑爹了,很有帮助
  • 非常需要, 通过这个代码来认识bt4.0
  • 不错,正是近期需要的 ,帮助很大
  • 非常不错的参考资料。。。
  • 没有CoreBluetooth啊??
  • 不错不错帮助很大
  • 官网的代码,竟然还要分?
  • 无语,下完才知道是官网的,好吧,很有用。。。
  • 实际是官方的例子,还不错
  • 挺好的例子
  • 正在调查ios bluetooth,挺好的,有用。
  • 鄙视 严重鄙视 就是官方sdk里面的例子 没做任何改动 居然还要2分
  • 官方例子还不错!
  • 太有用了,官方翻译过来的
  • 挺好的例子,好用。