Class EddystoneTelemetryAccessor


  • public class EddystoneTelemetryAccessor
    extends Object
    Utility class for working beacons that include Eddystone-TLM (telemetry) information Created by dyoung on 12/21/15.
    • Constructor Detail

      • EddystoneTelemetryAccessor

        public EddystoneTelemetryAccessor()
    • Method Detail

      • getTelemetryBytes

        public byte[] getTelemetryBytes​(Beacon beacon)
        Extracts the raw Eddystone telemetry bytes from the extra data fields of an associated beacon. This is useful for passing the telemetry to Google's backend services.
        Parameters:
        beacon -
        Returns:
        the bytes of the telemetry frame
      • getBase64EncodedTelemetry

        public String getBase64EncodedTelemetry​(Beacon beacon)
        Extracts the raw Eddystone telemetry bytes from the extra data fields of an associated beacon and base64 encodes them. This is useful for passing the telemetry to Google's backend services.
        Parameters:
        beacon -
        Returns:
        base64 encoded telemetry bytes