//
//  EZIoTBLECenterMgr+DevProfile.h
//  EZIoTBluetoothSDK
//
//  Created by yuqian on 2023/8/10.
//

#import <EZIoTBluetoothSDK/EZIoTBluetoothSDK.h>

NS_ASSUME_NONNULL_BEGIN

@interface EZIoTBLECenterMgr (DevProfile)

/// 获取指定设备精简物模型信息
/// @param deviceSerial 设备序列号
/// @param completion 完成回调
- (void)getDevLiteProfile:(NSString *)deviceSerial
               completion:(void(^)(NSDictionary *profile, NSError *error))completion;

/// 获取指定设备完整物模型信息
/// @param deviceSerial 设备序列号
/// @param completion 完成回调
- (void)getDevFullProfile:(NSString *)deviceSerial
               completion:(void(^)(NSDictionary *profile, NSError *error))completion;

/// 获取指定序列号的内存缓存物模型描述信息
/// @param deviceSerial 设备序列号
- (NSString *)getDevLocalFullProfile:(NSString *)deviceSerial;

/// 设置设备完整物模型profile
/// @param block 根据序列号设置对应物模型profile
- (void)setDeviceProfileBlock:(NSString *(^)(NSString *deviceSerial))block;

@end

NS_ASSUME_NONNULL_END
