Bluetooth Low Energy

BluetoothLE

Bluetooth Low Energy, also referred to as Bluetooth LE or simply BLE, is a new communication protocol similar to classic Bluetooth except that it is designed to consume less power while maintaining comparable functionality. For this reason, Bluetooth LE is the preferred choice of communication with IoT devices that have limited power resources. Starting with Android 4.3, Google introduced built-in support for Bluetooth Low Energy. The BluetoothLE extension requires Android 5.0 or higher to avoid known issues with Google’s Bluetooth LE support prior to Android 5.0.

Download the BluetoothLE extension (version 20240822)

Version History

Build 20240822

Build 20230728

Build 20200828

Build 20190701

Build 20181124

Build 20171109

Build 20171108

Build 20171107

Properties

get BluetoothLE1 AdvertisementScanPeriod

get BluetoothLE1 AdvertiserAddresses

get BluetoothLE1 AdvertiserNames

get BluetoothLE1 AutoReconnect

set BluetoothLE1 AutoReconnect  to

get BluetoothLE1 BatteryValue

get BluetoothLE1 ConnectedDeviceName

get BluetoothLE1 ConnectedDeviceRssi

get BluetoothLE1 ConnectionTimeout

set BluetoothLE1 ConnectionTimeout  to

get BluetoothLE1 DeviceCharacteristics

get BluetoothLE1 DeviceList

get BluetoothLE1 DeviceServices

get BluetoothLE1 IsDeviceAdvertising

get BluetoothLE1 IsDeviceConnected

get BluetoothLE1 NullTerminateStrings

set BluetoothLE1 NullTerminateStrings  to

get BluetoothLE1 Scanning

get BluetoothLE1 TxPower

Methods

call BluetoothLE1 AdvertisementDatadeviceAddressserviceUuid

call BluetoothLE1 AdvertiserAddressdeviceName

call BluetoothLE1 AdvertiserServiceUuidsdeviceAddress

call BluetoothLE1 CanReadCharacteristicserviceUuidcharacteristicUuid

call BluetoothLE1 CanRegisterForCharacteristicserviceUuidcharacteristicUuid

call BluetoothLE1 CanWriteCharacteristicserviceUuidcharacteristicUuid

call BluetoothLE1 CanWriteCharacteristicWithResponseserviceUuidcharacteristicUuid

call BluetoothLE1 CharacteristicByIndexindex

call BluetoothLE1 Connectindex

call BluetoothLE1 ConnectMatchingNamename

call BluetoothLE1 ConnectToDeviceTypedevicename

call BluetoothLE1 ConnectToDeviceWithServiceAndNameserviceUuidname

call BluetoothLE1 ConnectWithAddressaddress

call BluetoothLE1 Disconnect

call BluetoothLE1 DisconnectWithAddressaddress

call BluetoothLE1 FoundDeviceAddressindex

call BluetoothLE1 FoundDeviceNameindex

call BluetoothLE1 FoundDeviceRssiindex

call BluetoothLE1 GetCharacteristicsForServiceserviceUuid

call BluetoothLE1 ReadBytesserviceUuidcharacteristicUuidsigned

call BluetoothLE1 ReadConnectedRssi

call BluetoothLE1 ReadFloatsserviceUuidcharacteristicUuidshortFloat

call BluetoothLE1 ReadIntegersserviceUuidcharacteristicUuidsigned

call BluetoothLE1 ReadShortsserviceUuidcharacteristicUuidsigned

call BluetoothLE1 ReadStringsserviceUuidcharacteristicUuidutf16

call BluetoothLE1 RegisterForBytesserviceUuidcharacteristicUuidsigned

call BluetoothLE1 RegisterForFloatsserviceUuidcharacteristicUuidshortFloat

call BluetoothLE1 RegisterForIntegersserviceUuidcharacteristicUuidsigned

call BluetoothLE1 RegisterForShortsserviceUuidcharacteristicUuidsigned

call BluetoothLE1 RegisterForStringsserviceUuidcharacteristicUuidutf16

call BluetoothLE1 RequestMTUbytes

call BluetoothLE1 ScanAdvertisementsscanPeriod

call BluetoothLE1 ScanForDevicedevice

call BluetoothLE1 ScanForServiceserviceUuid

call BluetoothLE1 ServiceByIndexindex

call BluetoothLE1 StartAdvertisinginDataserviceUuid

call BluetoothLE1 StartScanning

call BluetoothLE1 StopAdvertising

call BluetoothLE1 StopScanning

call BluetoothLE1 StopScanningAdvertisements

call BluetoothLE1 SupportedCharacteristics

call BluetoothLE1 SupportedServices

call BluetoothLE1 UnregisterForValuesservice_uuidcharacteristic_uuid

call BluetoothLE1 WriteBytesserviceUuidcharacteristicUuidsignedvalues

call BluetoothLE1 WriteBytesWithResponseserviceUuidcharacteristicUuidsignedvalues

call BluetoothLE1 WriteFloatsserviceUuidcharacteristicUuidshortFloatvalues

call BluetoothLE1 WriteFloatsWithResponseserviceUuidcharacteristicUuidshortFloatvalues

call BluetoothLE1 WriteIntegersserviceUuidcharacteristicUuidsignedvalues

call BluetoothLE1 WriteIntegersWithResponseserviceUuidcharacteristicUuidsignedvalues

call BluetoothLE1 WriteShortsserviceUuidcharacteristicUuidsignedvalues

call BluetoothLE1 WriteShortsWithResponseserviceUuidcharacteristicUuidsignedvalues

call BluetoothLE1 WriteStringsserviceUuidcharacteristicUuidutf16values

call BluetoothLE1 WriteStringsWithResponseserviceUuidcharacteristicUuidutf16values

Events

when BluetoothLE1 BytesReceived serviceUuid characteristicUuid byteValues do

when BluetoothLE1 BytesWritten serviceUuid characteristicUuid byteValues do

when BluetoothLE1 Connecteddo

when BluetoothLE1 ConnectionFailed reason do

when BluetoothLE1 DeviceFounddo

when BluetoothLE1 Disconnecteddo

when BluetoothLE1 FloatsReceived serviceUuid characteristicUuid floatValues do

when BluetoothLE1 FloatsWritten serviceUuid characteristicUuid floatValues do

when BluetoothLE1 IntegersReceived serviceUuid characteristicUuid intValues do

when BluetoothLE1 IntegersWritten serviceUuid characteristicUuid intValues do

when BluetoothLE1 MTUChanged bytes do

when BluetoothLE1 RssiChanged rssi do

when BluetoothLE1 ShortsReceived serviceUuid characteristicUuid shortValues do

when BluetoothLE1 ShortsWritten serviceUuid characteristicUuid shortValues do

when BluetoothLE1 StringsReceived serviceUuid characteristicUuid stringValues do

when BluetoothLE1 StringsWritten serviceUuid characteristicUuid stringValues do