mirror of
https://github.com/jialexd/sdk-ameba-v4.0c_180328.git
synced 2026-04-05 21:15:18 +00:00
first add sdk
This commit is contained in:
commit
f91efd1250
3915 changed files with 1291882 additions and 0 deletions
46
tools/uart_adapter/app/iOS/uartadapter/SettingPageViewController.h
Executable file
46
tools/uart_adapter/app/iOS/uartadapter/SettingPageViewController.h
Executable file
|
|
@ -0,0 +1,46 @@
|
|||
//
|
||||
// SettingPageViewController.h
|
||||
// uartadapter
|
||||
//
|
||||
// Created by isaiah on 9/1/15.
|
||||
// Copyright (c) 2015 realtek. All rights reserved.
|
||||
//
|
||||
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
@interface SettingPageViewController : UIViewController<
|
||||
UIPickerViewDataSource,
|
||||
UIPickerViewDelegate,
|
||||
UITextFieldDelegate,
|
||||
NSStreamDelegate,
|
||||
NSNetServiceBrowserDelegate,
|
||||
NSNetServiceDelegate,
|
||||
UIAlertViewDelegate>
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
+ (void) initSettingIOTInfoArray;
|
||||
+ (void) copyIOTInfo:(NSNetService *)mService;
|
||||
|
||||
@property (nonatomic, retain) NSData *allSettings;
|
||||
@property (nonatomic, retain) NSInputStream *inputStream;
|
||||
@property (nonatomic, retain) NSOutputStream *outputStream;
|
||||
//@property (nonatomic, retain) NSMutableArray *settingIOTInfoArray;
|
||||
@property (nonatomic, retain) NSNetService *selectedService;
|
||||
@property (nonatomic, assign) NSInteger selectedGroupID;
|
||||
@property (nonatomic, retain) IBOutlet UITextField *baudRateField;
|
||||
@property (nonatomic, retain) IBOutlet UITextField *dataBitField;
|
||||
@property (nonatomic, retain) IBOutlet UITextField *parityBitField;
|
||||
@property (nonatomic, retain) IBOutlet UITextField *stopBitField;
|
||||
//@property (nonatomic, retain) IBOutlet UIPickerView *datapicker;
|
||||
|
||||
- (IBAction) saveSettings;
|
||||
- (IBAction) restoreSettings;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue