Skip to content

Commit 0baa85f

Browse files
authored
Add closing bluetoothConnection tip to README.md
1 parent 6dca63c commit 0baa85f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,12 @@ bluetoothConnection.send("Hello"); // String
320320
bluetoothConnection.send("There".getBytes()); // Array of bytes
321321
```
322322

323+
##### Close:
324+
Remember to close streams and socket once you are done.
325+
```java
326+
bluetoothConnection.closeConnection();
327+
```
328+
323329
#### Observe ACL actions
324330
```java
325331
rxBluetooth.observeAclEvent() //

0 commit comments

Comments
 (0)