* 调整接口 * 临时提交 * 重构 Android 平台代码 * 临时提交 * 临时提交 * Android 6.0.0-dev.0 * 临时提交 * 实现 Windows 接口 * windows-6.0.0-dev.0 * Darwin 6.0.0-dev.0 * 临时提交 * 1 * 临时提交 * 调整接口 * windows-6.0.0-dev.1 * 临时提交 * interface-6.0.0-dev.7 * interface-6.0.0-dev.8 * 临时提交 * windows-6.0.0-dev.2 * 删除多余脚本 * interface-6.0.0-dev.9 * 临时提交 * 临时提交 * interface-6.0.0-dev.10 * android-6.0.0-dev.1 * windows-6.0.0-dev.3 * 临时提交 * interface-6.0.0-dev.11 * windows-6.0.0-dev.4 * 更新 pubspec.lock * 1 * interface-6.0.0-dev.12 * interface-6.0.0-dev.13 * interface-6.0.0-dev.14 * 临时提交 * interface-6.0.0-dev.15 * 临时提交 * interface-6.0.0-dev.16 * android-6.0.0-dev.2 * 临时提交 * windows-6.0.0-dev.5 * 临时提交 * 临时提交 * windows-6.0.0-dev.6 * 优化注释和代码样式 * 优化代码 * 临时提交 * 实现 Dart 接口 * darwin-6.0.0-dev.0 * linux-6.0.0-dev.0 * 修复已知问题 * 修复问题 * 6.0.0-dev.0 * 修改包名 * 更新版本 * 移除原生部分 * 临时提交 * 修复问题 * 更新 pigeon 19.0.0 * 更新 README,添加迁移文档 * linux-6.0.0-dev.1 * 解析扫描回复和扩展广播 * 修复 googletest 版本警告问题 * Use centralArgs instead of addressArgs * interface-6.0.0-dev.18 * android-6.0.0-dev.4 * linux-6.0.0-dev.2 * windows-6.0.0-dev.8 * darwin-6.0.0-dev.2 * 6.0.0-dev.1 * Update LICENSE * clang-format * Combine ADV_IND and SCAN_RES * TEMP commit: update exampe * Adjust advertisement combine logic * Implement `MyPeripheralMananger` on Windows * Added NuGet auto download and scan for names on peripheral (#67) * fetch nuget using other technique * move FetchContent to right location in CMakeLists.txt * also added hash for googletest --------- Co-authored-by: Kevin De Keyser <kevin@dekeyser.ch> * Fix errors. * Check BluetoothAdapter role supported state and implement PeripheralManager on Flutter side. * Sort code * Fix known errors * interface-6.0.0-dev.19 * windows-6.0.0-dev.9 * Optimize example * android-6.0.0-dev.5 * Optimize the Adverrtisement BottomSheet. * linux-6.0.0-dev.3 * Update dependency * Fix example errors. * Temp commit. * darwin-6.0.0-dev.3 * 6.0.0-dev.2 * Update README.md * 6.0.0 * darwin-6.0.0-dev.4 * android-6.0.0-dev.6 * 6.0.0-dev.3 * Update docs. * interface-6.0.0 * android-6.0.0 * darwin-6.0.0 * linux-6.0.0 * windows-6.0.0 * 6.0.0 * Update dependency --------- Co-authored-by: Kevin De Keyser <dekeyser.kevin97@gmail.com> Co-authored-by: Kevin De Keyser <kevin@dekeyser.ch>
16 KiB
16 KiB
6.0.0
- Add
BluetoothLowEnergyManager#authorize
method. - Add
BluetoothLowEnergyManager#showAppSettings
method. - Add
CentralManager#mtuChanged
event. - Add optional
serviceUUIDs
argument to theCentralManager#startDiscovery
method. - Add
CentralManager#retrieveConnectedPeripherals
method. - Add
CentralManager#getMaximumWriteLength
method. - Add
PeripheralManager#connectionStateChanged
event. - Add
PeripheralManager#mtuChanged
event. - Add
PeripheralManager#characteristicReadRequested
event. - Add
PeripheralManager#characteristicWriteRequested
event. - Add
PeripheralManager#descriptorReadRequested
event. - Add
PeripheralManager#descriptorWriteRequested
event. - Add
PeripheralManager#getMaximumNotifyLength
method. - Add
PeripheralManager#respondReadRequestWithValue
method. - Add
PeripheralManager#respondReadRequestWithError
method. - Add
PeripheralManager#respondWriteRequest
method. - Add
PeripheralManager#respondWriteRequestWithError
method. - Move the type of
Advertisement#manufacturerSpecificData
toList<ManufacturerSpecificData>
. - Move
BluetoothLowEnergyManager#getState
toBluetoothLowEnergyManager#state
. - Move
PeripheralManager#clearServices
toPeripheralManager#removeAllServices
. - Remove
PeripheralManager#characteristicRead
event. - Remove
PeripheralManager#characteristicWritten
event.
6.0.0-dev.19
- Add
int
type toUUID#fromAddress
. - Move the type of
Advertisement#manufacturerSpecificData
toList<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#trimGATT
method.
6.0.0-dev.16
- Add
GATTService.isPrimary
field. - Add
peripheral
argument to all methods.
6.0.0-dev.15
- Add
GATTReadRequest
class. - Add
GATTWriteRequest
class. - Remove
ConnectionStateChangedEventArgs
class. - Remove
MTUChangedEventArgs
class. - Remove
GATTRequest
class. - Remove
GATTDescriptorRequest
class. - Remove
GATTDescriptorReadRequest
class. - Remove
GATTDescriptorWriteRequest
class. - Remove
GATTCharacteristicRequest
class. - Remove
GATTCharacteristicReadRequest
class. - Remove
GATTCharacteristicWriteRequest
class.
6.0.0-dev.14
- Fix errors.
6.0.0-dev.13
- Add
MutableGATTDescriptor#permissions
field. - Fix errors.
6.0.0-dev.12
- Add
GATTDescriptorReadRequestedEventArgs
class. - Add
GATTDescriptorWriteRequestedEventArgs
class. - Add
GATTRequest
class. - Add
GATTDescriptorRequest
class. - Add
GATTDescriptorReadRequest
class. - Add
GATTDescriptorWriteRequest
class. - Add
PeripheralManager#descriptorReadRequested
event. - Add
PeripheralManager#descriptorWriteRequested
event. - Add
PeripheralManager#respondDescriptorReadRequestWithValue
method. - Add
PeripheralManager#respondDescriptorReadRequestWithError
method. - Add
PeripheralManager#respondDescriptorWriteRequest
method. - Add
PeripheralManager#respondDescriptorWriteRequestWithError
method. - Fix errors.
6.0.0-dev.11
- Add
ConnectionStateChangedEventArgs
class. - Add
MTUChangedEventArgs
class. - Add
CentralConnectionStateChangedEventArgs
class. - Add
GATTCharacteristicReadRequestedEventArgs
class. - Add
GATTCharacteristicWriteRequestedEventArgs
class. - Add
CentralManager#getMaximumWriteLength
method. - Add
PeripheralManager#connectionStateChanged
event. - Add
PeripheralManager#characteristicReadRequested
event. - Add
PeripheralManager#characteristicWriteRequested
event. - Add
PeripheralManager#getMaximumNotifyLength
method. - Add
PeripheralManager#respondCharacteristicReadRequestWithValue
method. - Add
PeripheralManager#respondCharacteristicReadRequestWithError
method. - Add
PeripheralManager#respondCharacteristicWriteRequest
method. - Add
PeripheralManager#respondCharacteristicWriteRequestWithError
method. - Add
ImmutableGATTCharacteristic
class. - Add
GATTCharacteristicRequest
class. - Add
GATTCharacteristicReadRequest
class. - Add
GATTCharacteristicWriteRequest
class. - Add
GATTCharacteristicPermission
enum. - Add
GATTError
enum. - Move
PeripheralManager#clearServices
toPeripheralManager#removeAllServices
. - Move
BaseBluetoothLowEnergyManager
toPlatformBluetoothLowEnergyManager
. - Move
BaseCentralManager
toPlatformCentralManager
. - Move
BasePeripheralManager
toPlatformPeripheralManager
. - Move
BaseGATTAttribute
toGATTAttribute
. - Move
BaseGATTDescriptor
toGATTDescriptor
. - Move
BaseGATTCharacteristic
toGATTCharacteristic
. - Move
BaseGATTService
toGATTService
. - Move
MutableGATTDescriptor
toImmutableGATTCharacteristic
. - Remove
GATTCharacteristicReadEventArgs
class. - Remove
GATTCharacteristicWrittenEventArgs
class. - Remove
PeripheralManager#characteristicRead
event. - Remove
PeripheralManager#characteristicWritten
event. - Remove
MutableGATTService
.
6.0.0-dev.10
- Fix bugs.
6.0.0-dev.9
- Add
BluetoothLowEnergyManager#authorize
method. - Add
BluetoothLowEnergyManager#showAppSettings
method.
6.0.0-dev.8
- Remove
logLevel
argument from theCentralManager
construstor. - Remove
logLevel
argument from thePeripheralManager
construstor.
6.0.0-dev.7
- Add
logLevel
argument to theCentralManager
construstor. - Add
logLevel
argument to thePeripheralManager
construstor.
6.0.0-dev.6
- Move
ConnectionStateChangedEventArgs
toPeripheralConnectionStateChangedEventArgs
. - Move
MTUChangedEventArgs
toPeripheralMTUChangedEventArgs
. - Add
ConnectionState
enum. - Add
CentralMTUChangedEventArgs
class. - Add
PeripheralManager#mtuChanged
event.
6.0.0-dev.5
- Use new capitalization rules.
6.0.0-dev.4
- Add
CentralManager#mtuChanged
event. - Add modifiers to all classes.
- Use new capitalization rules.
6.0.0-dev.3
- Remove
abstract
keyword fromCentral
class. - Remove
abstract
keyword fromPeripheral
class.
6.0.0-dev.2
- Remove
BluetoothLowEnergyManager#authorize
method. - Move
BluetoothLowEnergyManager#getState
toBluetoothLowEnergyManager#state
.
6.0.0-dev.1
- Migrate
hybrid_core
tohybrid_logging
.
6.0.0-dev.0
- Add
CentralManager#retrieveConnectedPeripherals
method. - Add optional
serviceUUIDs
argument to theCentralManager#startDiscovery
method. - Optimize project structure.
5.0.2
- Revert GATT characteristic's
descriptors
arguments to required.
5.0.1
- Change GATT characteristic and descriptor's
value
arguments to optional. - Change GATT characteristic's
descriptors
arguments to optional.
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.10
- Fix
Uint8List#trimGATT
throws 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#notifyCharacteristic
toPeripheralManager#writeCharacteristic
.
5.0.0-dev.7
- Remove
GattCharacteristicReadEventArgs
. - Remove
PeripheralManager#characteristicRead
.
5.0.0-dev.6
- Remove the final modifier form
MyGattCharacteristic#value
andMyGattDescriptor#value
and trim by 512 bytes.
5.0.0-dev.5
- Move
CentralManager#state
toCentralManager#getState()
. - Move
PeripheralStateChangedEventArgs
toConnectionStateChangedEventArgs
. - Move
GattCharacteristicValueChangedEventArgs
toGattCharacteristicNotifiedEventArgs
. - Move
CentralManager#peripheralStateChanged
toCentralManager#connectionStateChanged
. - Move
CentralManager#characteristicValueChanged
toCentralManager#characteristicNotified
. - Move
CentralManager#notifyCharacteristic
toCentralManager#setCharacteristicNotifyState
. - Remove
ReadGattCharacteristicCommandEventArgs
andWriteGattCharacteristicCommandEventArgs
. - Move
NotifyGattCharacteristicCommandEventArgs
toGattCharacteristicNotifyStateChangedEventArgs
. - Remove
PeripheralManager#readCharacteristicCommandReceived
andPeripheralManager#writeCharacteristicCommandReceived
. - Add
PeripheralManager#characteristicRead
andPeripheralManager#characteristicWritten
. - Move
PeripheralManager#notifyCharacteristicCommandReceived
toPeripheralManager#characteristicNotifyStateChanged
. - Remove
PeripheralManager#sendReadCharacteristicReply
andPeripheralManager#sendWriteCharacteristicReply
. - Add
GattCharacteristicReadEventArgs
andGattCharacteristicWrittenEventArgs
. - Move
PeripheralManager#notifyCharacteristicValueChanged
toPeripheralManager#notifyCharacteristic
. - Remove
MyCentralManager
andMyPeripheralManager
.
5.0.0-dev.4
- Optimize
MyGattService
andMyGattCharacteristic
.
5.0.0-dev.3
- Remove
CentralManager#getMaximumWriteLength
method. - Remove
PeripheralManager#getMaximumWriteLength
method.
5.0.0-dev.2
- Add
UUID#fromAddress
constructor. - Override
hashCode
and==
ofMyCentral
andMyPeripheral
.
5.0.0-dev.1
- Add
MyBluetoothLowEnergyPeer
andMyGattAttribute
. - Remove
MyObject
base class. - Use
LoggerProvider
instead of custom logger.
4.0.0
- Remove
BluetoothLowEnergy
class. - Update
CentralManger
to extendsPlatformInterface
. - Update
PeripheralManager
to extendsPlatformInterface
. - Update
README.md
. - 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.12
- Update
log_service
dependency.
4.0.0-dev.11
- Use
log_service
instead oflogging
to 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
, uselogging
package instead. - Add
SetUp
interface class andMySetUp
mixin. - Add
LoggerController
interface class andMyLoggerController
mixin. - Update
CentralManager
to implementsSetUp
andLoggerController
. - Update
PeripheralManager
to implementsSetUp
andLoggerController
.
4.0.0-dev.8
- Remove
BluetoothLowEnergyError
, usePlatformException
instead. - Add
MyCentralManager
andMyPeripheralManager
abstract classes. - Optimize project's structure.
4.0.0-dev.7
- Remove
Logger.level
filed, as the level oflogging
package is a global option, which can be changed by anyone.
4.0.0-dev.6
- Move
AdvertiseData
class toAdvertisement
class.
4.0.0-dev.5
- Fix export error.
4.0.0-dev.4
- Optimize project's structure.
4.0.0-dev.3
- Change some
PeripheralManager
methods' arguments to required optional arguments.
4.0.0-dev.2
- Add
Logger
class.
4.0.0-dev.1
- Remove
BluetoothLowEnergy
class. - Update
CentralManger
to extendsPlatformInterface
. - Update
PeripheralManager
to extendsPlatformInterface
. - Update
README.md
.
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.5
- Move
Advertisement
class toAdvertiseData
class.
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
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
- Add
PeripheralManager
api. - Add
CentralManager#readRSSI
method. - Move
CentralController
toCentralManager
. - Move
CentralState
toBluetoothLowEnergyState
. - Move
CentralDiscoveredEventArgs
toDiscoveredEventArgs
.
2.2.0
- Add
GattCharacteristicWriteType
argument toCentralController#getMaximumWriteLength
method.
2.1.0
- Bump version.
2.0.5
- Optimize project structure.
2.0.4
- 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.