You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`Promise<String[]> getFlags()`| Defines how the characteristic value can be used. |
167
167
|`Promise<bool> isNotifying()`| True, if notifications or indications on this characteristic are currently enabled. |
168
168
|`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' }`. |
170
170
|`Promise<void> startNotifications()`| Starts a notification session from this characteristic if it supports value notifications or indications. |
171
171
|`Promise<void> stopNotifications()`| This method will cancel any previous StartNotify transaction. |
172
172
|`Promise<String> toString()`| User friendly characteristic name. |
173
173
174
174
| Event | Description |
175
175
| --- | --- |
176
-
| valuechanged | New value is notified. (invoke `startNotifications()` to enable notifications)
176
+
| `valuechanged` | New value is notified. (invoke `startNotifications()` to enable notifications)
177
177
178
178
## Compatibility
179
179
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
0 commit comments