![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartBLELockDevice.h>
Properties | |
id< ThingSmartBLELockDeviceDelegate > | delegate |
![]() | |
NSString * | devId |
Returns the device id. More... | |
ThingSmartDeviceModel * | deviceModel |
Returns the model of basic device information. More... | |
id< ThingSmartDeviceDelegate > | delegate |
Definition at line 70 of file ThingSmartBLELockDevice.h.
- (void) addCardForMemberWithMemberId: | (NSString *) | memberId | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
设置卡片解锁方式
memberId | 成员 id |
unlockName | 解锁名称 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) addCardForMemberWithMemberId: | (NSString *) | memberId | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
设置卡片解锁方式
memberId | 成员 id |
unlockName | 解锁名称 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) addFingerPrintForMemberWithMemberId: | (NSString *) | memberId | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
添加指纹
memberId | 需要添加的成员 id, |
unlockName | 密码名称 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) addFingerPrintForMemberWithMemberId: | (NSString *) | memberId | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
success: | (ThingSuccessID) | success | |
failure: | (ThingFailureError) | failure | |
添加指纹
memberId | 需要添加的成员 id, |
unlockName | 密码名称 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) addHijackingConfigWithDevId: | (NSString *) | devId | |
dpId: | (NSString *) | dpId | |
dpValue: | (NSString *) | dpValue | |
success: | (ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
设置防劫持
devId | 设备ID |
dpId | dp点 |
dpValue | dp值 |
success | 成功回调 |
failure | 失败回调 |
- (void) addHijackingConfigWithDevId: | (NSString *) | devId | |
dpId: | (NSString *) | dpId | |
dpValue: | (NSString *) | dpValue | |
success: | (ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
设置防劫持
devId | 设备ID |
dpId | dp点 |
dpValue | dp值 |
success | 成功回调 |
failure | 失败回调 |
- (void) addMemberWithUserName: | (NSString *) | userName | |
allowUnlock: | (BOOL) | allowUnlock | |
timeType: | (ThingMemberTimeType) | timeType | |
effectiveDate: | (NSDate *) | effectiveDate | |
invalidDate: | (NSDate *) | invalidDate | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增门锁成员
userName | 成员名称 |
allowUnlock | 是否允许使用蓝牙解锁 |
timeType | 时效性,永久 or 分时间段 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
success | 成功回调 |
failure | 失败回调 |
- (void) addMemberWithUserName: | (NSString *) | userName | |
allowUnlock: | (BOOL) | allowUnlock | |
timeType: | (ThingMemberTimeType) | timeType | |
effectiveDate: | (NSDate *) | effectiveDate | |
invalidDate: | (NSDate *) | invalidDate | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增门锁成员
userName | 成员名称 |
allowUnlock | 是否允许使用蓝牙解锁 |
timeType | 时效性,永久 or 分时间段 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
success | 成功回调 |
failure | 失败回调 |
- (void) addPasswordForMemberWithMemberId: | (NSString *) | memberId | |
password: | (NSString *) | password | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增普通密码,默认无限使用,次数无限
memberId | 需要添加的成员 id |
password | 密码 |
unlockName | 密码名称 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) addPasswordForMemberWithMemberId: | (NSString *) | memberId | |
password: | (NSString *) | password | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增普通密码,默认无限使用,次数无限
memberId | 需要添加的成员 id |
password | 密码 |
unlockName | 密码名称 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) addProUnlockOpModeForMemberWithMemberId: | (NSString *) | memberId | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
appSend: | (BOOL) | appSend | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增解锁方式(Pro门锁)
memberId | 需要添加的成员 id, |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
appSend | 是否需要发送app通知 |
success | 成功回调 |
failure | 失败回调 |
- (void) addProUnlockOpModeForMemberWithMemberId: | (NSString *) | memberId | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
appSend: | (BOOL) | appSend | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增解锁方式(Pro门锁)
memberId | 需要添加的成员 id, |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
appSend | 是否需要发送app通知 |
success | 成功回调 |
failure | 失败回调 |
- (void) addUnlockOpmodeForMemberWithMemberId: | (NSString *) | memberId | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增解锁方式
memberId | 需要添加的成员 id, |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) addUnlockOpmodeForMemberWithMemberId: | (NSString *) | memberId | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
新增解锁方式
memberId | 需要添加的成员 id, |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) allocProUnlockOpModeWithDevId: | (NSString *) | devId | |
userId: | (NSString *) | userId | |
unlockIds: | (NSString *) | unlockIds | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
开锁方式分配到人
devId | 设备ID |
userId | 成员ID |
unlockIds | 解锁方式id |
success | 成功回调 |
failure | 失败回调 |
- (void) allocProUnlockOpModeWithDevId: | (NSString *) | devId | |
userId: | (NSString *) | userId | |
unlockIds: | (NSString *) | unlockIds | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
开锁方式分配到人
devId | 设备ID |
userId | 成员ID |
unlockIds | 解锁方式id |
success | 成功回调 |
failure | 失败回调 |
- (void) autoConnect |
如果没有连接成功或使用过程中断开,可以调用此方法进行连接(触发蓝牙连接)
- (void) autoConnect |
如果没有连接成功或使用过程中断开,可以调用此方法进行连接(触发蓝牙连接)
- (void) bleManualLock: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
关锁
success | 成功回调 |
failure | 失败回调 |
- (void) bleManualLock: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
关锁
success | 成功回调 |
failure | 失败回调 |
- (void) bleUnlock: | (NSString *) | lockUserId | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
开锁
lockUserId | 锁具用户ID |
success | 成功回调 |
failure | 失败回调 |
- (void) bleUnlock: | (NSString *) | lockUserId | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
开锁
lockUserId | 锁具用户ID |
success | 成功回调 |
failure | 失败回调 |
- (void) cancelUnlockOpmodeForFingerWithAdmin: | (BOOL) | isAdmin | |
lockUserId: | (int) | lockUserId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
取消指纹录入
isAdmin | 是否是管理员 |
lockUserId | 锁具用户ID |
success | 成功回调 |
failure | 失败回调 |
- (void) cancelUnlockOpmodeForFingerWithAdmin: | (BOOL) | isAdmin | |
lockUserId: | (int) | lockUserId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
取消指纹录入
isAdmin | 是否是管理员 |
lockUserId | 锁具用户ID |
success | 成功回调 |
failure | 失败回调 |
- (void) createProLockMemberWithHomeId: | (long long) | homeId | |
requestModel: | (ThingSmartHomeAddMemberRequestModel *) | requestModel | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
创建门锁家庭成员
homeId | 家庭ID |
requestModel | 添加成员请求模型 |
success | 成功回调 |
failure | 失败回调 |
- (void) createProLockMemberWithHomeId: | (long long) | homeId | |
requestModel: | (ThingSmartHomeAddMemberRequestModel *) | requestModel | |
success: | (ThingSuccessDict) | success | |
failure: | (ThingFailureError) | failure | |
创建门锁家庭成员
homeId | 家庭ID |
requestModel | 添加成员请求模型 |
success | 成功回调 |
failure | 失败回调 |
- (void) deleteOnlinePasswordWithDevId: | (NSString *) | devId | |
pwdId: | (NSInteger) | pwdId | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除在线临时密码
devId | 设备ID |
pwdId | 密码编号 |
sn | 硬件ID |
success | 成功回调 |
failure | 失败回调 |
- (void) deleteOnlinePasswordWithDevId: | (NSString *) | devId | |
pwdId: | (NSInteger) | pwdId | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除在线临时密码
devId | 设备ID |
pwdId | 密码编号 |
sn | 硬件ID |
success | 成功回调 |
failure | 失败回调 |
- (void) deleteProOnlinePasswordWithDevId: | (NSString *) | devId | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除在线临时密码
devId | 设备ID |
unlockBindingId | 临时密码序号 |
sn | 硬件ID |
success | 成功回调 |
failure | 失败回调 |
- (void) deleteProOnlinePasswordWithDevId: | (NSString *) | devId | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除在线临时密码
devId | 设备ID |
unlockBindingId | 临时密码序号 |
sn | 硬件ID |
success | 成功回调 |
failure | 失败回调 |
- (void) fetchRemoteUnlockTypeWithDevId: | (NSString *) | devId | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
查询远程开门开关状态
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) fetchRemoteUnlockTypeWithDevId: | (NSString *) | devId | |
success: | (nullable ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
查询远程开门开关状态
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) fetchRemoteVoiceUnlockWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
查询音箱密码开启状态
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) fetchRemoteVoiceUnlockWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
查询音箱密码开启状态
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getAlarmRecordListWithOffset: | (int) | offset | |
limit: | (int) | limit | |
success: | (nullable void(^)(NSArray< ThingSmartLockRecordModel * > *records)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取告警记录
offset | 分页数 |
limit | 每页限制数据条数 |
success | 成功回调 |
failure | 失败回调 |
- (void) getAlarmRecordListWithOffset: | (int) | offset | |
limit: | (int) | limit | |
success: | (nullable void(^)(NSArray< ThingSmartLockRecordModel * > *records)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取告警记录
offset | 分页数 |
limit | 每页限制数据条数 |
success | 成功回调 |
failure | 失败回调 |
- (void) getCardListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockOpmodeModel * > *models)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取卡片解锁密码列表
success | 成功回调 |
failure | 失败回调 |
- (void) getCardListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockOpmodeModel * > *models)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取卡片解锁密码列表
success | 成功回调 |
failure | 失败回调 |
- (void) getCurrentMemberDetailWithDevId: | (NSString *) | devId | |
gid: | (long long) | gid | |
success: | (nullable ThingSuccessDict) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取当前账号的成员
devId | 设备Id |
gid | 家庭Id |
success | 成功回调 |
failure | 失败回调 |
- (void) getCurrentMemberDetailWithDevId: | (NSString *) | devId | |
gid: | (long long) | gid | |
success: | (nullable ThingSuccessDict) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取当前账号的成员
devId | 设备Id |
gid | 家庭Id |
success | 成功回调 |
failure | 失败回调 |
- (void) getCustomOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
password: | (NSString *) | password | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
availTime: | (NSInteger) | availTime | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加自定义密码
devId | 设备ID |
name | 密码名称 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
availTime | 可用次数。0:永久 1:一次性 |
sn | 临时密码编号 |
success | 成功回调 |
failure | 失败回调 |
- (void) getCustomOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
password: | (NSString *) | password | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
availTime: | (NSInteger) | availTime | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加自定义密码
devId | 设备ID |
name | 密码名称 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
availTime | 可用次数。0:永久 1:一次性 |
sn | 临时密码编号 |
success | 成功回调 |
failure | 失败回调 |
- (void) getFingerPrintListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockOpmodeModel * > *models)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取指纹解锁密码列表
success | 成功回调 |
failure | 失败回调 |
- (void) getFingerPrintListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockOpmodeModel * > *models)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取指纹解锁密码列表
success | 成功回调 |
failure | 失败回调 |
- (void) getLockDeviceConfigWithProductId: | (NSString *) | productId | |
options: | (NSString *) | options | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取面板配置信息,密码进制类型
productId | 产品ID |
options | 查询项(uiContent,cloudDp,powerCode) |
success | 成功回调 |
failure | 失败回调 |
- (void) getLockDeviceConfigWithProductId: | (NSString *) | productId | |
options: | (NSString *) | options | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取面板配置信息,密码进制类型
productId | 产品ID |
options | 查询项(uiContent,cloudDp,powerCode) |
success | 成功回调 |
failure | 失败回调 |
- (void) getLockDynamicPasswordWithSuccess: | (nullable ThingSuccessString) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取动态密码 get lock dynamic password
success | 成功回调 |
failure | 失败回调 |
- (void) getLockDynamicPasswordWithSuccess: | (nullable ThingSuccessString) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取动态密码 get lock dynamic password
success | 成功回调 |
failure | 失败回调 |
- (void) getMemberListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockMemberModel * > *members)) | success | |
failure: | (ThingFailureError) | failure | |
获取门锁成员列表
success | 成功回调 |
failure | 失败回调 |
- (void) getMemberListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockMemberModel * > *members)) | success | |
failure: | (ThingFailureError) | failure | |
获取门锁成员列表
success | 成功回调 |
failure | 失败回调 |
- (void) getOfflinePasswordListWithDevId: | (NSString *) | devId | |
pwdType: | (NSString *) | pwdType | |
status: | (NSInteger) | status | |
offset: | (NSInteger) | offset | |
limit: | (NSInteger) | limit | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
离线临时密码列表
devId | 设备ID |
pwdType | 密码类型,0.多次使用的密码 1.单次使用的密码 8. 删除单个的密码 9.清空码 |
status | 密码状态,1. 有效 0. 无效 |
offset | 页码 |
limit | 记录数(默认50) |
success | 成功回调 |
failure | 失败回调 |
- (void) getOfflinePasswordListWithDevId: | (NSString *) | devId | |
pwdType: | (NSString *) | pwdType | |
status: | (NSInteger) | status | |
offset: | (NSInteger) | offset | |
limit: | (NSInteger) | limit | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
离线临时密码列表
devId | 设备ID |
pwdType | 密码类型,0.多次使用的密码 1.单次使用的密码 8. 删除单个的密码 9.清空码 |
status | 密码状态,1. 有效 0. 无效 |
offset | 页码 |
limit | 记录数(默认50) |
success | 成功回调 |
failure | 失败回调 |
- (void) getOfflinePasswordWithDevId: | (NSString *) | devId | |
pwdType: | (NSString *) | pwdType | |
gmtStart: | (NSInteger) | gmtStart | |
gmtExpired: | (NSInteger) | gmtExpired | |
pwdName: | (NSString *) | pwdName | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加不限次数密码、单次密码、清空码(清空所有)
devId | 设备ID |
pwdType | 密码类型(0.多次1.单次9.清空密码) |
gmtStart | 开始时间(非多次密码暂时传0) |
gmtExpired | 结束时间(非多次密码暂时传0) |
pwdName | 密码名称 |
success | 成功回调 |
failure | 失败回调 |
- (void) getOfflinePasswordWithDevId: | (NSString *) | devId | |
pwdType: | (NSString *) | pwdType | |
gmtStart: | (NSInteger) | gmtStart | |
gmtExpired: | (NSInteger) | gmtExpired | |
pwdName: | (NSString *) | pwdName | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加不限次数密码、单次密码、清空码(清空所有)
devId | 设备ID |
pwdType | 密码类型(0.多次1.单次9.清空密码) |
gmtStart | 开始时间(非多次密码暂时传0) |
gmtExpired | 结束时间(非多次密码暂时传0) |
pwdName | 密码名称 |
success | 成功回调 |
failure | 失败回调 |
- (void) getOnlinePasswordListWithDevId: | (NSString *) | devId | |
availTime: | (NSInteger) | availTime | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
在线临时密码列表
devId | 设备ID |
availTime | 可用次数 |
success | 成功回调 |
failure | 失败回调 |
- (void) getOnlinePasswordListWithDevId: | (NSString *) | devId | |
availTime: | (NSInteger) | availTime | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
在线临时密码列表
devId | 设备ID |
availTime | 可用次数 |
success | 成功回调 |
failure | 失败回调 |
- (void) getPasswordListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockOpmodeModel * > *models)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取普通密码列表
success | 成功回调 |
failure | 失败回调 |
- (void) getPasswordListWithSuccess: | (nullable void(^)(NSArray< ThingSmartBLELockOpmodeModel * > *models)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取普通密码列表
success | 成功回调 |
failure | 失败回调 |
- (void) getProBoundUnlockOpModeListWithDevId: | (NSString *) | devId | |
userId: | (NSString *) | userId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取成员已绑定的解锁方式列表
devId | 设备ID |
userId | 成员ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getProBoundUnlockOpModeListWithDevId: | (NSString *) | devId | |
userId: | (NSString *) | userId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取成员已绑定的解锁方式列表
devId | 设备ID |
userId | 成员ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getProCurrentMemberDetailWithDevId: | (NSString *) | devId | |
success: | (nullable ThingSuccessDict) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取当前账号的成员(Pro门锁)
devId | 设备Id |
success | 成功回调 |
failure | 失败回调 |
- (void) getProCurrentMemberDetailWithDevId: | (NSString *) | devId | |
success: | (nullable ThingSuccessDict) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取当前账号的成员(Pro门锁)
devId | 设备Id |
success | 成功回调 |
failure | 失败回调 |
- (void) getProCustomOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
password: | (NSString *) | password | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
availTime: | (NSInteger) | availTime | |
sn: | (NSInteger) | sn | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加自定义密码
devId | 设备ID |
name | 密码名称 |
password | 密码内容 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
availTime | 可用次数 |
sn | 临时密码编号 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProCustomOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
password: | (NSString *) | password | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
availTime: | (NSInteger) | availTime | |
sn: | (NSInteger) | sn | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加自定义密码
devId | 设备ID |
name | 密码名称 |
password | 密码内容 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
availTime | 可用次数 |
sn | 临时密码编号 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProLockMemberListWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取门锁成员列表
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getProLockMemberListWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取门锁成员列表
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getProOfflinePasswordWithDevId: | (NSString *) | devId | |
pwdType: | (NSString *) | pwdType | |
gmtStart: | (NSInteger) | gmtStart | |
gmtExpired: | (NSInteger) | gmtExpired | |
pwdName: | (NSString *) | pwdName | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加限时密码、单次密码、清空码(清空所有)
devId | 设备ID |
pwdType | 密码类型(0.多次1.单次9.清空密码) |
gmtStart | 开始时间 |
gmtExpired | 结束时间 |
pwdName | 密码名称 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProOfflinePasswordWithDevId: | (NSString *) | devId | |
pwdType: | (NSString *) | pwdType | |
gmtStart: | (NSInteger) | gmtStart | |
gmtExpired: | (NSInteger) | gmtExpired | |
pwdName: | (NSString *) | pwdName | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加限时密码、单次密码、清空码(清空所有)
devId | 设备ID |
pwdType | 密码类型(0.多次1.单次9.清空密码) |
gmtStart | 开始时间 |
gmtExpired | 结束时间 |
pwdName | 密码名称 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProPasswordListWithDevId: | (NSString *) | devId | |
authTypes: | (NSArray *) | authTypes | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
临时密码列表
devId | 设备ID |
authTypes | 授权类型 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProPasswordListWithDevId: | (NSString *) | devId | |
authTypes: | (NSArray *) | authTypes | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
临时密码列表
devId | 设备ID |
authTypes | 授权类型 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProSingleRevokeOfflinePasswordWithDevId: | (NSString *) | devId | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
name: | (NSString *) | name | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加清空码(清空单个)
devId | 设备ID |
unlockBindingId | 密码的授权编号 |
name | 离线删除密码的名称 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProSingleRevokeOfflinePasswordWithDevId: | (NSString *) | devId | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
name: | (NSString *) | name | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加清空码(清空单个)
devId | 设备ID |
unlockBindingId | 密码的授权编号 |
name | 离线删除密码的名称 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProUnboundUnlockOpModeListWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取成员未绑定的解锁方式列表
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getProUnboundUnlockOpModeListWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取成员未绑定的解锁方式列表
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getProUnlockOpModeDetailWithDevId: | (NSString *) | devId | |
opModeId: | (NSString *) | opModeId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取单个解锁方式的详情
devId | 设备编号 |
opModeId | 解锁方式序号 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProUnlockOpModeDetailWithDevId: | (NSString *) | devId | |
opModeId: | (NSString *) | opModeId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取单个解锁方式的详情
devId | 设备编号 |
opModeId | 解锁方式序号 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProUnlockRecordListWithDevId: | (NSString *) | devId | |
logCategories: | (NSString *) | logCategories | |
userIds: | (NSString *) | userIds | |
onlyShowMediaRecord: | (BOOL) | onlyShowMediaRecord | |
startTime: | (NSInteger) | startTime | |
endTime: | (NSInteger) | endTime | |
lastRowKey: | (NSString *) | lastRowKey | |
limit: | (NSInteger) | limit | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
查询日志记录
devId | 设备ID |
logCategories | 日志大类(操作日志:operation 开门记录:unlock_record 关门记录:close_record 告警记录:alarm_record) |
userIds | 需要筛选的用户列表(用户id的列表,以逗号分隔。 如 12,13) |
onlyShowMediaRecord | 是否仅显示带图片或者视频的记录, 默认为 false 显示所有记录 |
startTime | 开始时间(单位毫秒) |
endTime | 结束时间(单位毫秒) |
lastRowKey | 上一页的数据key |
limit | 每页数据个数 |
success | 成功回调 |
failure | 失败回调 |
- (void) getProUnlockRecordListWithDevId: | (NSString *) | devId | |
logCategories: | (NSString *) | logCategories | |
userIds: | (NSString *) | userIds | |
onlyShowMediaRecord: | (BOOL) | onlyShowMediaRecord | |
startTime: | (NSInteger) | startTime | |
endTime: | (NSInteger) | endTime | |
lastRowKey: | (NSString *) | lastRowKey | |
limit: | (NSInteger) | limit | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
查询日志记录
devId | 设备ID |
logCategories | 日志大类(操作日志:operation 开门记录:unlock_record 关门记录:close_record 告警记录:alarm_record) |
userIds | 需要筛选的用户列表(用户id的列表,以逗号分隔。 如 12,13) |
onlyShowMediaRecord | 是否仅显示带图片或者视频的记录, 默认为 false 显示所有记录 |
startTime | 开始时间(单位毫秒) |
endTime | 结束时间(单位毫秒) |
lastRowKey | 上一页的数据key |
limit | 每页数据个数 |
success | 成功回调 |
failure | 失败回调 |
- (void) getSingleRevokeOfflinePasswordWithDevId: | (NSString *) | devId | |
pwdId: | (NSInteger) | pwdId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加清空码(清空单个)
devId | 设备ID |
pwdId | 密码编号 |
success | 成功回调 |
failure | 失败回调 |
- (void) getSingleRevokeOfflinePasswordWithDevId: | (NSString *) | devId | |
pwdId: | (NSInteger) | pwdId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加清空码(清空单个)
devId | 设备ID |
pwdId | 密码编号 |
success | 成功回调 |
failure | 失败回调 |
- (void) getSingleRevokePasswordListWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取可分配的离线不限次数密码列表
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getSingleRevokePasswordListWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取可分配的离线不限次数密码列表
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getSyncBatchDataWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取门锁同步数据
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getSyncBatchDataWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取门锁同步数据
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) getUnlockRecordListWithOffset: | (int) | offset | |
limit: | (int) | limit | |
success: | (nullable void(^)(NSArray< ThingSmartBLELockRecordModel * > *records)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取开门记录
offset | 分页数 |
limit | 每页限制数据条数 |
success | 成功回调 |
failure | 失败回调 |
- (void) getUnlockRecordListWithOffset: | (int) | offset | |
limit: | (int) | limit | |
success: | (nullable void(^)(NSArray< ThingSmartBLELockRecordModel * > *records)) | success | |
failure: | (nullable ThingFailureError) | failure | |
获取开门记录
offset | 分页数 |
limit | 每页限制数据条数 |
success | 成功回调 |
failure | 失败回调 |
- (BOOL) isBLEConnected |
设备和手机是否已建立蓝牙连接,如果为 no,可以调用 autoConnect 进行连接
- (BOOL) isBLEConnected |
设备和手机是否已建立蓝牙连接,如果为 no,可以调用 autoConnect 进行连接
- (BOOL) isOnline |
查询设备连接状态(可判断网关是否在线)
- (BOOL) isOnline |
查询设备连接状态(可判断网关是否在线)
- (void) isProNeedAllocUnlockOpModeWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
判断是否有需要分配的开锁方式
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) isProNeedAllocUnlockOpModeWithDevId: | (NSString *) | devId | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
判断是否有需要分配的开锁方式
devId | 设备ID |
success | 成功回调 |
failure | 失败回调 |
- (void) manualLockWithStatus: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
远程关锁
success | 成功回调 |
failure | 失败回调 |
- (void) manualLockWithStatus: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
远程关锁
success | 成功回调 |
failure | 失败回调 |
- (void) modifyProUnlockOpModeForMemberWithMemberId: | (NSString *) | memberId | |
opmodeId: | (NSString *) | opmodeId | |
isAdmin: | (BOOL) | isAdmin | |
firmwareId: | (int) | firmwareId | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
appSend: | (BOOL) | appSend | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式(Pro门锁)
memberId | 需要修改的成员 id, |
opmodeId | 解锁方式的 model id |
isAdmin | 是否是管理员 |
firmwareId | 硬件 id |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
appSend | 是否需要发送app通知 |
success | 成功回调 |
failure | 失败回调 |
- (void) modifyProUnlockOpModeForMemberWithMemberId: | (NSString *) | memberId | |
opmodeId: | (NSString *) | opmodeId | |
isAdmin: | (BOOL) | isAdmin | |
firmwareId: | (int) | firmwareId | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
appSend: | (BOOL) | appSend | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式(Pro门锁)
memberId | 需要修改的成员 id, |
opmodeId | 解锁方式的 model id |
isAdmin | 是否是管理员 |
firmwareId | 硬件 id |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
appSend | 是否需要发送app通知 |
success | 成功回调 |
failure | 失败回调 |
- (void) modifyUnlockOpmodeForMemberWithMemberId: | (NSString *) | memberId | |
opmodeId: | (NSString *) | opmodeId | |
isAdmin: | (BOOL) | isAdmin | |
firmwareId: | (int) | firmwareId | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式(涉及与硬件交互)
memberId | 需要修改的成员 id, |
opmodeId | 解锁方式的 model id |
isAdmin | 是否是管理员 |
firmwareId | 硬件 id |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) modifyUnlockOpmodeForMemberWithMemberId: | (NSString *) | memberId | |
opmodeId: | (NSString *) | opmodeId | |
isAdmin: | (BOOL) | isAdmin | |
firmwareId: | (int) | firmwareId | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
unlockName: | (NSString *) | unlockName | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
times: | (int) | times | |
dataLength: | (int) | dataLength | |
dataContent: | (NSString *) | dataContent | |
timeout: | (NSTimeInterval) | timeout | |
needHijacking: | (BOOL) | needHijacking | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式(涉及与硬件交互)
memberId | 需要修改的成员 id, |
opmodeId | 解锁方式的 model id |
isAdmin | 是否是管理员 |
firmwareId | 硬件 id |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
unlockName | 解锁的名称 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
times | 使用次数 0: 永久有效,0x01- 0xFE: xx 次数有效,0xFF: 失效 |
dataLength | 数据长度,一般为 1 |
dataContent | 数据内容,一般为 "1",需要保证 length 和 content 长度一致 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
needHijacking | 是否设置为防劫持 |
success | 成功回调 |
failure | 失败回调 |
- (void) publishSyncBatchDataSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
下发同步数据(只要调用一次就可以了)
success | 成功回调 |
failure | 失败回调 |
- (void) publishSyncBatchDataSuccess: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
下发同步数据(只要调用一次就可以了)
success | 成功回调 |
failure | 失败回调 |
- (void) remoteSwitchLock: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
远程解锁
success | 成功回调 |
failure | 失败回调 |
- (void) remoteSwitchLock: | (ThingSuccessBOOL) | success | |
failure: | (ThingFailureError) | failure | |
远程解锁
success | 成功回调 |
failure | 失败回调 |
- (void) removeCardForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除卡片密码
opmodeModel | 密码 model |
success | 成功回调 |
failure | 失败回调 |
- (void) removeCardForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除卡片密码
opmodeModel | 密码 model |
success | 成功回调 |
failure | 失败回调 |
- (void) removeFingerPrintForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除指纹密码
opmodeModel | 密码 model |
success | 成功回调 |
failure | 失败回调 |
- (void) removeFingerPrintForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除指纹密码
opmodeModel | 密码 model |
success | 成功回调 |
failure | 失败回调 |
- (void) removeHijackingConfigWithDevId: | (NSString *) | devId | |
dpId: | (NSString *) | dpId | |
dpValue: | (NSString *) | dpValue | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
移除防劫持设置
devId | 设备ID |
dpId | dp点 |
dpValue | dp值 |
success | 成功回调 |
failure | 失败回调 |
- (void) removeHijackingConfigWithDevId: | (NSString *) | devId | |
dpId: | (NSString *) | dpId | |
dpValue: | (NSString *) | dpValue | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
移除防劫持设置
devId | 设备ID |
dpId | dp点 |
dpValue | dp值 |
success | 成功回调 |
failure | 失败回调 |
- (void) removeMemberWithMemberId: | (NSString *) | memberId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除成员
memberId | 成员 id |
success | 成功回调 |
failure | 失败回调 |
- (void) removeMemberWithMemberId: | (NSString *) | memberId | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除成员
memberId | 成员 id |
success | 成功回调 |
failure | 失败回调 |
- (void) removePasswordForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除普通密码
opmodeModel | 密码 model |
success | 成功回调 |
failure | 失败回调 |
- (void) removePasswordForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除普通密码
opmodeModel | 密码 model |
success | 成功回调 |
failure | 失败回调 |
- (void) removeProLockMemberWithUserId: | (NSString *) | userId | |
isAdmin: | (BOOL) | isAdmin | |
success: | (ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除单个门锁成员
userId | 用户ID |
isAdmin | 是否是管理员 |
success | 成功回调 |
failure | 失败回调 |
- (void) removeProLockMemberWithUserId: | (NSString *) | userId | |
isAdmin: | (BOOL) | isAdmin | |
success: | (ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
删除单个门锁成员
userId | 用户ID |
isAdmin | 是否是管理员 |
success | 成功回调 |
failure | 失败回调 |
- (void) removeProUnlockOpModeForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
timeout: | (NSTimeInterval) | timeout | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除解锁方式(Pro门锁)
opmodeModel | 解锁的 mode |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
success | 成功回调 |
failure | 失败回调 |
- (void) removeProUnlockOpModeForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
timeout: | (NSTimeInterval) | timeout | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除解锁方式(Pro门锁)
opmodeModel | 解锁的 mode |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
success | 成功回调 |
failure | 失败回调 |
- (void) removeUnlockOpmodeForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
timeout: | (NSTimeInterval) | timeout | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除解锁方式
opmodeModel | 解锁的 mode |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
success | 成功回调 |
failure | 失败回调 |
- (void) removeUnlockOpmodeForMemberWithOpmodeModel: | (ThingSmartBLELockOpmodeModel *) | opmodeModel | |
isAdmin: | (BOOL) | isAdmin | |
unlockDpCode: | (NSString *) | unlockDpCode | |
unlockOpType: | (ThingUnlockOpType) | unlockOpType | |
timeout: | (NSTimeInterval) | timeout | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
删除解锁方式
opmodeModel | 解锁的 mode |
isAdmin | 是否是管理员 |
unlockDpCode | 解锁方式对应的 dp code,具体查看产品定义 |
unlockOpType | 解锁方式 |
timeout | 超时时间,设备不一定全响应,超过一定时间进行 block 回调 |
success | 成功回调 |
failure | 失败回调 |
- (void) setRemoteUnlockTypeWithDevId: | (NSString *) | devId | |
propKvs: | (NSString *) | propKvs | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
设置远程开门开关
devId | 设备ID |
propKvs | 键值对,key: UNLOCK_PHONE_REMOTE |
success | 成功回调 |
failure | 失败回调 |
- (void) setRemoteUnlockTypeWithDevId: | (NSString *) | devId | |
propKvs: | (NSString *) | propKvs | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
设置远程开门开关
devId | 设备ID |
propKvs | 键值对,key: UNLOCK_PHONE_REMOTE |
success | 成功回调 |
failure | 失败回调 |
- (void) setRemoteVoiceUnlockWithDevId: | (NSString *) | devId | |
open: | (BOOL) | open | |
pwd: | (NSString *) | pwd | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
设置或取消音箱密码
devId | 设备ID |
open | 开关状态 |
pwd | 密码 |
success | 成功回调 |
failure | 失败回调 |
- (void) setRemoteVoiceUnlockWithDevId: | (NSString *) | devId | |
open: | (BOOL) | open | |
pwd: | (NSString *) | pwd | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
设置或取消音箱密码
devId | 设备ID |
open | 开关状态 |
pwd | 密码 |
success | 成功回调 |
failure | 失败回调 |
- (void) syncDataWithDevId: | (NSString *) | devId | |
dpIds: | (NSArray< NSString * > *) | dpIds | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
发起同步门锁的解锁方式
devId | 设备ID |
dpIds | 需要同步的解锁方式类型列表(数组数字) |
success | 成功回调 |
failure | 失败回调 |
- (void) syncDataWithDevId: | (NSString *) | devId | |
dpIds: | (NSArray< NSString * > *) | dpIds | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
发起同步门锁的解锁方式
devId | 设备ID |
dpIds | 需要同步的解锁方式类型列表(数组数字) |
success | 成功回调 |
failure | 失败回调 |
- (void) updateMemberOpmodeWithMemberId: | (NSString *) | memberId | |
opmodeId: | (NSString *) | opmodeId | |
unlockName: | (NSString *) | unlockName | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式基本信息(不涉及硬件交互)
memberId | 成员 id |
opmodeId | 解锁方式 id |
unlockName | 解锁信息 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateMemberOpmodeWithMemberId: | (NSString *) | memberId | |
opmodeId: | (NSString *) | opmodeId | |
unlockName: | (NSString *) | unlockName | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式基本信息(不涉及硬件交互)
memberId | 成员 id |
opmodeId | 解锁方式 id |
unlockName | 解锁信息 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateMemberWithUserName: | (NSString *) | userName | |
memberId: | (NSString *) | memberId | |
allowUnlock: | (BOOL) | allowUnlock | |
timeType: | (ThingMemberTimeType) | timeType | |
effectiveDate: | (NSDate *) | effectiveDate | |
invalidDate: | (NSDate *) | invalidDate | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
更新门锁成员信息
userName | 成员名称 |
memberId | 成员 id |
allowUnlock | 是否允许使用蓝牙解锁 |
timeType | 时效性,永久 or 分时间段 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateMemberWithUserName: | (NSString *) | userName | |
memberId: | (NSString *) | memberId | |
allowUnlock: | (BOOL) | allowUnlock | |
timeType: | (ThingMemberTimeType) | timeType | |
effectiveDate: | (NSDate *) | effectiveDate | |
invalidDate: | (NSDate *) | invalidDate | |
success: | (nullable ThingSuccessBOOL) | success | |
failure: | (nullable ThingFailureError) | failure | |
更新门锁成员信息
userName | 成员名称 |
memberId | 成员 id |
allowUnlock | 是否允许使用蓝牙解锁 |
timeType | 时效性,永久 or 分时间段 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
password: | (NSString *) | password | |
pwdId: | (NSInteger) | pwdId | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
sn: | (NSInteger) | sn | |
availTime: | (NSInteger) | availTime | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改在线密码的信息(时效)
devId | 设备ID |
name | 密码名称 |
pwdId | 密码编号 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
availTime | 可用次数 |
sn | 硬件ID |
success | 成功回调 |
failure | 失败回调 |
- (void) updateOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
password: | (NSString *) | password | |
pwdId: | (NSInteger) | pwdId | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
sn: | (NSInteger) | sn | |
availTime: | (NSInteger) | availTime | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改在线密码的信息(时效)
devId | 设备ID |
name | 密码名称 |
pwdId | 密码编号 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
availTime | 可用次数 |
sn | 硬件ID |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProLockMemberInfoWithRequestModel: | (ThingSmartHomeMemberRequestModel *) | memberRequestModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
更新门锁家庭成员
memberRequestModel | 家庭成员请求模型 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProLockMemberInfoWithRequestModel: | (ThingSmartHomeMemberRequestModel *) | memberRequestModel | |
success: | (ThingSuccessHandler) | success | |
failure: | (ThingFailureError) | failure | |
更新门锁家庭成员
memberRequestModel | 家庭成员请求模型 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProLockMemberTimeWithDevId: | (NSString *) | devId | |
memberId: | (NSString *) | memberId | |
offlineUnlock: | (BOOL) | offlineUnlock | |
isAdmin: | (BOOL) | isAdmin | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
schedule: | (ThingSmartBLELockTimeScheduleInfo *) | scheduleInfo | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改单个成员时效
devId | 设备ID |
memberId | 用户ID |
offlineUnlock | 是否支持离线解锁 |
isAdmin | 是否管理员 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
scheduleInfo | 时效信息 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProLockMemberTimeWithDevId: | (NSString *) | devId | |
memberId: | (NSString *) | memberId | |
offlineUnlock: | (BOOL) | offlineUnlock | |
isAdmin: | (BOOL) | isAdmin | |
effectiveDate: | (nullable NSDate *) | effectiveDate | |
invalidDate: | (nullable NSDate *) | invalidDate | |
schedule: | (ThingSmartBLELockTimeScheduleInfo *) | scheduleInfo | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改单个成员时效
devId | 设备ID |
memberId | 用户ID |
offlineUnlock | 是否支持离线解锁 |
isAdmin | 是否管理员 |
effectiveDate | 生效时间 |
invalidDate | 失效时间 |
scheduleInfo | 时效信息 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProMemberOpmodeWithDevId: | (NSString *) | devId | |
opModeId: | (NSString *) | opModeId | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
appSend: | (BOOL) | appSend | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式基本信息(不涉及硬件交互,Pro门锁)
devId | 设备 id |
opModeId | 解锁方式 id |
unlockName | 解锁方式名称 |
needHijacking | 是否设置为防劫持 |
appSend | 是否需要发送app通知 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProMemberOpmodeWithDevId: | (NSString *) | devId | |
opModeId: | (NSString *) | opModeId | |
unlockName: | (NSString *) | unlockName | |
needHijacking: | (BOOL) | needHijacking | |
appSend: | (BOOL) | appSend | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改解锁方式基本信息(不涉及硬件交互,Pro门锁)
devId | 设备 id |
opModeId | 解锁方式 id |
unlockName | 解锁方式名称 |
needHijacking | 是否设置为防劫持 |
appSend | 是否需要发送app通知 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
password: | (NSString *) | password | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
phase: | (NSInteger) | phase | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改在线密码的信息(时效)
devId | 设备ID |
name | 密码名称 |
password | 密码内容 |
unlockBindingId | 密码编号 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
phase | 2.正常 4.冻结 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
- (void) updateProOnlinePasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
password: | (NSString *) | password | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
phase: | (NSInteger) | phase | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
sn: | (NSInteger) | sn | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
修改在线密码的信息(时效)
devId | 设备ID |
name | 密码名称 |
password | 密码内容 |
unlockBindingId | 密码编号 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
phase | 2.正常 4.冻结 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
- (void) validateCustomPasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
password: | (NSString *) | password | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
临时密码参数有效性校验
devId | 设备ID |
name | 密码名称 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
- (void) validateCustomPasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
password: | (NSString *) | password | |
schedule: | (ThingSmartBLELockScheduleList *) | schedule | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
临时密码参数有效性校验
devId | 设备ID |
name | 密码名称 |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
- (void) validateOpModePasswordWithDevId: | (NSString *) | devId | |
password: | (NSString *) | password | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加解锁方式密码校验
devId | 设备 id |
password | 解锁信息 |
success | 成功回调 |
failure | 失败回调 |
- (void) validateOpModePasswordWithDevId: | (NSString *) | devId | |
password: | (NSString *) | password | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
添加解锁方式密码校验
devId | 设备 id |
password | 解锁信息 |
success | 成功回调 |
failure | 失败回调 |
- (void) validateProCustomPasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
password: | (NSString *) | password | |
schedule: | (NSString *) | schedule | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
临时密码参数有效性校验
devId | 设备ID |
name | 密码名称 |
unlockBindingId | 临时密码的编号(更新时必传) |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
- (void) validateProCustomPasswordWithDevId: | (NSString *) | devId | |
name: | (NSString *) | name | |
unlockBindingId: | (NSInteger) | unlockBindingId | |
effectiveTime: | (NSInteger) | effectiveTime | |
invalidTime: | (NSInteger) | invalidTime | |
password: | (NSString *) | password | |
schedule: | (NSString *) | schedule | |
success: | (ThingSuccessID) | success | |
failure: | (nullable ThingFailureError) | failure | |
临时密码参数有效性校验
devId | 设备ID |
name | 密码名称 |
unlockBindingId | 临时密码的编号(更新时必传) |
effectiveTime | 生效时间 |
invalidTime | 失效时间 |
password | 密码 |
schedule | 周期 |
success | 成功回调 |
failure | 失败回调 |
|
readwritenonatomicweak |
Definition at line 72 of file ThingSmartBLELockDevice.h.