bluetooth_low_energy 5.0.5
bluetooth_low_energy: ^5.0.5 copied to clipboard
A Flutter plugin for controlling the bluetooth low energy, supports central and peripheral apis.
5.0.5 #
WindowsFix theCentralManager#discoverGATT,CentralManager#readCharacteristicandCentralManager#readDescriptorissue caused by cache mode.
5.0.4 #
iOSFix issues caused by CoW.
5.0.3 #
AndroidFix the wrong blutooth low energy state caused by multi permission requests at the same time.AndroidFix the ConcurrentModificationException whenPeripheralManager#clearServicesis called.
5.0.2 #
iOSFix the issue that discoverGATT failed caused by CoW.
5.0.1 #
iOSFix the issue that completion was called duplicately caused by CoW.
5.0.0 #
- Now
CentralManager#writeCharacteristicandPeripheralManager#writeCharacteristicwill fragment the value automatically, the maximum write length is 512 bytes. - Add implementation of
CentralManageron windows platform. - 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.
5.0.0-dev.3 #
- Add logs on Linux platform.
5.0.0-dev.2 #
- Add default_package of windows in pubspec.yaml.
5.0.0-dev.1 #
- 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.
4.0.0 #
- Remove
BluetoothLowEnergyclass. - Update
CentralMangerto extendsPlatformInterface. - Update
PeripheralManagerto extendsPlatformInterface. - Change some
PeripheralManagermethods' arguments to required optional arguments. - Move
AdvertiseDataclass toAdvertisementclass. - Remove
BluetoothLowEnergyErrorclass. - Add
MyCentralManagerandMyPeripheralManagerabstract classes. - Add
LogControllerinterface toBluetoothLowEnergyManager. - Fix issues.
4.0.0-dev.1 #
- Remove
BluetoothLowEnergyclass. - Update
CentralMangerto static class. - Update
PeripheralManagerto static class. - Move
AdvertiseDataclass toAdvertisementclass. - Update
example.
3.0.3 #
AndroidFix the issue android device: requestMtu issue #22
3.0.2 #
AndroidiOSFix the issue thatgetMaximumWriteLengthis wrong and coerce the value from 20 to 512.AndroidiOSFix the issue that the peripheral manager response is wrong.AndroidRequest MTU with 517 automatically.
3.0.1 #
AndroidClear cache when disconnected.AndroidFix GATT server error aftter bluetooth reopened.iOSFix the issue that write characteristic will never complete when write without response.iOSFix the issue that write characteristic will never complete after disconnected.
3.0.0 #
- 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.
3.0.0-dev.4 #
- Move
Advertisementclass toAdvertiseDataclass. - Fix known issues.
3.0.0-dev.3 #
- Fix the issue that
UUID.fromString()throw FormatException with 32 bits UUID string. - Change the type of
manufacturerSpecificDatafromMap<int, Uint8List>toManufacturerSpecificData.
3.0.0-dev.2 #
- Move
setUpmethod fromBluetoothLowEnergyclass toBluetoothLowEnergyMangerclass. - Add
CentralManager.instanceapi. - Add
PeripheralManager.instanceapi.
3.0.0-dev.1 #
- Add
PeripheralManagerapi. - Add
CentralManager#readRSSImethod. - Move
CentralControllertoCentralManager. - Move
CentralStatetoBluetoothLowEnergyState. - Move
CentralDiscoveredEventArgstoDiscoveredEventArgs.
2.2.1 #
AndroidFix the issue thatCentralController#getMaximumWriteLengthmay throw.
2.2.0 #
- Add
CentralController#getMaximumWriteLengthmethod.
2.0.3 #
AndroidMigrate to Android 13.AndroidFix 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)
2.0.2 #
- Combine iOS and macOS projects.
- Optimize project structure.
2.0.1 #
- Fix the issue that GATTs is cleared after peripheral disconnected on iOS and macOS.
- Fix the issue that create UUID form peripheral's address failed on Linux.
- Fix the issue that instance match failed on Linux.
2.0.0 #
- Rewrite the whole project with federated plugins.
- Support macOS and Linux.
1.1.0 #
- Fix the crash by onMtuChanged called multi-times on Android.
- Fix the finalizer doesn't work issue.
- Make some break changes.
1.0.0 #
- Upgrade to flutter 3.x.
- Rewrite the whole project with pigeon.
0.1.0 #
- Add implementations on iOS.
- Combine available and state for Bluetooth.
- Add connectable for Discovery.
- Add maximumWriteLength for GATT.
0.0.2 #
- Fix connect blocked when bluetooth closed.
- Fix wrong repository url.
- Move all example files to main.dart.
0.0.1 #
- Add central APIs.
- Add implementations on Android.
- Add example.
- Add test.