Click or drag to resize

wclGattServerAddService Method

Creates new local GATT service and adds it to the services list.

Namespace: wclBluetooth
Assembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax
public int AddService(
	wclGattUuid Uuid,
	out wclGattLocalService Service
)

Parameters

Uuid  wclGattUuid
The service's UUID.
Service  wclGattLocalService
If the function completed with success this parameter receives a just created GATT local service object.

Return Value

Int32
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.
See Also