Skip to content

Commit

Permalink
add some markdown stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
姜春阳 committed Jun 7, 2019
1 parent af76658 commit bd3518c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

This is a port of `react-native-bluetooth-serial` repo, supporting image printing, specificlly ios. (There are lots of solutions for Android out there)

## Usage

```
BluetoothSerial.writeImage(base64_encoded_string_of_image)
.then(() => { console.log('do something') })
.catch(err => console.log(err));
```

0 comments on commit bd3518c

Please sign in to comment.