TwclBluetoothLeEddystoneTlmFrameEvent Delegate

The OnEddystoneTlmFrame event handler prototype.

Namespace: wclBluetooth
type
 TwclBluetoothLeEddystoneTlmFrameEvent = procedure(Sender: TObject;
 const Address: Int64; const Timestamp: Int64; const Rssi: SByte;
 const AdvCnt: Cardinal; const Batt: Word; const SecCnt: Cardinal;
 const Temp: Double;
 const Data: TwclBluetoothLeAdvertisementFrameRawData) of object;

Parameters

Sender

The object initiates the event.

Address

The Bluetooth LE advertiser's MAC address.

Timestamp

The frame's timestamp in Universal Time format.

Rssi

The measured RSSI value in dBm at range between -100 dBm and +20 dBm at 1 dBm resolution.

AdvCnt

The running count of advertisement frames of all types emitted by the beacon since power-up or reboot, useful for monitoring performance metrics that scale per broadcast frame. If this value is reset (e.g. on reboot), the current time field is also reset.

Batt

The current battery charge in millivolts, expressed as 1 mV per bit. If not supported (for example in a USB-powered beacon) the value should be zeroed.

SecCnt

The 0.1 second resolution counter that represents time since beacon power-up or reboot. If this value is reset (e.g. on a reboot), the AdvCnt count field is also reset.

Temp

The beacon temperature in degrees Celsius sensed by the beacon. If not supported the value is -128 °C.

Data

The additional frame data.