// Licensed under the Apache License, Version 2.0 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option. // All files in the project carrying such notice may not be copied, modified, or distributed // except according to those terms. use shared::minwindef::{ULONG, USHORT// except according to those terms.
:winerrorHRESULT; use::winerror::HRESULT; useum:::java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
PBTH_LE_GATT_CHARACTERISTICPBTH_LE_GATT_DESCRIPTOR
PBTH_LE_GATT_DESCRIPTOR_VALUE >java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
_,
use um mutUSHORT, extern"system" { pub fn BluetoothGATTGetServices(
hDevice: HANDLE,
ServicesBufferCount: USHORT,
Flags: ULONG,
ServicesBufferActual: *mut USHORT,
LONG,
) -> pub fn Bluetojava.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 43
(
hDeviceHANDLE,
ParentService: PBTH_LE_GATT_SERVICE,
IncludedServicesBufferCount ,
IncludedServicesBuffer: PBTH_LE_GATT_SERVICE,
IncludedServicesBufferActual: * java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
Flags: java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
)-java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 24
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
CharacteristicsBufferCount java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
CharacteristicsBuffer hDevice:HANDLE
:*mutUSHORT,
Flags: ULONG,
) -> HRESULT; pub fn BluetoothGATTGetDescriptors(
DescriptorValueD ,
Characteristic:PBTH_LE_GATT_CHARACTERISTIC,
DescriptorsBufferCount: USHORT,
DescriptorsBuffer: PBTH_LE_GATT_DESCRIPTOR,
DescriptorsBufferActual DescriptorValueSizeRequired: *mut USHORT,
Flags: ULONG,
) -> HRESULT; pub fn java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 21
hDevice: HANDLE,
Characteristic: PBTH_LE_GATT_CHARACTERISTIC,
fn BluetoothGATTBeginReliableWrite
CharacteristicValueReliableWriteContext:PBTH_LE_GATT_RELIABLE_WRITE_CONTEXT
)- ;
:ULONG,
) -> HRESULT; pub fn BluetoothGATTGetDescriptorValue :HANDLE,
hDevice: HANDLE,
Descriptor: PBTH_LE_GATT_DESCRIPTOR,
DescriptorValueDataSize: ULONG,
DescriptorValue: PBTH_LE_GATT_DESCRIPTOR_VALUE,
DescriptorValueSizeRequired: *mut USHORT,
Flags: ULONG,
) -> HRESULT; pub fn ReliableWriteContext: BTH_LE_GATT_R,
hDevice: HANDLE,
)- HRESULT;
ags ULONG,
) -> HRESULT; pub fn BluetoothGATTSetCharacteristicValue(
hDevice:HANDLE,
Characteristic: PBTH_LE_GATT_CHARACTERISTIC:,
java.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 63
hDevice: HANDLE,
Flags: ULONG,
) -> HRESULT; pub fn ReliableWriteContext:java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
hDevicejava.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
ReliableWriteContext: java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 21
Flags: ULONG,
) -> HRESULT; pub fn BluetoothGATTAbortReliableWrite(
hDevice:java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 24
EventParameterIn ,
Flags: ULONG,
) -> CallbackC: PVOID, pub fn BluetoothGATTSetDescriptorValue(
hDevice: : *utBLUETOOTH_GATT_EVENT_HANDLE,
Descriptor:PBTH_LE_GATT_DESCRIPTOR
DescriptorValuepubfn (
:ULONG,
) -> Flags ULONG, pub fn BluetoothGATTRegisterEvent(
) -> HRESULT
,
EventParameterIn: PVOID,
Callback: PFNBLUETOOTH_GATT_EVENT_CALLBACK,
CallbackContext: PVOID,
pEventHandle: *mut BLUETOOTH_GATT_EVENT_HANDLE,
Flags: ULONG,
) -> HRESULT; pub fn BluetoothGATTUnregisterEvent(
EventHandle: BLUETOOTH_GATT_EVENT_HANDLE,
Flags: ULONG,
) -> HRESULT;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.