Bluetooth Framework C++ Edition

◆ GetServices()

CwclGattLocalService * GetServices ( const size_t  Index) const

Gets the local GATT service by its index.

Parameters
IndexThe 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.
Returns
The local GATT service object.
See also
CwclGattLocalService
Exceptions
wclEInvalidArgument
wclEGattServer