bluetooth_low_energy_darwin 5.0.3 bluetooth_low_energy_darwin: ^5.0.3 copied to clipboard
iOS and macOS implementation of the bluetooth_low_energy plugin.
5.0.3 #
- Fix issues caused by CoW.
5.0.2 #
- Fix the issue that discoverGATT failed caused by CoW.
5.0.1 #
- Fix the issue that completion was called duplicately caused by CoW.
5.0.0 #
- Now
CentralManager#writeCharacteristic
andPeripheralManager#writeCharacteristic
will fragment the value automatically, the maximum write length is 512 bytes. - Add
UUID#fromAddress
constructor. - Add
GattCharacteristicReadEventArgs
andGattCharacteristicWrittenEventArgs
. - Add
PeripheralManager#characteristicRead
andPeripheralManager#characteristicWritten
. - Add
PeripheralManager#readCharacteristic
. - Remove
CentralManager#getMaximumWriteLength
method. - Remove
PeripheralManager#getMaximumWriteLength
method. - Remove
ReadGattCharacteristicCommandEventArgs
andWriteGattCharacteristicCommandEventArgs
. - Remove
PeripheralManager#readCharacteristicCommandReceived
andPeripheralManager#writeCharacteristicCommandReceived
. - Remove
PeripheralManager#sendReadCharacteristicReply
andPeripheralManager#sendWriteCharacteristicReply
. - Move
CentralManager#state
toCentralManager#getState()
. - Move
PeripheralStateChangedEventArgs
toConnectionStateChangedEventArgs
. - Move
CentralManager#peripheralStateChanged
toCentralManager#connectionStateChanged
. - Move
GattCharacteristicValueChangedEventArgs
toGattCharacteristicNotifiedEventArgs
. - Move
CentralManager#characteristicValueChanged
toCentralManager#characteristicNotified
. - Move
CentralManager#notifyCharacteristic
toCentralManager#setCharacteristicNotifyState
. - Move
PeripheralManager#notifyCharacteristicValueChanged
toPeripheralManager#writeCharacteristic
. - Move
NotifyGattCharacteristicCommandEventArgs
toGattCharacteristicNotifyStateChangedEventArgs
. - Move
PeripheralManager#notifyCharacteristicCommandReceived
toPeripheralManager#characteristicNotifyStateChanged
.
5.0.0-dev.1 #
- Implements new Api.
4.0.0 #
- Remove
BluetoothLowEnergy
class. - Update
CentralManger
to extendsPlatformInterface
. - Update
PeripheralManager
to extendsPlatformInterface
. - Change some
PeripheralManager
methods' arguments to required optional arguments. - Move
AdvertiseData
class toAdvertisement
class. - Remove
BluetoothLowEnergyError
class. - Add
MyCentralManager
andMyPeripheralManager
abstract classes. - Add
LogController
interface toBluetoothLowEnergyManager
. - Fix issues.
4.0.0-dev.1 #
- Remove
BluetoothLowEnergy
class. - Update
CentralManger
to extendsPlatformInterface
. - Update
PeripheralManager
to extendsPlatformInterface
. - Move
AdvertiseData
class toAdvertisement
class. - Update
example
.
3.0.2 #
- Fix the issue that
getMaximumWriteLength
is wrong and coerce the value from 20 to 512. - Fix the issue that the peripheral manager response is wrong.
3.0.1 #
- Fix the issue that write characteristic will never complete when write without response.
- Fix the issue that write characteristic will never complete after disconnected.
3.0.0 #
- Add
PeripheralManager
api. - Add
CentralManager#readRSSI
method. - Add
CentralManager.instance
api. - Add
PeripheralManager.instance
api. - Move
CentralController
toCentralManager
. - Move
CentralState
toBluetoothLowEnergyState
. - Move
CentralDiscoveredEventArgs
toDiscoveredEventArgs
. - Move
Advertisement
class toAdvertiseData
class. - Move
setUp
method fromBluetoothLowEnergy
class toBluetoothLowEnergyManger
class. - Change the type of
manufacturerSpecificData
fromMap<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
Advertisement
class toAdvertiseData
class.
3.0.0-dev.3 #
- Fix the issue that
UUID.fromString()
throw FormatException with 32 bits UUID string. - Change the type of
manufacturerSpecificData
fromMap<int, Uint8List>
toManufacturerSpecificData
.
3.0.0-dev.2 #
- Move
setUp
method fromBluetoothLowEnergy
class toBluetoothLowEnergyManger
class. - Add
CentralManager.instance
api. - Add
PeripheralManager.instance
api.
3.0.0-dev.1 #
- Implement new api.
2.2.0 #
- Add
CentralController#getMaximumWriteLength
method.
2.0.3 #
Android
Migrate to Android 13.Android
Fix 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.