createFitTemporaryBleKey(params: CreateTemporaryBleKeyParams)
Requires:
@ray-js/lock-sdk≥1.2.0
Description
Create a temporary Bluetooth key on the accessory side
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Temporary key params (name optional = unnamed key / effective) |
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 creation 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 | - | - |