BluetoothGATTGetDescriptors function bluetooth
int
BluetoothGATTGetDescriptors(
- int hDevice,
- Pointer<
BTH_LE_GATT_CHARACTERISTIC> Characteristic, - int DescriptorsBufferCount,
- Pointer<
BTH_LE_GATT_DESCRIPTOR> DescriptorsBuffer, - Pointer<
Uint16> DescriptorsBufferActual, - int Flags,
Gets all the descriptors available for the specified characteristic.
HRESULT BluetoothGATTGetDescriptors(
HANDLE hDevice,
PBTH_LE_GATT_CHARACTERISTIC Characteristic,
USHORT DescriptorsBufferCount,
PBTH_LE_GATT_DESCRIPTOR DescriptorsBuffer,
USHORT *DescriptorsBufferActual,
ULONG Flags
);
Implementation
int BluetoothGATTGetDescriptors(
int hDevice,
Pointer<BTH_LE_GATT_CHARACTERISTIC> Characteristic,
int DescriptorsBufferCount,
Pointer<BTH_LE_GATT_DESCRIPTOR> DescriptorsBuffer,
Pointer<Uint16> DescriptorsBufferActual,
int Flags) =>
_BluetoothGATTGetDescriptors(
hDevice,
Characteristic,
DescriptorsBufferCount,
DescriptorsBuffer,
DescriptorsBufferActual,
Flags);