Skip to content

Commit d9abc38

Browse files
committed
Add note about disconnecting before closing with iOS 10
1 parent c781f1b commit d9abc38

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,6 +564,7 @@ bluetoothle.reconnect(reconnectSuccess, reconnectError, params);
564564

565565
### disconnect ###
566566
Disconnect from a Bluetooth LE device. It's simpler to just call close().
567+
**Starting with iOS 10, disconnecting before closing seems required!**
567568

568569
```javascript
569570
bluetoothle.disconnect(disconnectSuccess, disconnectError, params);
@@ -592,6 +593,7 @@ bluetoothle.disconnect(disconnectSuccess, disconnectError, params);
592593

593594
### close ###
594595
Close/dispose a Bluetooth LE device. Prior to 2.7.0, you needed to disconnect to the device before closing, but this is no longer the case.
596+
**Starting with iOS 10, disconnecting before closing seems required!**
595597

596598
```javascript
597599
bluetoothle.close(closeSuccess, closeError, params);

0 commit comments

Comments
 (0)