Skip To Content

BluetoothLEService QML Type

(BETA) Represents an individual service on a Bluetooth Low Energy device. More...

Import Statement: import ArcGIS.AppFramework.Devices 1.0

Properties

Signals

Methods

Detailed Description

The BluetoothLEService component represents an individual service on a Bluetooth Low Energy (LE) device. It can only be instantiated by BluetoothLEDevice. This component provides access to details of the individual service, as well as any associated characteristics. It's also the only way to instantiate the BluetoothLECharacteristic component.

Enumerations

ServiceState enumeration

This enum describes the state of the service object. Informs the ServiceState enum.

NameValue
BluetoothLEService.InvalidService0
BluetoothLEService.DiscoveryRequired1
BluetoothLEService.DiscoveringDetails2
BluetoothLEService.DetailsDiscovered3
BluetoothLEService.LocalService4

Property Documentation

[read-only] characteristics : CharacteristicListModel

Returns all characteristics associated with this BluetoothLEService instance.


[read-only] name : string

Returns the name of the service. This name can only be retrieved if the uuid property provides a well-known UUID.


[read-only] serviceState : ServiceState

The state of the service object. Informed by the ServiceState enum.


[read-only] uuid : string

Returns the UUID of the service.


Signal Documentation

characteristicValueChanged( QLowEnergyCharacteristic c, QByteArray value)


serviceStateChanged( BluetoothLEService::ServiceState state)

Signal emitted when the service's state changes.


Method Documentation

discoverDetails()

Initiates the discovery of services, characteristics, and descriptors contained by the service.