Click or drag to resize

wclGattLocalService Class

This class represents a local GATT service.
Inheritance Hierarchy
SystemObject
  wclBluetoothwclGattLocalAttribute
    wclBluetoothwclGattLocalService

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public abstract class wclGattLocalService : wclGattLocalAttribute

The wclGattLocalService type exposes the following members.

Constructors
 NameDescription
Public methodwclGattLocalService Creates new Local GATT service.
Top
Properties
 NameDescription
Public propertyAdded Gets the service state.
Public propertyCharacteristicsCount Gets the characteristics count.
Public propertyConnectable Gets or sets a boolean that indicates if the GATT service is connectable.
Public propertyDiscoverable Gets or sets a boolean indicating that the GATT service is discoverable.
Public propertyError Gets the service's publishing result code.
Public propertyItem Gets the GATT characteristic by its index.
Public propertyServer Gets the GATT server object that owns the service.
Public propertyUuid Gets the attribute's UUID.
(Inherited from wclGattLocalAttribute)
Top
Methods
 NameDescription
Public methodAddCharacteristic Creates new characteristic and adds it to the service characteristics list.
Public methodClearCharacteristics Clears the characteristics list.
Public methodDeleteCharacteristic Deletes the characteristic with given index.
Protected methodEnter Enters the GATT local attribute protection critical section.
(Inherited from wclGattLocalAttribute)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodHalAdd The method implements a driver specific code to add local GATT service to the GATT server.
Protected methodHalCreate The method implements a driver specific code to create local GATT service to the GATT server.
Protected methodHalCreateCharacteristic The function creates a driver specific GATT characteristic object.
Protected methodHalDestroy The method implements a driver specific code to destroy local GATT service from the GATT server.
Protected methodHalRemove The method implements a driver specific code to remove local GATT service from the GATT server.
Protected methodLeave Leaves the GATT local attribute protection critical section.
(Inherited from wclGattLocalAttribute)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
An application must not create or destroy this class directly. Instead of that an application must use methods of the wclGattServerConnection classes.
See Also