BeaconEmitter 0.2.1

BeaconEmitter 0.2.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Mar 2017
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Matteo Crippa.



  • By
  • Matteo Crippa

BeaconEmitter

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

Installation

BeaconEmitter is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "BeaconEmitter"

Usage is pretty simple you have only to create a beacon object of class BeaconEmitter:

guard let uuid = NSUUID(UUIDString: "E2AD5810-554E-11E4-9E35-164230D1DF67") else { return true }

let beaconData = Beacon(uuid: uuid, minor: 1000, major: 56, power: -59)

beacon = BeaconEmitter(beacon: beaconData)

and then start broadcasting

beacon?.start()

Configuration

ATvBeacon allows you to configure:

uuid: UUID of your beacon minor: minor value major: major value power: power of the beacon

Author

Matteo Crippa, @ghego20

License

BeaconEmitter is available under the MIT license. See the LICENSE file for more info.