Bluetooth Framework C++ Edition

◆ GetError()

int GetError ( ) const

Gets the characteristic's publishing error.

Returns
One of the WCL error code that indicates why characteristic has not been added.

If adding characteristic to the service was failed this property contains the failure reason code.