bluetooth_low_energy_platform_interface
A common platform interface for the bluetooth_low_energy plugin.
6.2.1
12K downloads/mo
#2764 most downloaded on pub.dev
yanshouwang/bluetooth_low_energy
What this package is like to depend on
Last release 7 months ago
17 Jan 2026
Ships unpredictably
gaps range from 8 days to 10 months
Nearly every release is documented
notes for 17 of 17 stable releases
4 versions withdrawn
withdrawn after publishing
3 years old
72 releases · first in 2023
2 releases in the last 12 months
see the full history below
Release timeline
72 releases · Aug 2023 to Jan 2026Releases
latest 60 of 72-
7.0.0-dev.320 Sep 2024 pre-releaseNothing published for this version
-
7.0.0-dev.216 Sep 2024 pre-releaseNothing published for this version
-
7.0.0-dev.116 Sep 2024 pre-releaseNothing published for this version
-
7.0.0-dev.015 Jun 2024 pre-releaseNothing published for this version
-
6.2.117 Jan 2026 -
6.2.013 Jan 2026Release notes
Open source →-
临时提交
-
添加发布脚本
-
fvm use 3.35.7
-
临时提交
-
优化代码
-
更新版本号,CHANGELOG.md
-
更新README.md
-
更新GATTServiceImpl类中的includedServices方法实现,抛出不支持的错误
-
支持 Swift Package Manager
-
更新 CHANGELOG.md
Release notes
Open source →- Upgrade flutter SDK to 3.35.7.
- Add
CentralManager.getPeripheralmethod. - Add
PeripheralManager.getCentralmethod. - Add
PeripheralManager.retrieveConnectedCentralsmethod. - Add
PeripheralManager.disconnectmethod.
-
-
6.1.029 Jul 2025 -
6.0.003 Jun 2024Release notes
Open source →- Add
BluetoothLowEnergyManager#authorizemethod. - Add
BluetoothLowEnergyManager#showAppSettingsmethod. - Add
CentralManager#mtuChangedevent. - Add optional
serviceUUIDsargument to theCentralManager#startDiscoverymethod. - Add
CentralManager#retrieveConnectedPeripheralsmethod. - Add
CentralManager#getMaximumWriteLengthmethod. - Add
PeripheralManager#connectionStateChangedevent. - Add
PeripheralManager#mtuChangedevent. - Add
PeripheralManager#characteristicReadRequestedevent. - Add
PeripheralManager#characteristicWriteRequestedevent. - Add
PeripheralManager#descriptorReadRequestedevent. - Add
PeripheralManager#descriptorWriteRequestedevent. - Add
PeripheralManager#getMaximumNotifyLengthmethod. - Add
PeripheralManager#respondReadRequestWithValuemethod. - Add
PeripheralManager#respondReadRequestWithErrormethod. - Add
PeripheralManager#respondWriteRequestmethod. - Add
PeripheralManager#respondWriteRequestWithErrormethod. - Move the type of
Advertisement#manufacturerSpecificDatatoList<ManufacturerSpecificData>. - Move
BluetoothLowEnergyManager#getStatetoBluetoothLowEnergyManager#state. - Move
PeripheralManager#clearServicestoPeripheralManager#removeAllServices. - Remove
PeripheralManager#characteristicReadevent. - Remove
PeripheralManager#characteristicWrittenevent.
- Add
-
6.0.0-dev.1901 Jun 2024 pre-releaseRelease notes
Open source →- Add
inttype toUUID#fromAddress. - Move the type of
Advertisement#manufacturerSpecificDatatoList<ManufacturerSpecificData>.
- Add
-
6.0.0-dev.1824 May 2024 pre-releaseRelease notes
Open source →- Add
PeripheralManager#respondReadRequestWithValue. - Add
PeripheralManager#respondReadRequestWithError. - Add
PeripheralManager#respondWriteRequest. - Add
PeripheralManager#respondWriteRequestWithError. - Remove
PeripheralManager#respondCharacteristicReadRequestWithValue. - Remove
PeripheralManager#respondCharacteristicReadRequestWithError. - Remove
PeripheralManager#respondCharacteristicWriteRequest. - Remove
PeripheralManager#respondCharacteristicWriteRequestWithError. - Remove
PeripheralManager#respondDescriptorReadRequestWithValue. - Remove
PeripheralManager#respondDescriptorReadRequestWithError. - Remove
PeripheralManager#respondDescriptorWriteRequest. - Remove
PeripheralManager#respondDescriptorWriteRequestWithError.
- Add
-
6.0.0-dev.1717 May 2024 pre-release -
6.0.0-dev.1614 May 2024 pre-releaseRelease notes
Open source →- Add
GATTService.isPrimaryfield. - Add
peripheralargument to all methods.
- Add
-
6.0.0-dev.1513 May 2024 pre-releaseRelease notes
Open source →- Add
GATTReadRequestclass. - Add
GATTWriteRequestclass. - Remove
ConnectionStateChangedEventArgsclass. - Remove
MTUChangedEventArgsclass. - Remove
GATTRequestclass. - Remove
GATTDescriptorRequestclass. - Remove
GATTDescriptorReadRequestclass. - Remove
GATTDescriptorWriteRequestclass. - Remove
GATTCharacteristicRequestclass. - Remove
GATTCharacteristicReadRequestclass. - Remove
GATTCharacteristicWriteRequestclass.
- Add
-
6.0.0-dev.1413 May 2024 pre-release -
6.0.0-dev.1313 May 2024 pre-release -
6.0.0-dev.1213 May 2024 pre-releaseRelease notes
Open source →- Add
GATTDescriptorReadRequestedEventArgsclass. - Add
GATTDescriptorWriteRequestedEventArgsclass. - Add
GATTRequestclass. - Add
GATTDescriptorRequestclass. - Add
GATTDescriptorReadRequestclass. - Add
GATTDescriptorWriteRequestclass. - Add
PeripheralManager#descriptorReadRequestedevent. - Add
PeripheralManager#descriptorWriteRequestedevent. - Add
PeripheralManager#respondDescriptorReadRequestWithValuemethod. - Add
PeripheralManager#respondDescriptorReadRequestWithErrormethod. - Add
PeripheralManager#respondDescriptorWriteRequestmethod. - Add
PeripheralManager#respondDescriptorWriteRequestWithErrormethod. - Fix errors.
- Add
-
6.0.0-dev.1112 May 2024 pre-releaseRelease notes
Open source →- Add
ConnectionStateChangedEventArgsclass. - Add
MTUChangedEventArgsclass. - Add
CentralConnectionStateChangedEventArgsclass. - Add
GATTCharacteristicReadRequestedEventArgsclass. - Add
GATTCharacteristicWriteRequestedEventArgsclass. - Add
CentralManager#getMaximumWriteLengthmethod. - Add
PeripheralManager#connectionStateChangedevent. - Add
PeripheralManager#characteristicReadRequestedevent. - Add
PeripheralManager#characteristicWriteRequestedevent. - Add
PeripheralManager#getMaximumNotifyLengthmethod. - Add
PeripheralManager#respondCharacteristicReadRequestWithValuemethod. - Add
PeripheralManager#respondCharacteristicReadRequestWithErrormethod. - Add
PeripheralManager#respondCharacteristicWriteRequestmethod. - Add
PeripheralManager#respondCharacteristicWriteRequestWithErrormethod. - Add
ImmutableGATTCharacteristicclass. - Add
GATTCharacteristicRequestclass. - Add
GATTCharacteristicReadRequestclass. - Add
GATTCharacteristicWriteRequestclass. - Add
GATTCharacteristicPermissionenum. - Add
GATTErrorenum. - Move
PeripheralManager#clearServicestoPeripheralManager#removeAllServices. - Move
BaseBluetoothLowEnergyManagertoPlatformBluetoothLowEnergyManager. - Move
BaseCentralManagertoPlatformCentralManager. - Move
BasePeripheralManagertoPlatformPeripheralManager. - Move
BaseGATTAttributetoGATTAttribute. - Move
BaseGATTDescriptortoGATTDescriptor. - Move
BaseGATTCharacteristictoGATTCharacteristic. - Move
BaseGATTServicetoGATTService. - Move
MutableGATTDescriptortoImmutableGATTCharacteristic. - Remove
GATTCharacteristicReadEventArgsclass. - Remove
GATTCharacteristicWrittenEventArgsclass. - Remove
PeripheralManager#characteristicReadevent. - Remove
PeripheralManager#characteristicWrittenevent. - Remove
MutableGATTService.
- Add
-
6.0.0-dev.1011 May 2024 pre-release -
6.0.0-dev.910 May 2024 pre-releaseRelease notes
Open source →- Add
BluetoothLowEnergyManager#authorizemethod. - Add
BluetoothLowEnergyManager#showAppSettingsmethod.
- Add
-
6.0.0-dev.809 May 2024 pre-releaseRelease notes
Open source →- Remove
logLevelargument from theCentralManagerconstrustor. - Remove
logLevelargument from thePeripheralManagerconstrustor.
- Remove
-
6.0.0-dev.708 May 2024 pre-releaseRelease notes
Open source →- Add
logLevelargument to theCentralManagerconstrustor. - Add
logLevelargument to thePeripheralManagerconstrustor.
- Add
-
6.0.0-dev.608 May 2024 pre-releaseRelease notes
Open source →- Move
ConnectionStateChangedEventArgstoPeripheralConnectionStateChangedEventArgs. - Move
MTUChangedEventArgstoPeripheralMTUChangedEventArgs. - Add
ConnectionStateenum. - Add
CentralMTUChangedEventArgsclass. - Add
PeripheralManager#mtuChangedevent.
- Move
-
6.0.0-dev.507 May 2024 pre-release -
6.0.0-dev.407 May 2024 pre-releaseRelease notes
Open source →- Add
CentralManager#mtuChangedevent. - Add modifiers to all classes.
- Use new capitalization rules.
- Add
-
6.0.0-dev.305 May 2024 pre-releaseRelease notes
Open source →- Remove
abstractkeyword fromCentralclass. - Remove
abstractkeyword fromPeripheralclass.
- Remove
-
6.0.0-dev.205 May 2024 pre-releaseRelease notes
Open source →- Remove
BluetoothLowEnergyManager#authorizemethod. - Move
BluetoothLowEnergyManager#getStatetoBluetoothLowEnergyManager#state.
- Remove
-
6.0.0-dev.104 May 2024 pre-release -
6.0.0-dev.002 May 2024 pre-release -
5.1.014 Apr 2024 withdrawnNothing published for this version
-
5.0.201 Feb 2024 -
5.0.101 Feb 2024Release notes
Open source →- Change GATT characteristic and descriptor's
valuearguments to optional. - Change GATT characteristic's
descriptorsarguments to optional.
- Change GATT characteristic and descriptor's
-
5.0.030 Dec 2023Release notes
Open source →- Now
CentralManager#writeCharacteristicandPeripheralManager#writeCharacteristicwill fragment the value automatically, the maximum write length is 512 bytes. - Add
UUID#fromAddressconstructor. - Add
GattCharacteristicReadEventArgsandGattCharacteristicWrittenEventArgs. - Add
PeripheralManager#characteristicReadandPeripheralManager#characteristicWritten. - Add
PeripheralManager#readCharacteristic. - Remove
CentralManager#getMaximumWriteLengthmethod. - Remove
PeripheralManager#getMaximumWriteLengthmethod. - Remove
ReadGattCharacteristicCommandEventArgsandWriteGattCharacteristicCommandEventArgs. - Remove
PeripheralManager#readCharacteristicCommandReceivedandPeripheralManager#writeCharacteristicCommandReceived. - Remove
PeripheralManager#sendReadCharacteristicReplyandPeripheralManager#sendWriteCharacteristicReply. - Move
CentralManager#statetoCentralManager#getState(). - Move
PeripheralStateChangedEventArgstoConnectionStateChangedEventArgs. - Move
CentralManager#peripheralStateChangedtoCentralManager#connectionStateChanged. - Move
GattCharacteristicValueChangedEventArgstoGattCharacteristicNotifiedEventArgs. - Move
CentralManager#characteristicValueChangedtoCentralManager#characteristicNotified. - Move
CentralManager#notifyCharacteristictoCentralManager#setCharacteristicNotifyState. - Move
PeripheralManager#notifyCharacteristicValueChangedtoPeripheralManager#writeCharacteristic. - Move
NotifyGattCharacteristicCommandEventArgstoGattCharacteristicNotifyStateChangedEventArgs. - Move
PeripheralManager#notifyCharacteristicCommandReceivedtoPeripheralManager#characteristicNotifyStateChanged.
- Now
-
5.0.0-dev.1026 Dec 2023 pre-release -
5.0.0-dev.926 Dec 2023 pre-release -
5.0.0-dev.826 Dec 2023 pre-releaseRelease notes
Open source →- Add
PeripheralManager#readCharacteristic. - Move
PeripheralManager#notifyCharacteristictoPeripheralManager#writeCharacteristic.
- Add
-
5.0.0-dev.725 Dec 2023 pre-releaseRelease notes
Open source →- Remove
GattCharacteristicReadEventArgs. - Remove
PeripheralManager#characteristicRead.
- Remove
-
5.0.0-dev.619 Dec 2023 pre-releaseRelease notes
Open source →- Remove the final modifier form
MyGattCharacteristic#valueandMyGattDescriptor#valueand trim by 512 bytes.
- Remove the final modifier form
-
5.0.0-dev.519 Dec 2023 pre-releaseRelease notes
Open source →- Move
CentralManager#statetoCentralManager#getState(). - Move
PeripheralStateChangedEventArgstoConnectionStateChangedEventArgs. - Move
GattCharacteristicValueChangedEventArgstoGattCharacteristicNotifiedEventArgs. - Move
CentralManager#peripheralStateChangedtoCentralManager#connectionStateChanged. - Move
CentralManager#characteristicValueChangedtoCentralManager#characteristicNotified. - Move
CentralManager#notifyCharacteristictoCentralManager#setCharacteristicNotifyState. - Remove
ReadGattCharacteristicCommandEventArgsandWriteGattCharacteristicCommandEventArgs. - Move
NotifyGattCharacteristicCommandEventArgstoGattCharacteristicNotifyStateChangedEventArgs. - Remove
PeripheralManager#readCharacteristicCommandReceivedandPeripheralManager#writeCharacteristicCommandReceived. - Add
PeripheralManager#characteristicReadandPeripheralManager#characteristicWritten. - Move
PeripheralManager#notifyCharacteristicCommandReceivedtoPeripheralManager#characteristicNotifyStateChanged. - Remove
PeripheralManager#sendReadCharacteristicReplyandPeripheralManager#sendWriteCharacteristicReply. - Add
GattCharacteristicReadEventArgsandGattCharacteristicWrittenEventArgs. - Move
PeripheralManager#notifyCharacteristicValueChangedtoPeripheralManager#notifyCharacteristic. - Remove
MyCentralManagerandMyPeripheralManager.
- Move
-
5.0.0-dev.411 Dec 2023 pre-release -
5.0.0-dev.305 Dec 2023 pre-releaseRelease notes
Open source →- Remove
CentralManager#getMaximumWriteLengthmethod. - Remove
PeripheralManager#getMaximumWriteLengthmethod.
- Remove
-
5.0.0-dev.218 Nov 2023 pre-releaseRelease notes
Open source →- Add
UUID#fromAddressconstructor. - Override
hashCodeand==ofMyCentralandMyPeripheral.
- Add
-
5.0.0-dev.109 Nov 2023 pre-releaseRelease notes
Open source →- Add
MyBluetoothLowEnergyPeerandMyGattAttribute. - Remove
MyObjectbase class. - Use
LoggerProviderinstead of custom logger.
- Add
-
4.1.109 Nov 2023 withdrawnNothing published for this version
-
4.1.008 Nov 2023 withdrawnNothing published for this version
-
4.0.108 Nov 2023 withdrawnNothing published for this version
-
4.0.030 Oct 2023Release notes
Open source →- Remove
BluetoothLowEnergyclass. - Update
CentralMangerto extendsPlatformInterface. - Update
PeripheralManagerto extendsPlatformInterface. - Update
README.md. - Change some
PeripheralManagermethods' arguments to required optional arguments. - Move
AdvertiseDataclass toAdvertisementclass. - Remove
BluetoothLowEnergyErrorclass. - Add
MyCentralManagerandMyPeripheralManagerabstract classes. - Add
LogControllerinterface toBluetoothLowEnergyManager. - Fix issues.
- Remove
-
4.0.0-dev.1230 Oct 2023 pre-release -
4.0.0-dev.1130 Oct 2023 pre-release -
4.0.0-dev.1026 Oct 2023 pre-releaseRelease notes
Open source →- Fix the issue that messages were logged twice and other logger's messages were also logged by this logger.
-
4.0.0-dev.926 Oct 2023 pre-releaseRelease notes
Open source →- Remove
Logger, useloggingpackage instead. - Add
SetUpinterface class andMySetUpmixin. - Add
LoggerControllerinterface class andMyLoggerControllermixin. - Update
CentralManagerto implementsSetUpandLoggerController. - Update
PeripheralManagerto implementsSetUpandLoggerController.
- Remove
-
4.0.0-dev.826 Oct 2023 pre-releaseRelease notes
Open source →- Remove
BluetoothLowEnergyError, usePlatformExceptioninstead. - Add
MyCentralManagerandMyPeripheralManagerabstract classes. - Optimize project's structure.
- Remove
-
4.0.0-dev.725 Oct 2023 pre-releaseRelease notes
Open source →- Remove
Logger.levelfiled, as the level ofloggingpackage is a global option, which can be changed by anyone.
- Remove
-
4.0.0-dev.625 Oct 2023 pre-release -
4.0.0-dev.525 Oct 2023 pre-release -
4.0.0-dev.425 Oct 2023 pre-release -
4.0.0-dev.325 Oct 2023 pre-releaseRelease notes
Open source →- Change some
PeripheralManagermethods' arguments to required optional arguments.
- Change some
-
4.0.0-dev.225 Oct 2023 pre-release -
4.0.0-dev.125 Oct 2023 pre-releaseRelease notes
Open source →- Remove
BluetoothLowEnergyclass. - Update
CentralMangerto extendsPlatformInterface. - Update
PeripheralManagerto extendsPlatformInterface. - Update
README.md.
- Remove
-
3.0.010 Oct 2023Release notes
Open source →- Add
PeripheralManagerapi. - Add
CentralManager#readRSSImethod. - Add
CentralManager.instanceapi. - Add
PeripheralManager.instanceapi. - Move
CentralControllertoCentralManager. - Move
CentralStatetoBluetoothLowEnergyState. - Move
CentralDiscoveredEventArgstoDiscoveredEventArgs. - Move
Advertisementclass toAdvertiseDataclass. - Move
setUpmethod fromBluetoothLowEnergyclass toBluetoothLowEnergyMangerclass. - Change the type of
manufacturerSpecificDatafromMap<int, Uint8List>toManufacturerSpecificData. - Fix the issue that
UUID.fromString()throw FormatException with 32 bits UUID string. - Fix known issues.
- Add
-
3.0.0-dev.510 Oct 2023 pre-release