* draft: 临时提交 * feat: 实现扫描功能 * fix: 优化广播逻辑 * feat: 添加协程方法 * fix: 修改宏定义 * draft: 临时提交 * feat: 调整接口 * fix: 修改版本号 * feat: 4.1.1 * draft: 临时提交 * feat: 5.0.0-dev.2 * fix: 修复版本号错误 * draft: 临时提交 * fix: 修复连接断开异常 * fix: 修复问题 * fix: 优化代码 * fix: 优化 short UUID 格式化逻辑 * fix: 尝试实现 read_rssi 接口,当前此接口不可用,会报异常 * feat: 删除 getMaximumWriteLength 方法 * fix: 更新 CHANGELOG.md * feat: 5.0.0-dev.1 * fix: 更新依赖项 * feat: linux-5.0.0-dev.1 * fix: 更新 CHANGELOG.md * fix: 开始搜索设备时清空设备列表 * fix: 开始扫描时清空设备列表 * feat: 5.0.0-dev.2 * fix: 优化 MyGattService 和 MyGattCharacteristic * feat: 更新 interface 版本 -> 5.0.0-dev.4 * feat: 更新 interface 版本 -> 5.0.0-dev.4 * feat: 实现 flutter 部分 5.0.0 * fix: 移除 maximumWriteLength * fix: 移除 rssi * feat: 5.0.0-dev.1 * feat: 5.0.0-dev.2 * fix: 更新依赖项 * fix: 5.0.0-dev.4 * fix: 更新依赖项 * draft: 临时提交 * feat: 5.0.0-dev.5 * draft: 删除 MyCentralManager 和 MyPeripheralManager * fix: 更新依赖项 * fix: 更新依赖项 * feat: 适配新接口 * feat: 5.0.0-dev.6 * draft: 临时提交 * feat: 5.0.0-dev.7 * fix: 修改版本号 * feat: 5.0.0-dev.8 * feat: 5.0.0-dev.9 * fix: 修复 trimGATT 错误 * feat: 5.0.0-dev.6 * feat: 5.0.0-dev.3 * feat: 5.0.0-dev.4 * fix: 更新 pubspec.lock * feat: 5.0.0-dev.7 * feat: 5.0.0-dev.3 * fix: balabala * fix: balabala * draft: 5.0.0-dev.1 * fix: trim GATT when call the `writeCharacteristic` method. * fix: make difference of `trim` and `fragment`. * feat: 5.0.0-dev.1 * feat: 5.0.0-dev.1 * feat: 优化示例程序 * fix: 更新 README.md * fix: 修复插件引用 * draft: XXXX * feat: 增加调试信息 * fix: 更新 pubspec.lock * feat: 5.0.0-dev.4 * feat: 5.0.0-dev.3 * feat: 5.0.0 * feat: 5.0.0 * feat: 5.0.0 * feat: 5.0.0 * feat: 5.0.0 * feat: 5.0.0
3.9 KiB
3.9 KiB
5.0.0
- Now
CentralManager#writeCharacteristic
will fragment the value automatically, the maximum write length is 512 bytes. - Add
UUID#fromAddress
constructor. - Remove
CentralManager#getMaximumWriteLength
method. - 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
.
5.0.0-dev.4
- Add event logs.
5.0.0-dev.3
- Implements new Api.
5.0.0-dev.2
- Update interface to 5.0.0-dev.4.
5.0.0-dev.1
- Implement the
5.0.0
api. - Fix the issue that the same device was discovered multi times.
- Fix the issue that some devices can't be discovered.
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.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 central manager 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.
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.