NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #2799 most downloaded on pub.dev
A common platform interface for the bluetooth_low_energy plugin.
Last release 8 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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
修复 bad varient access 错误 隐藏非接口类型 更新版本号
修复 bad varient access 错误
隐藏非接口类型
更新版本号
更新GATTServiceImpl类中的includedServices方法实现,抛出不支持的错误
临时提交
添加发布脚本
fvm use 3.35.7
临时提交
优化代码
更新版本号,CHANGELOG.md
更新README.md
更新GATTServiceImpl类中的includedServices方法实现,抛出不支持的错误
支持 Swift Package Manager
更新 CHANGELOG.md
CentralManager.getPeripheral method.PeripheralManager.getCentral method.PeripheralManager.retrieveConnectedCentrals method.PeripheralManager.disconnect method.* Upgrade flutter SDK to 3.29.3. * Upgrade dependencies.
Add BluetoothLowEnergyManager#authorize method.
BluetoothLowEnergyManager#authorize method.BluetoothLowEnergyManager#showAppSettings method.CentralManager#mtuChanged event.serviceUUIDs argument to the CentralManager#startDiscovery method.CentralManager#retrieveConnectedPeripherals method.CentralManager#getMaximumWriteLength method.PeripheralManager#connectionStateChanged event.PeripheralManager#mtuChanged 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.Advertisement#manufacturerSpecificData to List<ManufacturerSpecificData>.BluetoothLowEnergyManager#getState to BluetoothLowEnergyManager#state.PeripheralManager#clearServices to PeripheralManager#removeAllServices.PeripheralManager#characteristicRead event.PeripheralManager#characteristicWritten event.Add int type to UUID#fromAddress.
int type to UUID#fromAddress.Advertisement#manufacturerSpecificData to List<ManufacturerSpecificData>.Add PeripheralManager#respondReadRequestWithValue.
PeripheralManager#respondReadRequestWithValue.PeripheralManager#respondReadRequestWithError.PeripheralManager#respondWriteRequest.PeripheralManager#respondWriteRequestWithError.PeripheralManager#respondCharacteristicReadRequestWithValue.PeripheralManager#respondCharacteristicReadRequestWithError.PeripheralManager#respondCharacteristicWriteRequest.PeripheralManager#respondCharacteristicWriteRequestWithError.PeripheralManager#respondDescriptorReadRequestWithValue.PeripheralManager#respondDescriptorReadRequestWithError.PeripheralManager#respondDescriptorWriteRequest.PeripheralManager#respondDescriptorWriteRequestWithError.Remove Uint8List#trimGATT method.
Uint8List#trimGATT method.Add GATTService.isPrimary field.
GATTService.isPrimary field.peripheral argument to all methods.Remove ConnectionStateChangedEventArgs class.
GATTReadRequest class.GATTWriteRequest class.ConnectionStateChangedEventArgs class.MTUChangedEventArgs class.GATTRequest class.GATTDescriptorRequest class.GATTDescriptorReadRequest class.GATTDescriptorWriteRequest class.GATTCharacteristicRequest class.GATTCharacteristicReadRequest class.GATTCharacteristicWriteRequest class.* Fix errors.
Add MutableGATTDescriptor#permissions field.
MutableGATTDescriptor#permissions field.Add GATTDescriptorReadRequestedEventArgs class.
GATTDescriptorReadRequestedEventArgs class.GATTDescriptorWriteRequestedEventArgs class.GATTRequest class.GATTDescriptorRequest class.GATTDescriptorReadRequest class.GATTDescriptorWriteRequest class.PeripheralManager#descriptorReadRequested event.PeripheralManager#descriptorWriteRequested event.PeripheralManager#respondDescriptorReadRequestWithValue method.PeripheralManager#respondDescriptorReadRequestWithError method.PeripheralManager#respondDescriptorWriteRequest method.PeripheralManager#respondDescriptorWriteRequestWithError method.Add ConnectionStateChangedEventArgs class.
ConnectionStateChangedEventArgs class.MTUChangedEventArgs class.CentralConnectionStateChangedEventArgs class.GATTCharacteristicReadRequestedEventArgs class.GATTCharacteristicWriteRequestedEventArgs class.CentralManager#getMaximumWriteLength method.PeripheralManager#connectionStateChanged event.PeripheralManager#characteristicReadRequested event.PeripheralManager#characteristicWriteRequested event.PeripheralManager#getMaximumNotifyLength method.PeripheralManager#respondCharacteristicReadRequestWithValue method.PeripheralManager#respondCharacteristicReadRequestWithError method.PeripheralManager#respondCharacteristicWriteRequest method.PeripheralManager#respondCharacteristicWriteRequestWithError method.ImmutableGATTCharacteristic class.GATTCharacteristicRequest class.GATTCharacteristicReadRequest class.GATTCharacteristicWriteRequest class.GATTCharacteristicPermission enum.GATTError enum.PeripheralManager#clearServices to PeripheralManager#removeAllServices.BaseBluetoothLowEnergyManager to PlatformBluetoothLowEnergyManager.BaseCentralManager to PlatformCentralManager.BasePeripheralManager to PlatformPeripheralManager.BaseGATTAttribute to GATTAttribute.BaseGATTDescriptor to GATTDescriptor.BaseGATTCharacteristic to GATTCharacteristic.BaseGATTService to GATTService.MutableGATTDescriptor to ImmutableGATTCharacteristic.GATTCharacteristicReadEventArgs class.GATTCharacteristicWrittenEventArgs class.PeripheralManager#characteristicRead event.PeripheralManager#characteristicWritten event.MutableGATTService.* Fix bugs.
Add BluetoothLowEnergyManager#authorize method.
BluetoothLowEnergyManager#authorize method.BluetoothLowEnergyManager#showAppSettings method.Remove logLevel argument from the CentralManager construstor.
logLevel argument from the CentralManager construstor.logLevel argument from the PeripheralManager construstor.Add logLevel argument to the CentralManager construstor.
logLevel argument to the CentralManager construstor.logLevel argument to the PeripheralManager construstor.Move ConnectionStateChangedEventArgs to PeripheralConnectionStateChangedEventArgs.
ConnectionStateChangedEventArgs to PeripheralConnectionStateChangedEventArgs.MTUChangedEventArgs to PeripheralMTUChangedEventArgs.ConnectionState enum.CentralMTUChangedEventArgs class.PeripheralManager#mtuChanged event.* Use new capitalization rules.
Add CentralManager#mtuChanged event.
CentralManager#mtuChanged event.Remove abstract keyword from Central class.
abstract keyword from Central class.abstract keyword from Peripheral class.Remove BluetoothLowEnergyManager#authorize method.
BluetoothLowEnergyManager#authorize method.BluetoothLowEnergyManager#getState to BluetoothLowEnergyManager#state.Migrate hybrid_core to hybrid_logging.
hybrid_core to hybrid_logging.Add `CentralManager#retrieveConnectedPeripherals` method.
Nothing published for this version
Revert GATT characteristic's descriptors arguments to required.
descriptors arguments to required.Change GATT characteristic and descriptor's value arguments to optional.
value arguments to optional.descriptors arguments to optional.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 Uint8List#trimGATT throws when the value is not exceeded 512 bytes.
Uint8List#trimGATT throws when the value is not exceeded 512 bytes.Add PeripheralManager#characteristicRead.
PeripheralManager#characteristicRead.Add PeripheralManager#readCharacteristic.
PeripheralManager#readCharacteristic.PeripheralManager#notifyCharacteristic to PeripheralManager#writeCharacteristic.Remove GattCharacteristicReadEventArgs.
GattCharacteristicReadEventArgs.PeripheralManager#characteristicRead.Remove the final modifier form MyGattCharacteristic#value and MyGattDescriptor#value and trim by 512 bytes.
MyGattCharacteristic#value and MyGattDescriptor#value and trim by 512 bytes.Move CentralManager#state to CentralManager#getState().
CentralManager#state to CentralManager#getState().PeripheralStateChangedEventArgs to ConnectionStateChangedEventArgs.GattCharacteristicValueChangedEventArgs to GattCharacteristicNotifiedEventArgs.CentralManager#peripheralStateChanged to CentralManager#connectionStateChanged.CentralManager#characteristicValueChanged to CentralManager#characteristicNotified.CentralManager#notifyCharacteristic to CentralManager#setCharacteristicNotifyState.ReadGattCharacteristicCommandEventArgs and WriteGattCharacteristicCommandEventArgs.NotifyGattCharacteristicCommandEventArgs to GattCharacteristicNotifyStateChangedEventArgs.PeripheralManager#readCharacteristicCommandReceived and PeripheralManager#writeCharacteristicCommandReceived.PeripheralManager#characteristicRead and PeripheralManager#characteristicWritten.PeripheralManager#notifyCharacteristicCommandReceived to PeripheralManager#characteristicNotifyStateChanged.PeripheralManager#sendReadCharacteristicReply and PeripheralManager#sendWriteCharacteristicReply.GattCharacteristicReadEventArgs and GattCharacteristicWrittenEventArgs.PeripheralManager#notifyCharacteristicValueChanged to PeripheralManager#notifyCharacteristic.MyCentralManager and MyPeripheralManager.Optimize MyGattService and MyGattCharacteristic.
MyGattService and MyGattCharacteristic.Remove CentralManager#getMaximumWriteLength method.
CentralManager#getMaximumWriteLength method.PeripheralManager#getMaximumWriteLength method.Add UUID#fromAddress constructor.
UUID#fromAddress constructor.hashCode and == of MyCentral and MyPeripheral.Add MyBluetoothLowEnergyPeer and MyGattAttribute.
MyBluetoothLowEnergyPeer and MyGattAttribute.MyObject base class.LoggerProvider instead of custom logger.Nothing published for this version
Nothing published for this version
Nothing published for this version
Remove BluetoothLowEnergy class.
BluetoothLowEnergy class.CentralManger to extends PlatformInterface.PeripheralManager to extends PlatformInterface.README.md.PeripheralManager methods' arguments to required optional arguments.AdvertiseData class to Advertisement class.BluetoothLowEnergyError class.MyCentralManager and MyPeripheralManager abstract classes.LogController interface to BluetoothLowEnergyManager.* Update log_service dependency.
log_service dependency.Use log_service instead of logging to simplify project structure.
log_service instead of logging to simplify project structure.Fix the issue that messages were logged twice and other logger's messages were also logged by this logger.
Remove Logger, use logging package instead.
Logger, use logging package instead.SetUp interface class and MySetUp mixin.LoggerController interface class and MyLoggerController mixin.CentralManager to implements SetUp and LoggerController.PeripheralManager to implements SetUp and LoggerController.Remove BluetoothLowEnergyError, use PlatformException instead.
BluetoothLowEnergyError, use PlatformException instead.MyCentralManager and MyPeripheralManager abstract classes.Remove Logger.level filed, as the level of logging package is a global option, which can be changed by anyone.
Logger.level filed, as the level of logging package is a global option, which can be changed by anyone.Move AdvertiseData class to Advertisement class.
AdvertiseData class to Advertisement class.* Fix export error.
* Optimize project's structure.
Change some PeripheralManager methods' arguments to required optional arguments.
PeripheralManager methods' arguments to required optional arguments.* Add Logger class.
Logger class.Remove BluetoothLowEnergy class.
BluetoothLowEnergy class.CentralManger to extends PlatformInterface.PeripheralManager to extends PlatformInterface.README.md.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.Move Advertisement class to AdvertiseData class.
Advertisement class to AdvertiseData class.Your coding agent can read these notes before it upgrades. Set up the MCP server →