BluetoothGATTSetCharacteristicValue function bluetooth

int BluetoothGATTSetCharacteristicValue(
  1. int hDevice,
  2. Pointer<BTH_LE_GATT_CHARACTERISTIC> Characteristic,
  3. Pointer<BTH_LE_GATT_CHARACTERISTIC_VALUE> CharacteristicValue,
  4. int ReliableWriteContext,
  5. int Flags,
)

Writes the specified characteristic value to the Bluetooth device.

HRESULT BluetoothGATTSetCharacteristicValue(
  HANDLE                             hDevice,
  PBTH_LE_GATT_CHARACTERISTIC        Characteristic,
  PBTH_LE_GATT_CHARACTERISTIC_VALUE  CharacteristicValue,
  BTH_LE_GATT_RELIABLE_WRITE_CONTEXT ReliableWriteContext,
  ULONG                              Flags
);

Implementation

int BluetoothGATTSetCharacteristicValue(
        int hDevice,
        Pointer<BTH_LE_GATT_CHARACTERISTIC> Characteristic,
        Pointer<BTH_LE_GATT_CHARACTERISTIC_VALUE> CharacteristicValue,
        int ReliableWriteContext,
        int Flags) =>
    _BluetoothGATTSetCharacteristicValue(hDevice, Characteristic,
        CharacteristicValue, ReliableWriteContext, Flags);