deviceChangePin
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
Change the device pin code.
const result = await HardwareSDK.deviceChangePin(connectId, params);
remove
— optional boolean
request remove pin.
HardwareSDK.deviceChangePin(connectId, {
remove: false
});
{
success: true,
payload: {
message: string
}
}
Error
{
success: false,
payload: {
error: string, // error message
code: number // error code
}
}