Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
org.qtproject.qt.android.bluetooth.QtBluetoothLE Class Reference
+ Collaboration diagram for org.qtproject.qt.android.bluetooth.QtBluetoothLE:

Classes

enum  GattEntryType
 
enum  IoJobType
 

Public Member Functions

 QtBluetoothLE (Context context)
 
 QtBluetoothLE (final String remoteAddress, Context context)
 
boolean scanForLeDevice (final boolean isEnabled)
 
native void leScanResult (long qtObject, BluetoothDevice device, int rssi, byte[] scanRecord)
 
synchronized int mtu ()
 
synchronized boolean readRemoteRssi ()
 
synchronized boolean connect ()
 
synchronized void disconnect ()
 
synchronized boolean discoverServices ()
 
synchronized boolean discoverServiceDetails (String serviceUuid, boolean fullDiscovery)
 
synchronized String includedServices (String serviceUuid)
 
synchronized boolean writeCharacteristic (int charHandle, byte[] newValue, int writeMode)
 
synchronized boolean writeDescriptor (int descHandle, byte[] newValue)
 
synchronized boolean readCharacteristic (int charHandle)
 
synchronized boolean readDescriptor (int descHandle)
 
synchronized boolean requestConnectionUpdatePriority (double minimalInterval)
 
native void leConnectionStateChange (long qtObject, int wasErrorTransition, int newState)
 
native void leMtuChanged (long qtObject, int mtu)
 
native void leRemoteRssiRead (long qtObject, int rssi, boolean success)
 
native void leServicesDiscovered (long qtObject, int errorCode, String uuidList)
 
native void leServiceDetailDiscoveryFinished (long qtObject, final String serviceUuid, int startHandle, int endHandle)
 
native void leCharacteristicRead (long qtObject, String serviceUuid, int charHandle, String charUuid, int properties, byte[] data)
 
native void leDescriptorRead (long qtObject, String serviceUuid, String charUuid, int descHandle, String descUuid, byte[] data)
 
native void leCharacteristicWritten (long qtObject, int charHandle, byte[] newData, int errorCode)
 
native void leDescriptorWritten (long qtObject, int charHandle, byte[] newData, int errorCode)
 
native void leCharacteristicChanged (long qtObject, int charHandle, byte[] newData)
 
native void leServiceError (long qtObject, int attributeHandle, int errorCode)
 

Detailed Description

Definition at line 42 of file QtBluetoothLE.java.

Constructor & Destructor Documentation

◆ QtBluetoothLE() [1/2]

org.qtproject.qt.android.bluetooth.QtBluetoothLE.QtBluetoothLE ( Context context)
inline

Definition at line 173 of file QtBluetoothLE.java.

References context, and manager.

◆ QtBluetoothLE() [2/2]

org.qtproject.qt.android.bluetooth.QtBluetoothLE.QtBluetoothLE ( final String remoteAddress,
Context context )
inline

Definition at line 188 of file QtBluetoothLE.java.

References context.

Member Function Documentation

◆ connect()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.connect ( )
inline

Definition at line 784 of file QtBluetoothLE.java.

References args, and Handler.

◆ disconnect()

synchronized void org.qtproject.qt.android.bluetooth.QtBluetoothLE.disconnect ( )
inline

Definition at line 866 of file QtBluetoothLE.java.

◆ discoverServiceDetails()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.discoverServiceDetails ( String serviceUuid,
boolean fullDiscovery )
inline

◆ discoverServices()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.discoverServices ( )
inline

Definition at line 874 of file QtBluetoothLE.java.

◆ includedServices()

synchronized String org.qtproject.qt.android.bluetooth.QtBluetoothLE.includedServices ( String serviceUuid)
inline

Definition at line 1147 of file QtBluetoothLE.java.

References append().

+ Here is the call graph for this function:

◆ leCharacteristicChanged()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leCharacteristicChanged ( long qtObject,
int charHandle,
byte[] newData )

◆ leCharacteristicRead()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leCharacteristicRead ( long qtObject,
String serviceUuid,
int charHandle,
String charUuid,
int properties,
byte[] data )

◆ leCharacteristicWritten()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leCharacteristicWritten ( long qtObject,
int charHandle,
byte[] newData,
int errorCode )

◆ leConnectionStateChange()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leConnectionStateChange ( long qtObject,
int wasErrorTransition,
int newState )

◆ leDescriptorRead()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leDescriptorRead ( long qtObject,
String serviceUuid,
String charUuid,
int descHandle,
String descUuid,
byte[] data )

◆ leDescriptorWritten()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leDescriptorWritten ( long qtObject,
int charHandle,
byte[] newData,
int errorCode )

◆ leMtuChanged()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leMtuChanged ( long qtObject,
int mtu )

◆ leRemoteRssiRead()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leRemoteRssiRead ( long qtObject,
int rssi,
boolean success )

◆ leScanResult()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leScanResult ( long qtObject,
BluetoothDevice device,
int rssi,
byte[] scanRecord )

◆ leServiceDetailDiscoveryFinished()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leServiceDetailDiscoveryFinished ( long qtObject,
final String serviceUuid,
int startHandle,
int endHandle )

◆ leServiceError()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leServiceError ( long qtObject,
int attributeHandle,
int errorCode )

◆ leServicesDiscovered()

native void org.qtproject.qt.android.bluetooth.QtBluetoothLE.leServicesDiscovered ( long qtObject,
int errorCode,
String uuidList )

◆ mtu()

synchronized int org.qtproject.qt.android.bluetooth.QtBluetoothLE.mtu ( )
inline

Definition at line 754 of file QtBluetoothLE.java.

◆ readCharacteristic()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.readCharacteristic ( int charHandle)
inline

◆ readDescriptor()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.readDescriptor ( int descHandle)
inline

◆ readRemoteRssi()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.readRemoteRssi ( )
inline

◆ requestConnectionUpdatePriority()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.requestConnectionUpdatePriority ( double minimalInterval)
inline

Definition at line 1800 of file QtBluetoothLE.java.

◆ scanForLeDevice()

boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.scanForLeDevice ( final boolean isEnabled)
inline

Definition at line 200 of file QtBluetoothLE.java.

References settings.

◆ writeCharacteristic()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.writeCharacteristic ( int charHandle,
byte[] newValue,
int writeMode )
inline

◆ writeDescriptor()

synchronized boolean org.qtproject.qt.android.bluetooth.QtBluetoothLE.writeDescriptor ( int descHandle,
byte[] newValue )
inline

The documentation for this class was generated from the following file: