Closed ghost closed 8 months ago
Hi , If the probability of error is low, i think it is normal. If only some locks fail frequently, it may be related to the lock hardware. Please send the account number and lock name to us for checking.
------------------ 原始邮件 ------------------ 发件人: "ttlock/iOS_SDK_Demo" @.>; 发送时间: 2022年6月13日(星期一) 晚上8:53 @.>; @.***>; 主题: [ttlock/iOS_SDK_Demo] Cannot get passage mode value (Issue #11)
I am using TTLock.getPassageModes(withLockData: lockData) to get passage mode value for my lock , it works in majority cases but in some locks there is error obtaining the same . Usually resulting in the error with code 99 , below is a snippet of error received .
"TTLock Error : TTError(rawValue: 99)" "TTLock Error Msg : Optional(\"Bluetooth has disconnected, please try again\")"
Please advice.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I am using TTLock.getPassageModes(withLockData: lockData) to get passage mode value for my lock , it works in majority cases but in some locks there is error obtaining the same . Usually resulting in the error with code 99 , below is a snippet of error received .
invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution. "TTLock Error : TTError(rawValue: 99)" "TTLock Error Msg : Optional(\"Bluetooth has disconnected, please try again\")"
Please advice.