BluetoothGATTGetServices function bluetooth
The BluetoothGATTGetServices function gets all the primary services available for a server.
HRESULT BluetoothGATTGetServices(
HANDLE hDevice,
USHORT ServicesBufferCount,
PBTH_LE_GATT_SERVICE ServicesBuffer,
USHORT *ServicesBufferActual,
ULONG Flags
);
Implementation
int BluetoothGATTGetServices(
int hDevice,
int ServicesBufferCount,
Pointer<BTH_LE_GATT_SERVICE> ServicesBuffer,
Pointer<Uint16> ServicesBufferActual,
int Flags) =>
_BluetoothGATTGetServices(hDevice, ServicesBufferCount, ServicesBuffer,
ServicesBufferActual, Flags);