Bluetooth Framework
ContentsIndexHome
PreviousUpNext
CwclGattServer::DeleteService Method

Deletes the service with given index.

Syntax
C++
int DeleteService(size_t Index);
Parameters 
Description 
size_t Index 
The service's index. The parameter must be in range between 0 and ServicesCount - 1.  

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

Copyright (c) 2006-2020. All rights reserved.