Skip to content

Commit

Permalink
feat(hci): Use gatt command mutex
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Crespi committed Nov 19, 2020
1 parent a8b2899 commit f6c9644
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 59 deletions.
5 changes: 3 additions & 2 deletions lib/bindings/hci/gatt/remote/Gatt.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ export declare class HciGattRemote extends GattRemote {
private hci;
private handle;
private security;
private mtuWasExchanged;
private mutex;
private currentCommand;
private commandQueue;
services: Map<string, HciGattServiceRemote>;
constructor(peripheral: Peripheral, hci: Hci, handle: number);
private processCommands;
dispose(): void;
private onHciStateChange;
private onAclStreamData;
private writeAtt;
private errorResponse;
Expand Down
69 changes: 43 additions & 26 deletions lib/bindings/hci/gatt/remote/Gatt.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f6c9644

Please sign in to comment.