Skip to content

Commit

Permalink
Fixed issue #4 by adding a new framework for AppStore submission
Browse files Browse the repository at this point in the history
  • Loading branch information
hongkongkiwi committed Jan 23, 2015
1 parent 07e4e4b commit 5c1d7f7
Show file tree
Hide file tree
Showing 13 changed files with 1,223 additions and 0 deletions.
20 changes: 20 additions & 0 deletions WowWeeMiPSDK-AppStoreReady.framework/Headers/BluetoothRobot.h
@@ -0,0 +1,20 @@
//
// BluetoothRobot.h
// bttester
//
// Created by Andy on 16/9/13.
// Copyright (c) 2013 Andy. All rights reserved.
//

@import Foundation;

@interface BluetoothRobot : NSObject

@property (nonatomic, strong, readonly) NSString *name;
@property (nonatomic, assign, readonly) int connectAttempts;
@property (nonatomic) BOOL autoReconnect;

- (void)connect;
- (void)connectWithCallback:(void (^)(NSError *))callback;
- (void)disconnect;
@end
@@ -0,0 +1,28 @@
//
// BluetoothRobotFinder.h
// Bluetooth Library Tester
//
// Created by Andy on 19/9/13.
// Copyright (c) 2013 Andy. All rights reserved.
//

@import Foundation;

@class BluetoothRobot;

@interface BluetoothRobotFinder : NSObject

@property (nonatomic, strong) NSArray *autoConnectRobotIdentifiers;
@property (nonatomic, assign) bool autoConnectToKnownRobotIdentifiers;

/**
Initializes an returns a RobotFinder singleton object.
@return The Robot finder object
*/
+(instancetype)sharedInstance;

- (void) addAutoConnectRobot:(BluetoothRobot *)robot;
- (void) removeAutoConnectRobot:(BluetoothRobot *)robot;

@end

0 comments on commit 5c1d7f7

Please sign in to comment.