Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event connSecUpdate is wrong in TypeScript typings #143

Open
kenr opened this issue Feb 15, 2018 · 0 comments
Open

Event connSecUpdate is wrong in TypeScript typings #143

kenr opened this issue Feb 15, 2018 · 0 comments
Labels

Comments

@kenr
Copy link
Contributor

kenr commented Feb 15, 2018

connSecUpdate event type definition is wrong:

on(event: 'connSecUpdate', listener: (device: Device, conn_sec: AuthParameters) => void): this;
.

Object in event is has the following structure: {sec_mode:{ sm: number, lv: number}, encr_key_size: number}}

@bihanssen bihanssen added the bug label Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants