Bluetooth LE
The class BluetoothLE is the only public interface of the de.testo.testolib.bluetooth package. Use an instance of this class to access the bluetooth functionality.
Constructors
Functions
Link copied to clipboard
Cancel a currently running connect process of a ble device Execution type: asynchronous
Link copied to clipboard
Disconnect from a currently connected ble device Execution type: synchronous
Link copied to clipboard
Enable bluetooth on the device (asynchronous call) Execution type: asynchronous
Link copied to clipboard
Delete a device from the list of discovered devices.
Link copied to clipboard
Get all devices, discovered by the ble scan Execution type: synchronous
Link copied to clipboard
Get mtu size from connected device Execution type: synchronous
Link copied to clipboard
Find out, whether bluetooth is available on the device.
Link copied to clipboard
Find out, whether bluetooth is currently enabled on the device Execution type: synchronous
Link copied to clipboard
Find out, whether a device is connected Execution type: synchronous
Link copied to clipboard
Find out, whether the connect process for a certain device is still in progress Execution type: synchronous
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setCharacteristicMode(strDeviceAddress: String, strServiceUuid: String, strCharacteristicUuid: String, nUseNotificationsIndications: Int)
Set notifications for a certain characteristic Execution type: asynchronous
Link copied to clipboard
Set mtu size from connected device Execution type: synchronous