ttlock / iOS_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.
MIT License
12 stars 12 forks source link

Implementation for Privacy lock and tamper alert feature #10

Closed ghost closed 2 years ago

ghost commented 2 years ago

Hi ,

I am currently using TTLock SDK wherein I need to implement privacy lock and tamper alert feature . The implementation include setting and getting the corresponding values of these features from the lock.

Please guide . Thanks

JuannyiOS commented 2 years ago

Hi , use those two methods

                           on:(BOOL)on

                     lockData:(NSString *)lockData

                      success:(TTSucceedBlock)success

                      failure:(TTFailedBlock)failure;

                     lockData:(NSString *)lockData

                      success:(TTGetLockConfigSuccessBlock)success

                      failure:(TTFailedBlock)failure;

type : TTTamperAlert TTPrivacyLock

------------------ 原始邮件 ------------------ 发件人: "ttlock/iOS_SDK_Demo" @.>; 发送时间: 2022年5月27日(星期五) 中午12:42 @.>; @.***>; 主题: [ttlock/iOS_SDK_Demo] Implementation for Privacy lock and tamper alert feature (Issue #10)

Hi ,

I am currently using TTLock SDK wherein I need to implement privacy lock and tamper alert feature . The implementation include setting and getting the corresponding values of these features from the lock.

Please guide . Thanks

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>