updateFitTemporaryBleKey(params: UpdateTemporaryBleKeyParams)
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Update the temporary Bluetooth key on the accessory side (rename/change the validity period)
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Update parameters |
Return Value
Type: Promise<unknown>
Cloud response
Error Code
| Error Code | Error Message |
|---|---|
1032 | Missing validity time configuration |
1033 | Missing start date |
1034 | Missing expiry date |
1010 | Start time is later than the expiry time |
1035 | weeks not provided in weekly repeat mode |
1042 | The device reported update failure |
Referenced Types
type
WeekWeekly repeat bitmap: indices 0–6 correspond to Sun–Sat; 0 inactive, 1 activeValid Values
EffectiveConfig.repeat
| Value | Description | Since |
|---|---|---|
none | - | - |
week | - | - |
Week
| Value | Description | Since |
|---|---|---|
0 | - | - |
1 | - | - |