NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #2821 most downloaded on pub.dev
Android implementation of the bluetooth_low_energy plugin.
Latest stable
6.2.1
Last release 10 months ago
17 Jan 2026
Ships unpredictably
gaps range from 9 days to 13 months
Nearly every release is documented
notes for 25 of 25 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
46 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
修复 bad varient access 错误 隐藏非接口类型 更新版本号
修复 bad varient access 错误
隐藏非接口类型
更新版本号
Add CentralManager.getPeripheral method.
CentralManager.getPeripheral method.PeripheralManager.getCentral method.PeripheralManager.retrieveConnectedCentrals method.PeripheralManager.disconnect method.AndroidManifest.xml.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Remove location usage when target Android 12 or higher.
Use `isMultipleAdvertisementSupported` to check whether `PeripheralManager` is supported on this device..
Android Use `isMultipleAdvertisementSupported` to check whether `PeripheralManager` is supported on this device..
Android Fix the issue that advertisement name is wrong when advertising.
Android Fix the issue that advertisement name is wrong when advertising.Add `CentralManager#retrieveConnectedPeripherals` method.
CentralManager#retrieveConnectedPeripherals method.serviceUUIDs argument to the CentralManager#startDiscovery method.CentralManager#mtuChanged event.PeripheralManager#mtuChanged event.BluetoothLowEnergyManager#authorize method.BluetoothLowEnergyManager#showAppSettings method.CentralManager#requestMTU method.CentralManager#getMaximumWriteLength method.PeripheralManager#connectionStateChanged event.PeripheralManager#characteristicReadRequested event.PeripheralManager#characteristicWriteRequested event.PeripheralManager#descriptorReadRequested event.PeripheralManager#descriptorWriteRequested event.PeripheralManager#getMaximumNotifyLength method.PeripheralManager#respondReadRequestWithValue method.PeripheralManager#respondReadRequestWithError method.PeripheralManager#respondWriteRequest method.PeripheralManager#respondWriteRequestWithError method.ConnectionState enum.GATTService.isPrimary field.GATTService#includedServices field.MutableGATTCharacteristic#permissions field.MutableGATTDescriptor#permissions field.int type to UUID#fromAddress.CentralManger.instance to factory constructor.PeripheralManager.instance to factory constructor.Advertisement#manufacturerSpecificData to List<ManufacturerSpecificData>.BluetoothLowEnergyManager#getState to BluetoothLowEnergyManager#state.PeripheralManager#clearServices to PeripheralManager#removeAllServices.BluetoothLowEnergyManager#setUp method.PeripheralManager#characteristicRead event.PeripheralManager#characteristicWritten event.PeripheralManager#readCharacteristic method.PeripheralManager#writeCharacteristic method.Cannot access value of empty optional.serviceUUIDs argument to CentralManager#startDiscovery method.CentralManager#requestMTU method.CentralManager#retrieveConnectedPeripherals method.BluetoothLowEnergyManager#getState to BluetoothLowEnergyManager#state.CentralManger.instance to factory constructor.PeripheralManager.instance to factory constructor.BluetoothLowEnergyManager#setUp method.CentralManager#mtuChanged event.PeripheralManager#mtuChanged event.BluetoothLowEnergyManager.authorize() method.BluetoothLowEnergyManager.showAppSettings() method.* Fix known issues.
* Rewrite example with MVVM. * Fix known issues.
* Implement new APIs.
* Move organizaioin.
* Implement new APIs.
Add CentralManager#mtuChanged event.
CentralManager#mtuChanged event.PeripheralManager#mtuChanged event.BluetoothLowEnergyManager.authorize() method.BluetoothLowEnergyManager.showAppSettings() method.logLevel before initialize().Add serviceUUIDs argument to CentralManager#startDiscovery method.
serviceUUIDs argument to CentralManager#startDiscovery method.CentralManager#requestMTU method.CentralManager#retrieveConnectedPeripherals method.BluetoothLowEnergyManager#getState to BluetoothLowEnergyManager#state.CentralManger.instance to factory constructor.PeripheralManager.instance to factory constructor.BluetoothLowEnergyManager#setUp method.Windows Fix the `CentralManager#discoverGATT`, `CentralManager#readCharacteristic` and `CentralManager#readDescriptor` issue caused by cache mode.
Windows Fix the CentralManager#discoverGATT, CentralManager#readCharacteristic and CentralManager#readDescriptor issue caused by cache mode.NullPointerException* iOS Fix issues caused by CoW.
iOS Fix issues caused by CoW.Fix the issue that throws when read the CCCD(Client Characteristic Config Descriptor, 0x2902).
Fix the ConcurrentModificationException when PeripheralManager#clearServices is called.
PeripheralManager#clearServices is called.CentralManager#setUp and PeripheralManager#setUp were blocked.Fix the wrong blutooth low energy state caused by multi permission requests at the same time.
Now CentralManager#writeCharacteristic and PeripheralManager#writeCharacteristic will fragment the value automatically, the maximum write length is 51
CentralManager#writeCharacteristic and PeripheralManager#writeCharacteristic will fragment the value automatically, the maximum write length is 512 bytes.UUID#fromAddress constructor.GattCharacteristicReadEventArgs and GattCharacteristicWrittenEventArgs.PeripheralManager#characteristicRead and PeripheralManager#characteristicWritten.PeripheralManager#readCharacteristic.CentralManager#getMaximumWriteLength method.PeripheralManager#getMaximumWriteLength method.ReadGattCharacteristicCommandEventArgs and WriteGattCharacteristicCommandEventArgs.PeripheralManager#readCharacteristicCommandReceived and PeripheralManager#writeCharacteristicCommandReceived.PeripheralManager#sendReadCharacteristicReply and PeripheralManager#sendWriteCharacteristicReply.CentralManager#state to CentralManager#getState().PeripheralStateChangedEventArgs to ConnectionStateChangedEventArgs.CentralManager#peripheralStateChanged to CentralManager#connectionStateChanged.GattCharacteristicValueChangedEventArgs to GattCharacteristicNotifiedEventArgs.CentralManager#characteristicValueChanged to CentralManager#characteristicNotified.CentralManager#notifyCharacteristic to CentralManager#setCharacteristicNotifyState.PeripheralManager#notifyCharacteristicValueChanged to PeripheralManager#writeCharacteristic.NotifyGattCharacteristicCommandEventArgs to GattCharacteristicNotifyStateChangedEventArgs.PeripheralManager#notifyCharacteristicCommandReceived to PeripheralManager#characteristicNotifyStateChanged.Fix the issue that PeripheralMananger#startAdvertising throws after powered off.\
PeripheralMananger#startAdvertising throws after powered off.\* Implements new Api.
Fix the issue that PeripheralManager's service duplicated after hot reload.
PeripheralManager#notifyCharacteristicChanged lost data when value is larger then the MTU size.Remove CentralManager#getMaximumWriteLength method.
5.0.0 api.CentralManager#getMaximumWriteLength method.PeripheralManager#getMaximumWriteLength method.Remove BluetoothLowEnergy class.
BluetoothLowEnergy class.CentralManger to extends PlatformInterface.PeripheralManager to extends PlatformInterface.PeripheralManager methods' arguments to required optional arguments.AdvertiseData class to Advertisement class.BluetoothLowEnergyError class.MyCentralManager and MyPeripheralManager abstract classes.LogController interface to BluetoothLowEnergyManager.* Optimize project structure.
Optimize the import method of the example.
example.Remove BluetoothLowEnergy class.
BluetoothLowEnergy class.CentralManger to extends PlatformInterface.PeripheralManager to extends PlatformInterface.AdvertiseData class to Advertisement class.logging dependency.example.Fix the issue android device: requestMtu issue #22
Fix the issue that getMaximumWriteLength is wrong and coerce the value from 20 to 512.
getMaximumWriteLength is wrong and coerce the value from 20 to 512.Request MTU with 517 automatically.
CentralManager#getMaximumWriteLength is wrong when write with response and coerce the value from 20 to 512.Fix GATT server error aftter bluetooth reopened.
Add CentralManager#readRSSI method.
PeripheralManager api.CentralManager#readRSSI method.CentralManager.instance api.PeripheralManager.instance api.CentralController to CentralManager.CentralState to BluetoothLowEnergyState.CentralDiscoveredEventArgs to DiscoveredEventArgs.Advertisement class to AdvertiseData class.setUp method from BluetoothLowEnergy class to BluetoothLowEnergyManger class.manufacturerSpecificData from Map<int, Uint8List> to ManufacturerSpecificData.UUID.fromString() throw FormatException with 32 bits UUID string.Add default CCCD to GATT characteristic for notify and indicate.
CCCD to GATT characteristic for notify and indicate.Fix the issue that the BLUETOOTH_ADVERTISE permission is not requested.
BLUETOOTH_ADVERTISE permission is not requested.Move Advertisement class to AdvertiseData class.
Advertisement class to AdvertiseData class.Fix the issue that `UUID.fromString()` throw FormatException with 32 bits UUID string.
UUID.fromString() throw FormatException with 32 bits UUID string.manufacturerSpecificData from Map<int, Uint8List> to ManufacturerSpecificData.Move setUp method from BluetoothLowEnergy class to BluetoothLowEnergyManger class.
setUp method from BluetoothLowEnergy class to BluetoothLowEnergyManger class.CentralManager.instance api.PeripheralManager.instance api.* Implement new api.
Fix the issue that CentralController#getMaximumWriteLength may throw.
CentralController#getMaximumWriteLength may throw.Add CentralController#getMaximumWriteLength method.
CentralController#getMaximumWriteLength method.Android Fix the issuce that receive wrong values caused by unsafe memory, see https://developer.android.com/reference/android/bluetooth/BluetoothGattC
Android Migrate to Android 13.Android Fix the issuce that receive wrong values caused by unsafe memory, see https://developer.android.com/reference/android/bluetooth/BluetoothGattCallback#onCharacteristicChanged(android.bluetooth.BluetoothGatt,%20android.bluetooth.BluetoothGattCharacteristic)Combine iOS and macOS projects.
Fix the issue that GATTs is cleared after peripheral disconnected on iOS and macOS.
Rewrite the whole project with federated plugins.
One column per quarter.