Latest 0.2.1
Homepage https://github.com/matteocrippa/BeaconEmitter
License MIT
Platforms ios 8.0, tvos 9.0
Frameworks CoreBluetooth
Authors

CI Status
Version
License
Platform

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.

Latest podspec

{
    "name": "BeaconEmitter",
    "version": "0.2.1",
    "summary": "A simple Beacon emitter writter in Swift.",
    "description": "Beacon emitter built in Swift on top of Corebluetooth.nIt works with iOS and tvOS based devices",
    "homepage": "https://github.com/matteocrippa/BeaconEmitter",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Matteo Crippa": ""
    },
    "source": {
        "git": "https://github.com/matteocrippa/BeaconEmitter.git",
        "tag": "0.2.1"
    },
    "platforms": {
        "ios": "8.0",
        "tvos": "9.0"
    },
    "source_files": "BeaconEmitter/Classes/**/*",
    "frameworks": "CoreBluetooth",
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This