ttlock / Android_TTLock_Demo_Deprecated

19 stars 16 forks source link

Generating Cyclic keyboard password #2

Open ghost opened 6 years ago

ghost commented 6 years ago

How to build correct request : https://api.sciener.cn/v3/keyboardPwd/get?

clientId: ... accessToken: ... date: 1521208494000 startDate:1521630000000 endDate: 1521986400000 keyboardPwdVersion:4 lockId:1165874 keyboardPwdType:13

{ "errcode": -3, "errmsg": "Invalid parameter.", "description": "The time of REPEAT is incorrect." }

What is worng?

seanchoq commented 5 years ago

Same Issue. Found that the one time passwords were made by setting the expiration date to 0. Is the cyclic access the same kind of trick like setting the expiration month to 0 for monthly...?