文件名称: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)