Skip to content

Commit

Permalink
Set and get baseunit password
Browse files Browse the repository at this point in the history
  • Loading branch information
bratanon committed Dec 10, 2023
1 parent 6117974 commit 6eeed11
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/BaseUnit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,17 @@ export class BaseUnit {
this._operationMode = value;
}

/**
* Control password, if one has been assigned on the base unit.
*/
get password() {
return this.protocol.password;
}

set password(password: string) {
this.protocol.password = password;
}

/**
* ROM version string.
*/
Expand Down

0 comments on commit 6eeed11

Please sign in to comment.