Skip to content

Commit

Permalink
Add note on isNotification parameter for characteristic data event po…
Browse files Browse the repository at this point in the history
…ssibly being undefined

It is also deprecated after release v1.8.1
  • Loading branch information
sandeepmistry committed Jan 31, 2018
1 parent ea33cea commit 38dd42e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -392,6 +392,8 @@ characteristic.on('data', callback(data, isNotification));
characteristic.once('read', callback(data, isNotification)); // legacy
```

**Note:** `isNotification` event parameter value MAY be `undefined` depending on platform support. The parameter is **deprecated** after version 1.8.1, and not supported when on macOS High Sierra and later.

##### Write

Emitted when characteristic write has completed, result of ```characteristic.write(...)```.
Expand Down

0 comments on commit 38dd42e

Please sign in to comment.