Skip to content

Commit e48b7cd

Browse files
committed
some typo fix
1 parent fe65d56 commit e48b7cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,14 @@ const {bluetooth, destroy} = createBluetooth()
166166
| `Promise<String[]> getFlags()` | Defines how the characteristic value can be used. |
167167
| `Promise<bool> isNotifying()` | True, if notifications or indications on this characteristic are currently enabled. |
168168
| `Promise<Buffer> readValue(Number offset = 0)` | Issues a request to read the value of the characteristic and returns the value if the operation was successful. |
169-
| `Promise<void> writeValue(Buffer buffer, Number | WriteValueOptions options = {})` | Issues a request to write the value of the characteristic. Default options `{ offset: 0, type: 'reliable' }`. |
169+
| `Promise<void> writeValue(Buffer buffer, WriteValueOptions options = {})` | Issues a request to write the value of the characteristic. Default options `{ offset: 0, type: 'reliable' }`. |
170170
| `Promise<void> startNotifications()` | Starts a notification session from this characteristic if it supports value notifications or indications. |
171171
| `Promise<void> stopNotifications()` | This method will cancel any previous StartNotify transaction. |
172172
| `Promise<String> toString()` | User friendly characteristic name. |
173173

174174
| Event | Description |
175175
| --- | --- |
176-
| valuechanged | New value is notified. (invoke `startNotifications()` to enable notifications)
176+
| `valuechanged` | New value is notified. (invoke `startNotifications()` to enable notifications)
177177

178178
## Compatibility
179179
This library works on many architectures supported by Linux.
@@ -192,7 +192,7 @@ It leverages on Bluez driver, a component supported by the following platforms a
192192
- **1.3** - Adds typescript definitions [#10](https://github.com/chrvadala/node-ble/pull/10)
193193
- **1.4** - Upgrades deps
194194
- **1.5** - Adds write options configuration `async writeValue (value, optionsOrOffset = {})` [#20](https://github.com/chrvadala/node-ble/pull/20); Upgrades deps
195-
- **1.6** - Upgrades deps and remove some dependencies; migrates to npm; improves gh-actions
195+
- **1.6** - Upgrades deps and removes some dependencies; migrates to npm; improves gh-actions
196196

197197
## Contributors
198198
- [chrvadala](https://github.com/chrvadala) (author)

0 commit comments

Comments
 (0)