wclGattServerConnectionServices Method |
Gets the local GATT service by its index.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public wclGattLocalService Services(
int Index
)
Public Function Services (
Index As Integer
) As wclGattLocalService
public:
wclGattLocalService^ Services(
int Index
)
Parameters
- Index Int32
- The service's index. The parameter must be in range
between 0 and ServicesCount - 1. If the parameter is out of range the
wclEInvalidArgument exception raises.
Return Value
wclGattLocalService The local GATT service object.
Exceptions Remarks If server has not been initialized the
wclEGattServer exception raises.
See Also