ifish/Ifish/ESPTouch/ESPTouAPI/protocol/ESPTouchGenerator.h

48 lines
1.1 KiB
Objective-C
Executable File

//
// ESPTouchGenerator.h
// EspTouchDemo
//
// Created by 白 桦 on 4/9/15.
// Copyright (c) 2015 白 桦. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ESPTouchGenerator : NSObject
{
@private
NSMutableArray *_gcBytes2;
@private
NSMutableArray *_dcBytes2;
}
/**
* Constructor of EsptouchGenerator, it will cost some time(maybe a bit much)
*
* @param apSsid
* the Ap's ssid
* @param apBssid
* the Ap's bssid
* @param apPwd
* the Ap's password
* @param ipAddrData
* the ip address of the phone or pad
* @param isSsidHidden
* whether the Ap's ssid is hidden
*/
- (id) initWithSsid: (NSString *) apSsid andApBssid: (NSString *) apBssid andApPassword: (NSString *) apPwd andInetAddrData: (NSData *) ipAddrData andIsSsidHidden: (BOOL) isSsidHidden;
/**
* Get guide code by the format of byte[][]
* @return guide code by the format of byte[][]
*/
- (NSArray *) getGCBytes2;
/**
* Get data code by the format of byte[][]
* @return data code by the format of byte[][]
*/
- (NSArray *) getDCBytes2;
@end