更新EsptouchForIOS

This commit is contained in:
kai60
2020-06-10 20:27:25 +08:00
parent 1f69653c19
commit b8d6ad08ea
42 changed files with 1625 additions and 853 deletions
@@ -0,0 +1,46 @@
//
// ESPTouchGenerator.h
// EspTouchDemo
//
// Created by fby on 4/9/15.
// Copyright (c) 2015 fby. 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: (NSData *)apSsid andApBssid: (NSData *)apBssid andApPassword: (NSData *)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