Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue #4 by adding a new framework for AppStore submission
- Loading branch information
1 parent
07e4e4b
commit 5c1d7f7
Showing
13 changed files
with
1,223 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
WowWeeMiPSDK-AppStoreReady.framework/Headers/BluetoothRobot.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
28 changes: 28 additions & 0 deletions
28
WowWeeMiPSDK-AppStoreReady.framework/Headers/BluetoothRobotFinder.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Oops, something went wrong.