Proto commits in pauldemarco/flutter_blue

These 24 commits are when the Protocol Buffers files have changed:

Commit:453dc5a
Author:Enrico Zamagni
Committer:GitHub

AllowDuplicates option in scan function (#460) * added variable to enable or disable duplicate bluetooth devices * updated proto with new allowDuplicates field in ScanSettings * implemented allowDuplicates opts in FlutterBluePlugin.m * implementing allowDuplicates opt in dart * android: connected allowDuplicates * missing parameter in startScan method * fix typo Co-Authored-By: Maurits van Beusekom <maurits@baseflow.com> Co-authored-by: Simone Venturini <simone.venturini87@gmail.com> Co-authored-by: Enrico Zamagni <ezamagni@technogym.com> Co-authored-by: Maurits van Beusekom <maurits@baseflow.com>

The documentation is generated from this commit.

Commit:2ccdc68
Author:Paul DeMarco
Committer:GitHub

Update project files (#401) * Update project files for Android and iOS * Remove dependency on protoc in iOS podspec file

Commit:094fda2
Author:Paul DeMarco

Fix android package name.

Commit:ae67e54
Author:Paul DeMarco

Report MTU size on didConnectPeripheral/didDiscoverServices, fixes #369.

Commit:6e4410c
Author:Paul DeMarco
Committer:GitHub

MTU (Maximum Transmission Unit) (#363) * Update protobuf * Add MtuSizeRequest MtuSizeResponse proto messages * Add BluetoothDeviceCache. Implement requestMtu and mtu. (Android) The BluetoothDeviceCache class is used to augment the underlying Bluetooth API cache for missing information, such as mtu size. * Add quick ListTile to test MTU features. * Add requestMtu and mtu to BluetoothDevice. * Doc updates. Run dartfmt on example. * Update readme. * Add mtu and requestMtu to iOS. * Add comment about which type to use for iOS mtu size. * Update generated iOS project file.

Commit:3b49a24
Author:Paul DeMarco
Committer:Paul DeMarco

Added getConnectedDevices on Android.

Commit:8c615f7
Author:Paul DeMarco
Committer:Paul DeMarco

isScanning, isDiscoveringServices, scanResults and more... startScan/stopScan offer a way to start and stop a scan without having to be subscribed for the results. Results will show up in the new `scanResults` stream. Introduced rxdart for more powerful reactive behavior: FlutterBlue.instance `state` is now a Stream. BluetoothDevice `services` is now a Stream. Moved read/write capability from BluetoothDevice into Characteristic/Descriptor. BluetoothCharacteristic/Descriptor now have value Streams. Removed separate event channels for scanResults, servicesDiscovered, characteristicReads, descriptorReads. They now use the main MethodChannel. #11

Commit:38a1efe
Author:Paul DeMarco
Committer:Paul DeMarco

Moved methods from BluetoothDevice to Characteristic/Descriptor. Updated README and example app.

Commit:12b011d
Author:Paul DeMarco
Committer:Paul DeMarco

isScanning, isDiscoveringServices, scanResults and more... startScan/stopScan offer a way to start and stop a scan without having to be subscribed for the results. Results will show up in the new `scanResults` stream. Introduced rxdart for more powerful reactive behavior: FlutterBlue.instance `state` is now a Stream. BluetoothDevice `services` is now a Stream. Moved read/write capability from BluetoothDevice into Characteristic/Descriptor. BluetoothCharacteristic/Descriptor now have value Streams. Removed separate event channels for scanResults, servicesDiscovered, characteristicReads, descriptorReads. They now use the main MethodChannel. #11

Commit:53e82f3
Author:Paul DeMarco

[Android] Manufacturer specific data, service data, service uuids in AD and SRD.

Commit:77a3358
Author:Paul DeMarco

Added serviceUuids to protobuf for AdvertisementData.

Commit:25d54a1
Author:Paul DeMarco

Revert "SetNotificationResponse isNotifying added" This reverts commit 48dff278ea67e8bef7b233f0b9bdf01560cb216f.

Commit:48dff27
Author:Paul DeMarco

SetNotificationResponse isNotifying added

Commit:2b78b37
Author:Paul DeMarco

SetNotificationResponse success variable added

Commit:fe294d9
Author:Paul DeMarco

setNotifyValue now expects SetNotificationResponse when complete. #41

Commit:3788a1a
Author:Paul DeMarco

connect now returns Stream<BluetoothDeviceState>, automatically disconnects on unsubscribe

Commit:19d8110
Author:Paul DeMarco

Changed ScanResult to include the BluetoothDevice

Commit:4a404d2
Author:Paul DeMarco

Updated README

Commit:9bc4c0f
Author:Paul DeMarco

Fixed README image to work with pub.dartlang.org

Commit:40f3c39
Author:Paul DeMarco

Added licensing.

Commit:5d4a6db
Author:Paul DeMarco

Added readCharacteristic/readDescriptor/writeCharacteristic/writeDescriptor

Commit:0c76a84
Author:Paul DeMarco

Added readCharacteristic ability

Commit:72758ce
Author:Paul DeMarco

Implemented BluetoothState changing, ability to scan for devices, ability to connect and disconnect reliably.

Commit:a4f7d1b
Author:Paul DeMarco

Simplifying API. Added protobuf to offer some data structure across platform. Scanning reimplemented for Android.