wclGattLocalServiceAddCharacteristic Method |
Creates new characteristic and adds it to the service
characteristics list.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int AddCharacteristic(
wclGattUuid Uuid,
wclGattLocalCharacteristicParameters Params,
out wclGattLocalCharacteristic Characteristic
)
Public Function AddCharacteristic (
Uuid As wclGattUuid,
Params As wclGattLocalCharacteristicParameters,
<OutAttribute> ByRef Characteristic As wclGattLocalCharacteristic
) As Integer
public:
int AddCharacteristic(
wclGattUuid Uuid,
wclGattLocalCharacteristicParameters Params,
[OutAttribute] wclGattLocalCharacteristic^% Characteristic
)
Parameters
- Uuid wclGattUuid
- The characteristic UUID.
- Params wclGattLocalCharacteristicParameters
- The characteristic parameters.
- Characteristic wclGattLocalCharacteristic
- If the method completed with success the
parameters contains a just created GATT characteristic
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.
See Also