bluetooth_low_energy_platform_interface 6.1.0
bluetooth_low_energy_platform_interface: ^6.1.0 copied to clipboard
A common platform interface for the bluetooth_low_energy plugin.
6.1.0 #
- Upgrade flutter SDK to 3.29.3.
- Upgrade dependencies.
6.0.0 #
- 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.
6.0.0-dev.19 #
- Add
inttype toUUID#fromAddress. - Move the type of
Advertisement#manufacturerSpecificDatatoList<ManufacturerSpecificData>.
6.0.0-dev.18 #
- 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.
6.0.0-dev.17 #
- Remove
Uint8List#trimGATTmethod.
6.0.0-dev.16 #
- Add
GATTService.isPrimaryfield. - Add
peripheralargument to all methods.
6.0.0-dev.15 #
- Add
GATTReadRequestclass. - Add
GATTWriteRequestclass. - Remove
ConnectionStateChangedEventArgsclass. - Remove
MTUChangedEventArgsclass. - Remove
GATTRequestclass. - Remove
GATTDescriptorRequestclass. - Remove
GATTDescriptorReadRequestclass. - Remove
GATTDescriptorWriteRequestclass. - Remove
GATTCharacteristicRequestclass. - Remove
GATTCharacteristicReadRequestclass. - Remove
GATTCharacteristicWriteRequestclass.
6.0.0-dev.14 #
- Fix errors.
6.0.0-dev.13 #
- Add
MutableGATTDescriptor#permissionsfield. - Fix errors.
6.0.0-dev.12 #
- 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.
6.0.0-dev.11 #
- 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.
6.0.0-dev.10 #
- Fix bugs.
6.0.0-dev.9 #
- Add
BluetoothLowEnergyManager#authorizemethod. - Add
BluetoothLowEnergyManager#showAppSettingsmethod.
6.0.0-dev.8 #
- Remove
logLevelargument from theCentralManagerconstrustor. - Remove
logLevelargument from thePeripheralManagerconstrustor.
6.0.0-dev.7 #
- Add
logLevelargument to theCentralManagerconstrustor. - Add
logLevelargument to thePeripheralManagerconstrustor.
6.0.0-dev.6 #
- Move
ConnectionStateChangedEventArgstoPeripheralConnectionStateChangedEventArgs. - Move
MTUChangedEventArgstoPeripheralMTUChangedEventArgs. - Add
ConnectionStateenum. - Add
CentralMTUChangedEventArgsclass. - Add
PeripheralManager#mtuChangedevent.
6.0.0-dev.5 #
- Use new capitalization rules.
6.0.0-dev.4 #
- Add
CentralManager#mtuChangedevent. - Add modifiers to all classes.
- Use new capitalization rules.
6.0.0-dev.3 #
- Remove
abstractkeyword fromCentralclass. - Remove
abstractkeyword fromPeripheralclass.
6.0.0-dev.2 #
- Remove
BluetoothLowEnergyManager#authorizemethod. - Move
BluetoothLowEnergyManager#getStatetoBluetoothLowEnergyManager#state.
6.0.0-dev.1 #
- Migrate
hybrid_coretohybrid_logging.
6.0.0-dev.0 #
5.0.2 #
- Revert GATT characteristic's
descriptorsarguments to required.
5.0.1 #
- Change GATT characteristic and descriptor's
valuearguments to optional. - Change GATT characteristic's
descriptorsarguments to optional.
5.0.0 #
- 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.
5.0.0-dev.10 #
- Fix
Uint8List#trimGATTthrows when the value is not exceeded 512 bytes.
5.0.0-dev.9 #
- Add
PeripheralManager#characteristicRead.
5.0.0-dev.8 #
- Add
PeripheralManager#readCharacteristic. - Move
PeripheralManager#notifyCharacteristictoPeripheralManager#writeCharacteristic.
5.0.0-dev.7 #
- Remove
GattCharacteristicReadEventArgs. - Remove
PeripheralManager#characteristicRead.
5.0.0-dev.6 #
- Remove the final modifier form
MyGattCharacteristic#valueandMyGattDescriptor#valueand trim by 512 bytes.
5.0.0-dev.5 #
- 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.
5.0.0-dev.4 #
- Optimize
MyGattServiceandMyGattCharacteristic.
5.0.0-dev.3 #
- Remove
CentralManager#getMaximumWriteLengthmethod. - Remove
PeripheralManager#getMaximumWriteLengthmethod.
5.0.0-dev.2 #
- Add
UUID#fromAddressconstructor. - Override
hashCodeand==ofMyCentralandMyPeripheral.
5.0.0-dev.1 #
- Add
MyBluetoothLowEnergyPeerandMyGattAttribute. - Remove
MyObjectbase class. - Use
LoggerProviderinstead of custom logger.
4.0.0 #
- 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.
4.0.0-dev.12 #
- Update
log_servicedependency.
4.0.0-dev.11 #
- Use
log_serviceinstead ofloggingto simplify project structure.
4.0.0-dev.10 #
- Fix the issue that messages were logged twice and other logger's messages were also logged by this logger.
4.0.0-dev.9 #
- Remove
Logger, useloggingpackage instead. - Add
SetUpinterface class andMySetUpmixin. - Add
LoggerControllerinterface class andMyLoggerControllermixin. - Update
CentralManagerto implementsSetUpandLoggerController. - Update
PeripheralManagerto implementsSetUpandLoggerController.
4.0.0-dev.8 #
- Remove
BluetoothLowEnergyError, usePlatformExceptioninstead. - Add
MyCentralManagerandMyPeripheralManagerabstract classes. - Optimize project's structure.
4.0.0-dev.7 #
- Remove
Logger.levelfiled, as the level ofloggingpackage is a global option, which can be changed by anyone.
4.0.0-dev.6 #
- Move
AdvertiseDataclass toAdvertisementclass.
4.0.0-dev.5 #
- Fix export error.
4.0.0-dev.4 #
- Optimize project's structure.
4.0.0-dev.3 #
- Change some
PeripheralManagermethods' arguments to required optional arguments.
4.0.0-dev.2 #
- Add
Loggerclass.
4.0.0-dev.1 #
- Remove
BluetoothLowEnergyclass. - Update
CentralMangerto extendsPlatformInterface. - Update
PeripheralManagerto extendsPlatformInterface. - Update
README.md.
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.5 #
- Move
Advertisementclass toAdvertiseDataclass.
3.0.0-dev.4 #
- Fix 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.0 #
- Add
GattCharacteristicWriteTypeargument toCentralController#getMaximumWriteLengthmethod.
2.1.0 #
- Bump version.
2.0.5 #
- Optimize project structure.
2.0.4 #
- 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.