summaryrefslogtreecommitdiff
path: root/sampleclient/ScanController.h
diff options
context:
space:
mode:
Diffstat (limited to 'sampleclient/ScanController.h')
-rwxr-xr-xsampleclient/ScanController.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sampleclient/ScanController.h b/sampleclient/ScanController.h
new file mode 100755
index 0000000..4d3538b
--- /dev/null
+++ b/sampleclient/ScanController.h
@@ -0,0 +1,27 @@
+//
+// ScanController.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 "ConnectionController.h"
+#import "Waydio.h"
+
+@interface ScanController : UIViewController <UITableViewDelegate, UITableViewDataSource, CBCentralManagerDelegate> {
+ IBOutlet UITableView *_deviceTableView;
+ IBOutlet UIButton *_scanButton;
+ NSMutableArray *_peripherals;
+}
+
+@property (strong, nonatomic) UITableView* deviceTableView;
+
+//UI Elements
+- (IBAction)startScanButton:(id)sender;
+- (IBAction)stopScanButton:(id)sender;
+- (void)enableButton:(UIButton*)butt;
+- (void)disableButton:(UIButton*)butt;
+@end