BKEddystoneData

open class BKEddystoneData: NSObject, NSSecureCoding

Read only data object for Eddystone data that is emitted by beacons

See Eddystone specification at https://github.com/google/eddystone/blob/master/protocol-specification.md

BKEddystoneData can contain data of unencrypted EddyStone UID, URL and TLM.

BKEddystoneData values are part of BKDiscoveryData.

  • The UIDNamespace if the beacon is emitting an Eddystone UID

    Declaration

    Swift

    internal(set) open var uidNamespace: String?
  • The Instance ID if the beacon is emitting an Eddystone UID

    Declaration

    Swift

    internal(set) open var uidInstance: String?
  • url

    The url string if the beacon is emitting an Eddystone URL

    Declaration

    Swift

    internal(set) open var url: String?
  • The txPower value if the beacon is emitting Eddystone TLM.

    It stands for the measured RSSI value when the distance between the beacon and the mobile device is 0 meter.

    Declaration

    Swift

    internal(set) open var txPower: Int16?

    Return Value

    txPower in dBm, Int16.min if it is not supported

  • The battery charge value if the Beacon is emitting Eddystone TLM

    Declaration

    Swift

    internal(set) open var battery = Int.min

    Return Value

    Battery charge in mV, 0 if the blukii has USB power, Int.min if it is not supported

  • The Temperature value if the beacon is emitting Eddystone TLM.

    Declaration

    Swift

    internal(set) open var temperature: Float?

    Return Value

    Temperature in degress Celsius (°C), nil if it is not supported

  • the number of frame packets since the last beacon reset if the beacon is emitting Eddystone TLM

    Declaration

    Swift

    internal(set) open var packets = 0

    Return Value

    Number of frame packets since last reset, 0 if it is not supported

  • The Time since the last beacon reset if the beacon is emitting Eddystone TLM

    Declaration

    Swift

    internal(set) open var activeTime = 0

    Return Value

    Number of seconds since last reset, 0 if it is not supported.