37 lines
927 B
Objective-C
37 lines
927 B
Objective-C
//
|
|
// ESPTouchResult.h
|
|
// EspTouchDemo
|
|
//
|
|
// Created by fby on 4/14/15.
|
|
// Copyright (c) 2015 fby. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface ESPTouchResult : NSObject
|
|
|
|
// it is used to check whether the esptouch task is executed suc
|
|
@property (nonatomic,assign) BOOL isSuc;
|
|
|
|
// it is used to store the device's bssid
|
|
@property (nonatomic,strong) NSString * bssid;
|
|
|
|
// it is used to check whether the esptouch task is cancelled by user
|
|
@property (atomic,assign) BOOL isCancelled;
|
|
|
|
// it is used to store the device's ip address
|
|
@property (atomic) NSData * ipAddrData;
|
|
|
|
/**
|
|
* Constructor of EsptouchResult
|
|
*
|
|
* @param isSuc whether the esptouch task is executed suc
|
|
* @param bssid the device's bssid
|
|
* @param ipAddrData the device's ip address
|
|
*/
|
|
- (id) initWithIsSuc: (BOOL) isSuc andBssid: (NSString *) bssid andInetAddrData: (NSData *) ipAddrData;
|
|
|
|
- (NSString *) getAddressString;
|
|
|
|
@end
|