Skip to content

Commit

Permalink
Add type declarations for the methods writeValueWithoutResponse and…
Browse files Browse the repository at this point in the history
… `writeValueWithResponse` (#63)

* add type declarations for `writeValueWithoutResponse` and `writeValueWithResponse` methods

Add type declarations for the methods `writeValueWithoutResponse` and `writeValueWithResponse` that were added to `GattCharacteristic` with #47

* Fix typo
  • Loading branch information
dmarku authored Feb 15, 2024
1 parent 04a5afd commit 425958d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ declare namespace NodeBle {
isNotifying(): Promise<boolean>;
readValue(offset?: number): Promise<Buffer>;
writeValue(buffer: Buffer, optionsOrOffset?: number | WriteValueOptions): Promise<void>;
writeValueWithoutResponse(buffer: Buffer, offset?: number): Promise<void>;
writeValueWithResponse(buffer: Buffer, offset?: number): Promise<void>;
startNotifications(): Promise<void>;
stopNotifications(): Promise<void>;
toString(): Promise<string>;
Expand Down

0 comments on commit 425958d

Please sign in to comment.