常见错误
  1. Could not find service with UUID <1910> on peripheral with UUID NULL
  2. 原因:没有跟锁连接成功,就跟锁进行数据传输
  3. 添加锁时,error:TTErrorAesKey = 0x12, 错误描述:未登录 无操作权限。
  4. 原因:{@link onFoundDevice_peripheralWithInfoDic:}返回参数里isContainAdmin值为NO时,才能成功添加锁
    								-(void)onFoundDevice_peripheralWithInfoDic:(NSDictionary*)infoDic{
    									if([infoDic[@"isContainAdmin"] boolValue] == NO){
    									
    									}
    								}
  5. 报错,error:TTErrorDataCRCError = 0x01, 错误描述:CRC校验出错 。
  6. 原因:可能是传输过程中数据丢失,可以再重试一次操作。
  7. 报错,error:TTErrorIsWrongDynamicPS = 0x08, 错误描述:动态密码错误(约定数字于随机数之和错误)。
  8. 原因:可能是同时调用了两个蓝牙接口,参考“使用说明及示例” -> “TTLock使用注意事项”第一条。
  9. 调用开锁方法的时候 报了Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSSingleObjectArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]'
  10. 原因: 参数version中间以点(.)连接,如:5.3.1.1.1
  11. 上传App Store出错
  12. 参考集成说明->注意事项里第一项。

  1. Could not find service with UUID <1910> on peripheral with UUID NULL.
  2. Reason: No connection with the lock is successful, then the data is transmitted with the lock.
  3. Add lock times error,error:TTErrorAesKey = 0x12.
  4. Reason: In {@link onFoundDevice_peripheralWithInfoDic:}, ContainAdmin == NO,can be successfully added to the lock.
    								-(void)onFoundDevice_peripheralWithInfoDic:(NSDictionary*)infoDic{
    									if([infoDic[@"isContainAdmin"] boolValue] == NO){
    									
    									}
    								}
  5. error:TTErrorDataCRCError = 0x01
  6. Reason: data loss may occur during transmission, and you can retry.
  7. error:TTErrorIsWrongDynamicPS = 0x08
  8. Reason: it may be called two Bluetooth interfaces at the same time, refer to "Instructions and examples” ->"TTLock attentions" first.
  9. Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSSingleObjectArrayI objectAtIndex:]: index 1 beyond bounds [0 .. 0]'。
  10. Reason: version ,Consist of protocolType.protocolVersion.scene.groupId.orgId, dot-separated components , Such as: 5.3.2.1.1
  11. Upload App Store error
  12. Refer to "Integration Description" -> "Attention" in the first item.