Show: Delphi C++
Display Preferences

System.Beacon.TEddystoneTLM

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TEddystoneTLM = record
  const
    EDDY_TLM_LEN = 14;
    EDDY_TLM_VERSION_POS = 1;
  var
    EncodedTLM: array[0..EDDY_TLM_LEN - (EDDY_TLM_VERSION_POS + 1)] of byte;
    BattVoltage: Word;
    BeaconTemp: Word;
    AdvPDUCount: Cardinal;
    TimeSincePowerOn: Cardinal;
    function BattVoltageToString: string; inline;
    function BeaconTempToSingle: Single; inline;
    function BeaconTempToString: string; inline;
    function AdvPDUCountToString: string; inline;
    function TimeSincePowerOnToTTimeSpan: TTimeSpan; inline;
    function TimeSincePowerOnToString: string; inline;
  end;

C++

struct DECLSPEC_DRECORD TEddystoneTLM
{
public:
    static const System::Int8 EDDY_TLM_LEN = System::Int8(0xe);
    static const System::Int8 EDDY_TLM_VERSION_POS = System::Int8(0x1);
    System::StaticArray<System::Byte, 13> EncodedTLM;
    System::Word BattVoltage;
    System::Word BeaconTemp;
    unsigned AdvPDUCount;
    unsigned TimeSincePowerOn;
    System::UnicodeString __fastcall BattVoltageToString(void);
    float __fastcall BeaconTempToSingle(void);
    System::UnicodeString __fastcall BeaconTempToString(void);
    System::UnicodeString __fastcall AdvPDUCountToString(void);
    System::Timespan::TTimeSpan __fastcall TimeSincePowerOnToTTimeSpan(void);
    System::UnicodeString __fastcall TimeSincePowerOnToString(void);
};

Properties

Type Visibility Source Unit Parent
record
struct
public
System.Beacon.pas
System.Beacon.hpp
System.Beacon System.Beacon

Description

Record type that stores the information associated with the EddystoneTLM beacon.

TEddystoneTLM contains telemetry information that the EddystoneTLM beacon broadcasts. The telemetry data is useful for monitoring the health and operation status of a fleet of beacons.

The EddystoneTLM frame does not contain a beacon identifier, so it must be paired with an identifying frame which provides an identifier, either of type EddystoneUID or EddystoneURL.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance