|
常见错误
- Could not find service with UUID <1910> on peripheral with UUID NULL
原因:没有跟锁连接成功,就跟锁进行数据传输
- 添加锁时,error:TTErrorAesKey = 0x12, 错误描述:未登录 无操作权限。
原因:{@link onFoundDevice_peripheralWithInfoDic:}返回参数里isContainAdmin值为NO时,才能成功添加锁
-(void)onFoundDevice_peripheralWithInfoDic:(NSDictionary*)infoDic{
if([infoDic[@"isContainAdmin"] boolValue] == NO){
}
}
- 报错,error:TTErrorDataCRCError = 0x01, 错误描述:CRC校验出错 。
原因:可能是传输过程中数据丢失,可以再重试一次操作。
- 报错,error:TTErrorIsWrongDynamicPS = 0x08, 错误描述:动态密码错误(约定数字于随机数之和错误)。
原因:可能是同时调用了两个蓝牙接口,参考“使用说明及示例” -> “TTLock使用注意事项”第一条。
- 调用开锁方法的时候 报了Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSSingleObjectArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]'
原因: 参数version中间以点(.)连接,如:5.3.1.1.1
- 上传App Store出错
参考集成说明->注意事项里第一项。
- Could not find service with UUID <1910> on peripheral with UUID NULL.
Reason: No connection with the lock is successful, then the data is transmitted with the lock.
- Add lock times error,error:TTErrorAesKey = 0x12.
Reason: In {@link onFoundDevice_peripheralWithInfoDic:}, ContainAdmin == NO,can be successfully added to the lock.
-(void)onFoundDevice_peripheralWithInfoDic:(NSDictionary*)infoDic{
if([infoDic[@"isContainAdmin"] boolValue] == NO){
}
}
- error:TTErrorDataCRCError = 0x01
Reason: data loss may occur during transmission, and you can retry.
- error:TTErrorIsWrongDynamicPS = 0x08
Reason: it may be called two Bluetooth interfaces at the same time, refer to "Instructions and examples” ->"TTLock attentions" first.
- Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSSingleObjectArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]'。
Reason: version ,Consist of protocolType.protocolVersion.scene.groupId.orgId, dot-separated components , Such as: 5.3.2.1.1
- Upload App Store error
Refer to "Integration Description" -> "Attention" in the first item.
|