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>.
|
Public Member Functions | |
synchronized String | remoteName () |
synchronized String | remoteAddress () |
QtBluetoothLEServer (Context context) | |
synchronized void | handleOnConnectionStateChange (BluetoothDevice device, int status, int newState) |
synchronized void | handleOnServiceAdded (int status, BluetoothGattService service) |
synchronized void | handleOnCharacteristicReadRequest (BluetoothDevice device, int requestId, int offset, BluetoothGattCharacteristic characteristic) |
synchronized void | handleOnCharacteristicWriteRequest (BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) |
synchronized void | handleOnDescriptorReadRequest (BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) |
synchronized void | handleOnDescriptorWriteRequest (BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) |
synchronized void | handleOnExecuteWrite (BluetoothDevice device, int requestId, boolean execute) |
synchronized void | handleOnMtuChanged (BluetoothDevice device, int mtu) |
synchronized int | mtu () |
synchronized boolean | connectServer () |
synchronized void | disconnectServer () |
boolean | startAdvertising (AdvertiseData advertiseData, AdvertiseData scanResponse, AdvertiseSettings settings) |
void | stopAdvertising () |
synchronized void | addService (BluetoothGattService service) |
boolean | writeCharacteristic (BluetoothGattService service, UUID charUuid, byte[] newValue) |
boolean | writeDescriptor (BluetoothGattService service, UUID charUuid, UUID descUuid, byte[] newValue) |
native void | leConnectionStateChange (long qtObject, int errorCode, int newState) |
native void | leMtuChanged (long qtObject, int mtu) |
native void | leServerAdvertisementError (long qtObject, int status) |
native void | leServerCharacteristicChanged (long qtObject, BluetoothGattCharacteristic characteristic, byte[] newValue) |
native void | leServerDescriptorWritten (long qtObject, BluetoothGattDescriptor descriptor, byte[] newValue) |
Definition at line 36 of file QtBluetoothLEServer.java.
|
inline |
Definition at line 250 of file QtBluetoothLEServer.java.
|
inline |
Definition at line 788 of file QtBluetoothLEServer.java.
References org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.connectServer(), and TAG.
|
inline |
Definition at line 714 of file QtBluetoothLEServer.java.
Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.addService(), and org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.startAdvertising().
|
inline |
Definition at line 731 of file QtBluetoothLEServer.java.
References org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leConnectionStateChange().
|
inline |
Definition at line 385 of file QtBluetoothLEServer.java.
|
inline |
Definition at line 411 of file QtBluetoothLEServer.java.
References device, org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leServerCharacteristicChanged(), requestId, and TAG.
|
inline |
Definition at line 287 of file QtBluetoothLEServer.java.
References device, org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leConnectionStateChange(), newState(), and TAG.
|
inline |
Definition at line 463 of file QtBluetoothLEServer.java.
|
inline |
Definition at line 493 of file QtBluetoothLEServer.java.
References device, org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leServerDescriptorWritten(), requestId, and TAG.
|
inline |
Definition at line 546 of file QtBluetoothLEServer.java.
References currentValue, device, org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leServerCharacteristicChanged(), org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leServerDescriptorWritten(), requestId, TAG, and write().
|
inline |
Definition at line 630 of file QtBluetoothLEServer.java.
References org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leMtuChanged(), and org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.mtu().
|
inline |
Definition at line 354 of file QtBluetoothLEServer.java.
References TAG.
native void org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leConnectionStateChange | ( | long | qtObject, |
int | errorCode, | ||
int | newState ) |
Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.disconnectServer(), and org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.handleOnConnectionStateChange().
native void org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leMtuChanged | ( | long | qtObject, |
int | mtu ) |
Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.handleOnMtuChanged().
native void org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leServerAdvertisementError | ( | long | qtObject, |
int | status ) |
native void org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leServerCharacteristicChanged | ( | long | qtObject, |
BluetoothGattCharacteristic | characteristic, | ||
byte[] | newValue ) |
Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.handleOnCharacteristicWriteRequest(), and org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.handleOnExecuteWrite().
native void org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.leServerDescriptorWritten | ( | long | qtObject, |
BluetoothGattDescriptor | descriptor, | ||
byte[] | newValue ) |
Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.handleOnDescriptorWriteRequest(), and org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.handleOnExecuteWrite().
|
inline |
Definition at line 709 of file QtBluetoothLEServer.java.
Referenced by org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.handleOnMtuChanged().
|
inline |
Definition at line 63 of file QtBluetoothLEServer.java.
|
inline |
Definition at line 57 of file QtBluetoothLEServer.java.
|
inline |
Definition at line 747 of file QtBluetoothLEServer.java.
References org.qtproject.qt.android.bluetooth.QtBluetoothLEServer.connectServer(), settings, and TAG.
|
inline |
Definition at line 778 of file QtBluetoothLEServer.java.
References TAG.
|
inline |
Definition at line 857 of file QtBluetoothLEServer.java.
|
inline |
Definition at line 903 of file QtBluetoothLEServer.java.