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