summaryrefslogtreecommitdiff
path: root/sampleclient/ConnectionController.h
blob: 31e217db7d97312c118460d686e95dd8182a5671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//
//  ConnectionController.h
//  sampleterm
//
//  Created by Michael Testa on 11/1/12.
//  Copyright (c) Blueradios, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "AppDelegate.h"
#import "Waydio.h"

@interface ConnectionController : UIViewController <UITextFieldDelegate, WaydioDelegate> {
    UITextField *_inputText;
    NSMutableString *_outputText;   //used as string data for textView to make string concatenations more efficient
    NSArray *_allCommands;          //All commands sent by the get settings button
    NSMutableArray *_commandQueue;  //An array of commands queued for sending                       
}

@property (strong, nonatomic) Waydio *waydioObject;
@property (strong, nonatomic) IBOutlet UITextView *textView;

@property (strong, nonatomic) IBOutlet UIButton *disconnectButton;

@property (weak, nonatomic) IBOutlet UILabel *weightLabel;
@property (weak, nonatomic) IBOutlet UILabel *weightReading;
@property (weak, nonatomic) IBOutlet UILabel *batteryLabel;
@property (weak, nonatomic) IBOutlet UILabel *batteryReading;

@property (weak, nonatomic) IBOutlet UILabel *buttonReading;

@end