Table of Contents

Class GattLocalService

Namespace
nanoFramework.Device.Bluetooth.GenericAttributeProfile
Assembly
nanoFramework.Device.Bluetooth.dll

This class represents a GATT local service.

public class GattLocalService
Inheritance
GattLocalService
Inherited Members
Extension Methods

Properties

Characteristics

Gets a array of the characteristics available for this local service.

public GattLocalCharacteristic[] Characteristics { get; }

Property Value

GattLocalCharacteristic[]

Uuid

Gets the local service UUID.

public Guid Uuid { get; }

Property Value

Guid

Methods

CreateCharacteristic(Guid, GattLocalCharacteristicParameters)

Creates a characteristic for this local service.

public GattLocalCharacteristicResult CreateCharacteristic(Guid characteristicUuid, GattLocalCharacteristicParameters parameters)

Parameters

characteristicUuid Guid

The characteristic UUID.

parameters GattLocalCharacteristicParameters

The characteristic parameters.

Returns

GattLocalCharacteristicResult

An GattLocalCharacteristicResult object