Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
IvBaranov authored Jul 4, 2016
1 parent 4fc216d commit 8292415
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ rxBluetooth.observeConnectDevice(bluetoothDevice, uuid)
// Connected to the device, do anything with the socket
}
}, new Action1<Throwable>() {
+ @Override public void call(Throwable throwable) {
+ // Error occured
+ }
+ });
@Override public void call(Throwable throwable) {
// Error occured
}
});
```

##### Observing discovery state
Expand Down Expand Up @@ -179,7 +179,7 @@ rxBluetooth.closeProfileProxy(int profile, BluetoothProfile proxy);
```

##### Read and Write with BluetoothSocket
After create a connection to the device, you can use `BluetoothConnection` class to read and write with its socket.
After creating a connection to the device, you can use `BluetoothConnection` class to read and write with its socket.

**Read:**
```java
Expand Down

0 comments on commit 8292415

Please sign in to comment.