Skip to content

Commit

Permalink
Merge pull request #59 from PhilipsHue/explain-usage-autoconnect-android
Browse files Browse the repository at this point in the history
add additional explanation about effect of no connection timeout
  • Loading branch information
remonh87 authored Apr 28, 2020
2 parents 6555f1f + 5441f74 commit 8bd525d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/src/reactive_ble.dart
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,8 @@ class FlutterReactiveBle {
/// this can improve the connection speed on iOS since no full service discovery will be executed. On Android
/// this variable is ignored since partial discovery is not possible.
/// The [connectionTimeout] parameter can be used to emit a failure after a certain period in case the connection
/// is not established. The pending connection attempt will be cancelled.
/// is not established. The pending connection attempt will be cancelled. On Android when no timeout is specified
/// the `autoConnect` flag is set in the [connectGatt()](https://developer.android.com/reference/android/bluetooth/BluetoothDevice#connectGatt(android.content.Context,%20boolean,%20android.bluetooth.BluetoothGattCallback)) call, otherwise it's cleared.```
Stream<ConnectionStateUpdate> connectToDevice({
@required String id,
Expand Down

0 comments on commit 8bd525d

Please sign in to comment.