Unit 'bluetoothlowenergy' Package
[Overview][Types][Classes][Procedures and functions][Index] [#pw_androidwizard]

jBluetoothLowEnergy

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: bluetoothlowenergy.pas line 28

type jBluetoothLowEnergy = class(jControl)

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Init; override;

  

  function jCreate;

  

  procedure jFree;

  

  function HasSystemFeature;

  

  procedure DisconnectGattServer;

  

  procedure SetScanPeriod();

  

  procedure SetScanMode();

  

  procedure StartScan();

  

  procedure StopScan;

  

  procedure ConnectDevice();

  

  procedure DiscoverServices;

  

  function GetCharacteristics();

  

  function GetCharacteristicProperties();

  

  function GetDescriptors();

  

  procedure ReadCharacteristic();

  

  procedure GenEvent_OnBluetoothLEScanCompleted();

  

  procedure GenEvent_OnBluetoothLEConnected();

  

  procedure GenEvent_OnBluetoothLEServiceDiscovered();

  

  procedure GenEvent_OnBluetoothLECharacteristicChanged();

  

  procedure GenEvent_OnBluetoothLECharacteristicRead();

  

published

  property ScanMode: TBLEScanMode; [rw]

  

  property ScanPeriod: Int64; [rw]

  

  property OnScanCompleted: TOnBluetoothLEScanCompleted; [rw]

  

  property OnConnected: TOnBluetoothLEConnected; [rw]

  

  property OnServiceDiscovered: TOnBluetoothLEServiceDiscovered; [rw]

  

  property OnCharacteristicChanged: TOnBluetoothLECharacteristicChanged; [rw]

  

  property OnCharacteristicRead: TOnBluetoothLECharacteristicRead; [rw]

  

end;

Inheritance

jBluetoothLowEnergy

  

|

jControl

  

|

TObject



CT Web help

CodeTyphon Studio