├── .github ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md ├── USERGUIDE.md └── USERGUIDE_CN.md ├── .gitignore ├── .travis.yml ├── Documents ├── .nojekyll ├── README.md ├── _404.md ├── _coverpage.md ├── _media │ ├── OKBluetooth.sketch │ ├── banner.png │ ├── banner@2x.png │ ├── ble-refact.png │ ├── icon.png │ └── icon@2x.png ├── _navbar.md ├── _sidebar.md ├── app.json ├── index.html └── zh-cn │ ├── README.md │ ├── _coverpage.md │ ├── auto-connect.md │ ├── auto-safe.md │ ├── connect.md │ ├── disconnect.md │ ├── init.md │ ├── multi-share.md │ ├── read.md │ └── write.md ├── Example ├── OKBluetooth.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── OKBluetooth-Example.xcscheme ├── OKBluetooth │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── OKAppDelegate.h │ ├── OKAppDelegate.m │ ├── OKBluetooth-Info.plist │ ├── OKBluetooth-Prefix.pch │ ├── OKCharactersViewController.h │ ├── OKCharactersViewController.m │ ├── OKListViewController.h │ ├── OKListViewController.m │ ├── OKPeripheralCell.h │ ├── OKPeripheralCell.m │ ├── OKPeripheralViewController.h │ ├── OKPeripheralViewController.m │ ├── OKViewController.h │ ├── OKViewController.m │ ├── en.lproj │ │ └── InfoPlist.strings │ └── main.m ├── Podfile ├── Podfile.lock └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── LICENSE ├── OKBluetooth.podspec ├── OKBluetooth ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── CBUUID+StringExtraction.h │ ├── CBUUID+StringExtraction.m │ ├── OKBluetooth.h │ ├── OKCentralManager.h │ ├── OKCentralManager.m │ ├── OKCharacteristic.h │ ├── OKCharacteristic.m │ ├── OKPeripheral.h │ ├── OKPeripheral.m │ ├── OKService.h │ ├── OKService.m │ ├── OKUtils.h │ └── OKUtils.m ├── README.md ├── _Pods.xcodeproj └── gh-pages.sh /.github/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/.github/CHANGELOG.md -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/USERGUIDE.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/USERGUIDE_CN.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/.travis.yml -------------------------------------------------------------------------------- /Documents/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Documents/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/README.md -------------------------------------------------------------------------------- /Documents/_404.md: -------------------------------------------------------------------------------- 1 | 你来到了知识的荒原~ 2 | 3 | 还是去[这里](https://github.com/latehorse/OKBluetooth)看一下吧!没准儿能找到你想要的 -------------------------------------------------------------------------------- /Documents/_coverpage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_coverpage.md -------------------------------------------------------------------------------- /Documents/_media/OKBluetooth.sketch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_media/OKBluetooth.sketch -------------------------------------------------------------------------------- /Documents/_media/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_media/banner.png -------------------------------------------------------------------------------- /Documents/_media/banner@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_media/banner@2x.png -------------------------------------------------------------------------------- /Documents/_media/ble-refact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_media/ble-refact.png -------------------------------------------------------------------------------- /Documents/_media/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_media/icon.png -------------------------------------------------------------------------------- /Documents/_media/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_media/icon@2x.png -------------------------------------------------------------------------------- /Documents/_navbar.md: -------------------------------------------------------------------------------- 1 | * [En](/) 2 | * [中文](/zh-cn/) -------------------------------------------------------------------------------- /Documents/_sidebar.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/_sidebar.md -------------------------------------------------------------------------------- /Documents/app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/app.json -------------------------------------------------------------------------------- /Documents/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/index.html -------------------------------------------------------------------------------- /Documents/zh-cn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/README.md -------------------------------------------------------------------------------- /Documents/zh-cn/_coverpage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/_coverpage.md -------------------------------------------------------------------------------- /Documents/zh-cn/auto-connect.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/auto-connect.md -------------------------------------------------------------------------------- /Documents/zh-cn/auto-safe.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/auto-safe.md -------------------------------------------------------------------------------- /Documents/zh-cn/connect.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/connect.md -------------------------------------------------------------------------------- /Documents/zh-cn/disconnect.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/disconnect.md -------------------------------------------------------------------------------- /Documents/zh-cn/init.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/init.md -------------------------------------------------------------------------------- /Documents/zh-cn/multi-share.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/multi-share.md -------------------------------------------------------------------------------- /Documents/zh-cn/read.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/read.md -------------------------------------------------------------------------------- /Documents/zh-cn/write.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Documents/zh-cn/write.md -------------------------------------------------------------------------------- /Example/OKBluetooth.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /Example/OKBluetooth.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth.xcodeproj/project.xcworkspace/contents.xcworkspacedata -------------------------------------------------------------------------------- /Example/OKBluetooth.xcodeproj/xcshareddata/xcschemes/OKBluetooth-Example.xcscheme: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth.xcodeproj/xcshareddata/xcschemes/OKBluetooth-Example.xcscheme -------------------------------------------------------------------------------- /Example/OKBluetooth/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/Base.lproj/LaunchScreen.storyboard -------------------------------------------------------------------------------- /Example/OKBluetooth/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/Base.lproj/Main.storyboard -------------------------------------------------------------------------------- /Example/OKBluetooth/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/Images.xcassets/AppIcon.appiconset/Contents.json -------------------------------------------------------------------------------- /Example/OKBluetooth/OKAppDelegate.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKAppDelegate.h -------------------------------------------------------------------------------- /Example/OKBluetooth/OKAppDelegate.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKAppDelegate.m -------------------------------------------------------------------------------- /Example/OKBluetooth/OKBluetooth-Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKBluetooth-Info.plist -------------------------------------------------------------------------------- /Example/OKBluetooth/OKBluetooth-Prefix.pch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKBluetooth-Prefix.pch -------------------------------------------------------------------------------- /Example/OKBluetooth/OKCharactersViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKCharactersViewController.h -------------------------------------------------------------------------------- /Example/OKBluetooth/OKCharactersViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKCharactersViewController.m -------------------------------------------------------------------------------- /Example/OKBluetooth/OKListViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKListViewController.h -------------------------------------------------------------------------------- /Example/OKBluetooth/OKListViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKListViewController.m -------------------------------------------------------------------------------- /Example/OKBluetooth/OKPeripheralCell.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKPeripheralCell.h -------------------------------------------------------------------------------- /Example/OKBluetooth/OKPeripheralCell.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKPeripheralCell.m -------------------------------------------------------------------------------- /Example/OKBluetooth/OKPeripheralViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKPeripheralViewController.h -------------------------------------------------------------------------------- /Example/OKBluetooth/OKPeripheralViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKPeripheralViewController.m -------------------------------------------------------------------------------- /Example/OKBluetooth/OKViewController.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKViewController.h -------------------------------------------------------------------------------- /Example/OKBluetooth/OKViewController.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/OKViewController.m -------------------------------------------------------------------------------- /Example/OKBluetooth/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/OKBluetooth/main.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/OKBluetooth/main.m -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/Podfile -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/Podfile.lock -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/Tests/Tests-Info.plist -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/Tests/Tests-Prefix.pch -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/Example/Tests/Tests.m -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/LICENSE -------------------------------------------------------------------------------- /OKBluetooth.podspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth.podspec -------------------------------------------------------------------------------- /OKBluetooth/Assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OKBluetooth/Classes/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /OKBluetooth/Classes/CBUUID+StringExtraction.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/CBUUID+StringExtraction.h -------------------------------------------------------------------------------- /OKBluetooth/Classes/CBUUID+StringExtraction.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/CBUUID+StringExtraction.m -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKBluetooth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKBluetooth.h -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKCentralManager.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKCentralManager.h -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKCentralManager.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKCentralManager.m -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKCharacteristic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKCharacteristic.h -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKCharacteristic.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKCharacteristic.m -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKPeripheral.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKPeripheral.h -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKPeripheral.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKPeripheral.m -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKService.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKService.h -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKService.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKService.m -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKUtils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKUtils.h -------------------------------------------------------------------------------- /OKBluetooth/Classes/OKUtils.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/OKBluetooth/Classes/OKUtils.m -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/README.md -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /gh-pages.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/latehorse/OKBluetooth/HEAD/gh-pages.sh --------------------------------------------------------------------------------