Bluetooth Framework C++ Edition
Main Page
Namespaces
Classes
wclBluetooth
CwclGattClientConnection
__declspec
__declspec
__declspec
__declspec
Connect
CwclGattClientConnection
DoCharacteristicChanged
DoConnectionParamsChanged
DoConnectionPhyChanged
DoMaxPduSizeChanged
GetAddress
GetConnectionParams
GetConnectionPhyInfo
GetConnectOnRead
GetForceNotifications
GetMaxPduSize
GetRadio
HalConnect
HalDisconnect
HalGetConnectionParams
HalGetConnectionPhyInfo
HalGetMaxPduSize
HalReadCharacteristics
HalReadCharacteristicValue
HalReadDescriptors
HalReadDescriptorValue
HalReadIncludedServices
HalReadServices
HalSetConnectionParams
HalSetConnectionParams
HalSubscribe
HalUnsubscribe
HalWriteCharacteristicValue
HalWriteDescriptorValue
MessageReceived
OnCharacteristicChanged
OnConnectionParamsChanged
OnConnectionPhyChanged
OnMaxPduSizeChanged
PrepareForConnection
ReadCharacteristics
ReadCharacteristicValue
ReadDescriptors
ReadDescriptorValue
ReadIncludedServices
ReadServices
SetConnectionParams
SetConnectionParams
Subscribe
Unsubscribe
WriteCharacteristicValue
WriteClientConfiguration
WriteDescriptorValue
◆
WriteDescriptorValue()
int WriteDescriptorValue
(
const
wclGattDescriptor
&
Descriptor
,
const
wclGattProtectionLevel
Protection
,
const
wclGattDescriptorValue
&
Value
)
The method writes the specified descriptor value to the Bluetooth device.
Parameters
Descriptor
A
wclGattDescriptor
obtained by previous call to the
ReadDescriptors
method.
Protection
Describes the required protection level.
Value
A descriptor's value.
Returns
If the function succeed the return value is
WCL_E_SUCCESS
. Otherwise the method returns one of the WCL error codes.
See also
wclGattDescriptor
,
wclGattProtectionLevel
,
wclGattDescriptorValue
Generated by
1.9.7