Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Crespi committed May 12, 2021
2 parents 869a580 + fb8a552 commit 4efd881
Show file tree
Hide file tree
Showing 7 changed files with 354 additions and 403 deletions.
8 changes: 5 additions & 3 deletions lib/bindings/hci/misc/Hci.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,11 @@ export declare class Hci extends TypedEmitter<HciEvents> {
private socketTimer;
private isSocketUp;
private handles;
private mutex;
private currentCmd;
private cmdTimeout;
private cmdMutex;
private connTimeout;
private connMutex;
private aclDataPacketLength;
private totalNumAclDataPackets;
private aclLeDataPacketLength;
Expand All @@ -48,7 +50,7 @@ export declare class Hci extends TypedEmitter<HciEvents> {
constructor(devId?: number | {
bus: number;
address: number;
}, cmdTimeout?: number);
}, cmdTimeout?: number, connTimeout?: number);
private static createSocket;
static getDeviceList(): HciDevice[];
private isInitializing;
Expand All @@ -69,7 +71,7 @@ export declare class Hci extends TypedEmitter<HciEvents> {
setScanParameters(): Promise<void>;
setScanEnabled(enabled: boolean, filterDuplicates: boolean): Promise<void>;
createLeConn(address: string, addressType: AddressType, minInterval?: number, maxInterval?: number, latency?: number, supervisionTimeout?: number): Promise<number>;
cancelLeConn(customMutex?: boolean): Promise<void>;
cancelLeConn(): Promise<void>;
connUpdateLe(handle: number, minInterval: number, maxInterval: number, latency: number, supervisionTimeout: number): Promise<void>;
disconnect(handle: number, reason?: number): Promise<void>;
readRssi(handle: number): Promise<number>;
Expand Down
2 changes: 1 addition & 1 deletion lib/bindings/hci/misc/Hci.d.ts.map

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

132 changes: 67 additions & 65 deletions lib/bindings/hci/misc/Hci.js

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

2 changes: 1 addition & 1 deletion lib/bindings/hci/misc/Hci.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 4efd881

Please sign in to comment.