text: //
  //  QCAddDevice.h
  //  QCDeviceCenter
  //
  //  Created by Wp on 2019/12/5.
  //  Copyright © 2019 Reo. All rights reserved.
  //
  
  #import <Foundation/Foundation.h>
  #import "QCObject.h"
  
  NS_ASSUME_NONNULL_BEGIN
  
  
  @protocol QCAddDeviceProtocol
  
  /// 开始配网流程
  - (void)startAddDevice;
  
  /// 终止配网流程
  - (void)stopAddDevice;
  
  @end
  
  @protocol QCAddDeviceDelegate <NSObject>
  
  - (void)onResult:(QCResult *)result;
  
  @end
  
  
  @interface QCSmartConfig : NSObject<QCAddDeviceProtocol>
  
  @property (nonatomic,copy,readonly) NSString *ssid;
  @property (nonatomic,copy,readonly) NSString *password;
  @property (nonatomic,copy,readonly) NSString *bssid;
  
  @property (nonatomic,weak) id<QCAddDeviceDelegate> delegate;
  
  /// WiFi信息
  /// @param ssid 必填
  /// @param password 必填
  /// @param bssid 必填
  - (instancetype)initWithSSID:(NSString *)ssid PWD:(NSString *)password BSSID:(NSString *)bssid;
  
  @end
  
  
  
  @interface QCSoftAP : NSObject<QCAddDeviceProtocol>
  
  @property (nonatomic,copy,readonly) NSString *ssid;
  @property (nonatomic,copy,readonly) NSString *password;
  
  @property (nonatomic,weak) id<QCAddDeviceDelegate> delegate;
  
  /// WiFi信息
  /// @param ssid 必填
  /// @param password 必填
  - (instancetype)initWithSSID:(NSString *)ssid PWD:(NSString *)password;
  
  @end
  
  NS_ASSUME_NONNULL_END
  