* feat: 调整插件接口 * feat: 增加 `Logger` 类 * fix: 部分参数改为可选参数 * fix: 调整接口 * fix: 重命名 AdvertiseData 为 Advertisement * fix: 移除 `Logger.level` 属性 * fix: 适配 4.0.0 * fix: 更新依赖项 * fix: 优化导入方式 * fix: 修改版本号 * fix: 适配 4.0.0 * feat: 部分适配 4.0.0 * feat: 适配 4.0.0 * feat: 适配 4.0.0 * fix: 调整接口 * feat: 调整日志接口 * fix: 修复日志错误 * fix: 临时提交 * draft: 临时提交 * fix: 使用 log_service 插件替换 logging 插件 * fix: 更新 log_service 版本 * fix: 4.0.0 * feat: 4.0.0 * feat: 4.0.0
2.8 KiB
2.8 KiB
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.