ttlock / Android_SDK_Demo

TTLock is a global provider of solutions for smart locks. We provide PCBA and softwares for lock manufactures and end users. We provide open API/SDK for developers. With these APIs/SDKs, you can develop your own applications to manage smart locks. The SDK here is for mobile app to communicate with locks via bluetooth.
23 stars 24 forks source link

Cannot specify type of the passcode #2

Closed azlekov closed 3 years ago

azlekov commented 5 years ago

Cannot create

createCustomPasscode modifyCustomPasscode and modifyAdminPasscode are the only methods for configuring passcodes. There's no method argument specifying the type of the passcode. I think this is very important and must to have functionality.

The old SDK have them and support them also the TTLock official app. But the old SDK is not longer supported on Android 9 because of the Bluetooth services implemented and permissions.

ttlock commented 5 years ago

specify type of passcode is get from TTLock open platform by call server api. the website :+1: https://open.sciener.cn/doc/api/v3/keyboardPwd/get