wclGattWriteKind Enumeration |
The GATT write operation mode.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.19.35.0 (7.19.35.0)
Syntaxpublic enum wclGattWriteKind
Public Enumeration wclGattWriteKind
public enum class wclGattWriteKind
Members| Member name | Value | Description |
|---|
| wkWithResponse | 0 | Execute write operation as Write With Response. |
| wkWithoutResponse | 1 | Execute write operation as Write Without Response if a
characteristic supports such method. If a characteristic does not
support Write Without Response the
WCL_E_BLUETOOTH_LE_WRITE_WITHOUT_RESPONSE_NOT_SUPPORTED
error returned. |
| wkAutoSplit | 2 | Use this mode if you need to write long characteristic value
to a device that does not support Long Write operation. The Bluetooth
Framework will automatically split characteristic value to fit the
maximum payload size and execute as many write operations as
needed to send all the value. |
| wkAuto | 3 | Automatic detection of write operation mode. If a
characteristic supports Write Without Response then this method will
be used. Otherwise the Write With Response operation
executes. The default write operation mode. |
See Also