wclGattServerConnectionHalCreateService Method |
Creates a driver specific local GATT service
object.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax protected abstract int HalCreateService(
wclGattUuid Uuid,
out wclGattLocalService Service
)
Protected MustOverride Function HalCreateService (
Uuid As wclGattUuid,
<OutAttribute> ByRef Service As wclGattLocalService
) As Integer
protected:
virtual int HalCreateService(
wclGattUuid Uuid,
[OutAttribute] wclGattLocalService^% Service
) abstract
Parameters
- Uuid wclGattUuid
- The service's UUID.
- Service wclGattLocalService
- If the function completed with success this
parameter includes just create local GATT 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.
Remarks A derived class must override this method to provide
driver specific code.
See Also