This simplifies application implementation because the persistence of state between asynchronous calls is eliminated and code will not be distributed over multiple files, which is the case for protocol-delegate, or be deeply nested, which is the case for block interfaces. Futures can be chained with the result of the previous passed as input to the next. The BlueCap asynchronous interface uses Futures instead of the usual block interface or the protocol-delegate pattern. With BlueCap it is possible to easily implement CentralManager and PeripheralManager applications, serialize and deserialize messages exchanged with Bluetooth devices and define reusable GATT profile definitions. Under the Build Phases tab add amework as a Target Dependency and under Link Binary With Libraries add amework and amework.Under the General tab for your project target add the top amework as an Embedded Binary.
Bluetooth scanner app xcode update#
If desired use the -no-build option, carthage update -no-build To download and build amework run the command, carthage update To add BlueCapKit to your Cartfile github "troystribling/BlueCap" ~> 0.7 It can be installed using Homebrew, brew update To enable DBUG output add this post_install hook to your Podfile CarthageĬarthage is a decentralized dependency manager for Xcode projects.
Bluetooth scanner app xcode install#
It is installed with the following command, gem install cocoapodsĪdd BluCapKit to your to your project Podfile, platform :ios, '10.0'
A full featured extendable scanner and Peripheral simulator available in the App Store.ĬocoaPods is an Xcode dependency manager.Example applications implementing CentralManager and PeripheralManager.Characteristic profile types encapsulating serialization and deserialization.A DSL for specification of GATT profiles.Timeout for Peripheral connection, Service scan, Service + Characteristic discovery and Characteristic read/write.A futures interface replacing protocol implementations.