bluetooth_low_energy_android 6.0.3 copy "bluetooth_low_energy_android: ^6.0.3" to clipboard
bluetooth_low_energy_android: ^6.0.3 copied to clipboard

PlatformAndroid

Android implementation of the bluetooth_low_energy plugin.

6.0.3 #

6.0.2 #

  • Fix the warning issue.

6.0.1 #

6.0.0 #

  • Add serviceUUIDs argument to CentralManager#startDiscovery method.
  • Add CentralManager#requestMTU method.
  • Add CentralManager#retrieveConnectedPeripherals method.
  • Move BluetoothLowEnergyManager#getState to BluetoothLowEnergyManager#state.
  • Move CentralManger.instance to factory constructor.
  • Move PeripheralManager.instance to factory constructor.
  • Remove BluetoothLowEnergyManager#setUp method.
  • Add CentralManager#mtuChanged event.
  • Add PeripheralManager#mtuChanged event.
  • Add BluetoothLowEnergyManager.authorize() method.
  • Add BluetoothLowEnergyManager.showAppSettings() method.
  • Rewrite example with MVVM.
  • Fix known issues.

6.0.0-dev.6 #

  • Fix known issues.

6.0.0-dev.5 #

  • Rewrite example with MVVM.
  • Fix known issues.

6.0.0-dev.4 #

  • Implement new APIs.

6.0.0-dev.3 #

  • Move organizaioin.

6.0.0-dev.2 #

  • Implement new APIs.

6.0.0-dev.1 #

  • Add CentralManager#mtuChanged event.
  • Add PeripheralManager#mtuChanged event.
  • Add BluetoothLowEnergyManager.authorize() method.
  • Add BluetoothLowEnergyManager.showAppSettings() method.
  • Add modifiers to all classes.
  • Use new capitalization rules.
  • Make it possible to change the logLevel before initialize().

6.0.0-dev.0 #

  • Add serviceUUIDs argument to CentralManager#startDiscovery method.
  • Add CentralManager#requestMTU method.
  • Add CentralManager#retrieveConnectedPeripherals method.
  • Move BluetoothLowEnergyManager#getState to BluetoothLowEnergyManager#state.
  • Move CentralManger.instance to factory constructor.
  • Move PeripheralManager.instance to factory constructor.
  • Remove BluetoothLowEnergyManager#setUp method.

5.0.5 #

5.0.4 #

  • Change flutter minimum version to 3.0.0.

5.0.3 #

5.0.2 #

  • Fix the ConcurrentModificationException when PeripheralManager#clearServices is called.
  • Fix the CentralManager#setUp and PeripheralManager#setUp were blocked.

5.0.1 #

  • Fix the wrong blutooth low energy state caused by multi permission requests at the same time.

5.0.0 #

  • Now CentralManager#writeCharacteristic and PeripheralManager#writeCharacteristic will fragment the value automatically, the maximum write length is 512 bytes.
  • Add UUID#fromAddress constructor.
  • Add GattCharacteristicReadEventArgs and GattCharacteristicWrittenEventArgs.
  • Add PeripheralManager#characteristicRead and PeripheralManager#characteristicWritten.
  • Add PeripheralManager#readCharacteristic.
  • Remove CentralManager#getMaximumWriteLength method.
  • Remove PeripheralManager#getMaximumWriteLength method.
  • Remove ReadGattCharacteristicCommandEventArgs and WriteGattCharacteristicCommandEventArgs.
  • Remove PeripheralManager#readCharacteristicCommandReceived and PeripheralManager#writeCharacteristicCommandReceived.
  • Remove PeripheralManager#sendReadCharacteristicReply and PeripheralManager#sendWriteCharacteristicReply.
  • Move CentralManager#state to CentralManager#getState().
  • Move PeripheralStateChangedEventArgs to ConnectionStateChangedEventArgs.
  • Move CentralManager#peripheralStateChanged to CentralManager#connectionStateChanged.
  • Move GattCharacteristicValueChangedEventArgs to GattCharacteristicNotifiedEventArgs.
  • Move CentralManager#characteristicValueChanged to CentralManager#characteristicNotified.
  • Move CentralManager#notifyCharacteristic to CentralManager#setCharacteristicNotifyState.
  • Move PeripheralManager#notifyCharacteristicValueChanged to PeripheralManager#writeCharacteristic.
  • Move NotifyGattCharacteristicCommandEventArgs to GattCharacteristicNotifyStateChangedEventArgs.
  • Move PeripheralManager#notifyCharacteristicCommandReceived to PeripheralManager#characteristicNotifyStateChanged.

5.0.0-dev.4 #

  • Fix the issue that PeripheralMananger#startAdvertising throws after powered off.\
  • Optimize project structure.

5.0.0-dev.3 #

  • Implements new Api.

5.0.0-dev.2 #

  • Optimize example.
  • Add event logs.
  • Fix the issue that PeripheralManager's service duplicated after hot reload.
  • Fix the issue that PeripheralManager#notifyCharacteristicChanged lost data when value is larger then the MTU size.
  • Optimize instances' retrieve speed.
  • Update dependency.

5.0.0-dev.1 #

  • Implement the 5.0.0 api.
  • Optimize example.
  • Remove CentralManager#getMaximumWriteLength method.
  • Remove PeripheralManager#getMaximumWriteLength method.

4.0.0 #

  • Remove BluetoothLowEnergy class.
  • Update CentralManger to extends PlatformInterface.
  • Update PeripheralManager to extends PlatformInterface.
  • Change some PeripheralManager methods' arguments to required optional arguments.
  • Move AdvertiseData class to Advertisement class.
  • Remove BluetoothLowEnergyError class.
  • Add MyCentralManager and MyPeripheralManager abstract classes.
  • Add LogController interface to BluetoothLowEnergyManager.
  • Fix issues.

4.0.0-dev.3 #

  • Optimize project structure.

4.0.0-dev.2 #

  • Optimize the import method of the example.

4.0.0-dev.1 #

  • Remove BluetoothLowEnergy class.
  • Update CentralManger to extends PlatformInterface.
  • Update PeripheralManager to extends PlatformInterface.
  • Move AdvertiseData class to Advertisement class.
  • Remove logging dependency.
  • Update example.

3.0.4 #

3.0.3 #

  • Fix the issue that getMaximumWriteLength is wrong and coerce the value from 20 to 512.

3.0.2 #

  • Request MTU with 517 automatically.
  • Fix the issue taht CentralManager#getMaximumWriteLength is wrong when write with response and coerce the value from 20 to 512.
  • Fix the issue that the GATT server response is wrong.

3.0.1 #

  • Clear cache when disconnected.
  • Fix GATT server error aftter bluetooth reopened.

3.0.0 #

  • Add PeripheralManager api.
  • Add CentralManager#readRSSI method.
  • Add CentralManager.instance api.
  • Add PeripheralManager.instance api.
  • Move CentralController to CentralManager.
  • Move CentralState to BluetoothLowEnergyState.
  • Move CentralDiscoveredEventArgs to DiscoveredEventArgs.
  • Move Advertisement class to AdvertiseData class.
  • Move setUp method from BluetoothLowEnergy class to BluetoothLowEnergyManger class.
  • Change the type of manufacturerSpecificData from Map<int, Uint8List> to ManufacturerSpecificData.
  • Fix the issue that UUID.fromString() throw FormatException with 32 bits UUID string.
  • Fix known issues.

3.0.0-dev.6 #

  • Add default CCCD to GATT characteristic for notify and indicate.
  • Fix the issue that callbacks must run on ui thread.
  • Change requested MTU from 512 to 517 when get the maximum write length of characteristic.

3.0.0-dev.5 #

  • Fix the issue that the BLUETOOTH_ADVERTISE permission is not requested.

3.0.0-dev.4 #

  • Move Advertisement class to AdvertiseData class.
  • Fix known issues.

3.0.0-dev.3 #

3.0.0-dev.2 #

  • Move setUp method from BluetoothLowEnergy class to BluetoothLowEnergyManger class.
  • Add CentralManager.instance api.
  • Add PeripheralManager.instance api.

3.0.0-dev.1 #

  • Implement new api.

2.2.1 #

  • Fix the issue that CentralController#getMaximumWriteLength may throw.

2.2.0 #

  • Add CentralController#getMaximumWriteLength method.

2.0.3 #

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
likes
130
points
4.25k
downloads

Publisher

verified publisherhebei.dev

Weekly Downloads

Android implementation of the bluetooth_low_energy plugin.

Repository (GitHub)
View/report issues

Topics

#bluetooth #bluetooth-low-energy #ble

Documentation

API reference

Funding

Consider supporting this project:

paypal.me
afdian.net

License

MIT (license)

Dependencies

bluetooth_low_energy_platform_interface, collection, flutter

More

Packages that depend on bluetooth_low_energy_android