Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ab9c552
commit dfa2023
Showing
14 changed files
with
264 additions
and
140 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
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,23 @@ | ||
// | ||
// BCBeacon+Features.m | ||
// BlueCatsSDK | ||
// | ||
// Created by Cody Singleton on 4/13/15. | ||
// Copyright (c) 2015 BlueCats. All rights reserved. | ||
// | ||
|
||
#import "BCBeacon.h" | ||
|
||
@interface BCBeacon (Features) | ||
|
||
- (BOOL)supportsTargetSpeedChange; | ||
- (BOOL)supportsTemperatureData; | ||
- (BOOL)supportsTwoWayDataTransfer; | ||
- (BOOL)supportsLegacyBLEFirmwareUpdate; | ||
- (BOOL)supportsUnencryptedBLEFirmwareUpdate; | ||
- (BOOL)supportsAES128CMACBLEFirmwareUpdate; | ||
- (BOOL)supportsLegacyBLESettingsUpdate; | ||
- (BOOL)supportsUnencryptedBLESettingsUpdate; | ||
- (BOOL)supportsAES128CMACBLESettingsUpdate; | ||
|
||
@end |
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
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
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
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,33 @@ | ||
// | ||
// BCRegionVisit.h | ||
// BlueCatsSDK | ||
// | ||
// Created by Zach Prager on 10/17/14. | ||
// Copyright (c) 2014 BlueCats. All rights reserved. | ||
// | ||
|
||
#import "BCJSONModel.h" | ||
#import <Foundation/Foundation.h> | ||
|
||
@class BCManagedBeaconRegionVisit; | ||
|
||
@interface BCBeaconRegionVisit : BCJSONModel <NSCopying> | ||
|
||
@property (nonatomic, copy) NSString *beaconRegionIdentifier; | ||
@property (nonatomic, copy) NSDate *beganAt; | ||
@property (nonatomic, copy) NSDate *endedAt; | ||
@property (nonatomic, copy) NSString *beaconRegionVisitID; | ||
@property (nonatomic, assign) BOOL appInForeground; | ||
|
||
- (id)initWithManagedBeaconRegionVisit:(BCManagedBeaconRegionVisit *)managedBeaconRegionVisit; | ||
|
||
+ (void)storedVisitsWithPredicate:(NSPredicate *)predicate | ||
sortDescriptors:(NSArray *)sortDesc | ||
success:(void (^)(NSArray *visits))success | ||
failure:(void (^)(NSError *error))failure; | ||
|
||
+ (void)numberOfVisitsWithPredicate:(NSPredicate *)predicate | ||
success:(void (^)(NSUInteger visitCount))success | ||
failure:(void (^)(NSError *error))failure; | ||
|
||
@end |
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
Oops, something went wrong.