Add dumpNeuteredDevice
This commit is contained in:
parent
0cfb02b06a
commit
ed0c11b527
@ -623,6 +623,15 @@ export default class Services {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public dumpNeuteredDevice(): Device | null {
|
||||||
|
try {
|
||||||
|
return this.sdkClient.dump_neutered_device();
|
||||||
|
} catch (e) {
|
||||||
|
console.error(`Failed to dump device: ${e}`);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public getPairingProcessId(): string {
|
public getPairingProcessId(): string {
|
||||||
try {
|
try {
|
||||||
return this.sdkClient.get_pairing_process_id();
|
return this.sdkClient.get_pairing_process_id();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user