Find file
Fetching contributors…
Cannot retrieve contributors at this time
796 lines (702 sloc) 34.1 KB
/*
* Generated by class-dump 3.4 (64 bit).
*
* class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by Steve Nygard.
*/
#pragma mark Named Structures
struct CGPoint {
float _field1;
float _field2;
};
struct CGRect {
struct CGPoint _field1;
struct CGSize _field2;
};
struct CGSize {
float _field1;
float _field2;
};
struct in_addr {
unsigned int _field1;
};
struct sockaddr_in {
unsigned char _field1;
unsigned char _field2;
unsigned short _field3;
struct in_addr _field4;
char _field5[8];
};
#pragma mark -
/*
* File: /Users/smistry/Library/Developer/Xcode/DerivedData/Estimote_Editor-ampehoiftbxdjlfcvvzuvlzfmbij/Build/Products/Debug-iphoneos/Estimote Editor.app/Estimote Editor
* UUID: 1592CB3A-6F4D-36C3-8631-FBD653B831F4
* Arch: armv7s
* Source version: 0.0.0.0.0
* Minimum iOS version: 7.0.0
* SDK version: 7.0.0
*
* Objective-C Garbage Collection: Unsupported
*/
@protocol CBCentralManagerDelegate <NSObject>
- (void)centralManagerDidUpdateState:(id)arg1;
@optional
- (void)centralManager:(id)arg1 didDisconnectPeripheral:(id)arg2 error:(id)arg3;
- (void)centralManager:(id)arg1 didFailToConnectPeripheral:(id)arg2 error:(id)arg3;
- (void)centralManager:(id)arg1 didConnectPeripheral:(id)arg2;
- (void)centralManager:(id)arg1 didDiscoverPeripheral:(id)arg2 advertisementData:(id)arg3 RSSI:(id)arg4;
- (void)centralManager:(id)arg1 didRetrieveConnectedPeripherals:(id)arg2;
- (void)centralManager:(id)arg1 didRetrievePeripherals:(id)arg2;
- (void)centralManager:(id)arg1 willRestoreState:(id)arg2;
@end
@protocol CBPeripheralDelegate <NSObject>
@optional
- (void)peripheral:(id)arg1 didWriteValueForDescriptor:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didUpdateValueForDescriptor:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didDiscoverDescriptorsForCharacteristic:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didUpdateNotificationStateForCharacteristic:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didWriteValueForCharacteristic:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didUpdateValueForCharacteristic:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didDiscoverCharacteristicsForService:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didDiscoverIncludedServicesForService:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didDiscoverServices:(id)arg2;
- (void)peripheralDidUpdateRSSI:(id)arg1 error:(id)arg2;
- (void)peripheral:(id)arg1 didModifyServices:(id)arg2;
- (void)peripheralDidInvalidateServices:(id)arg1;
- (void)peripheralDidUpdateName:(id)arg1;
@end
@protocol CBPeripheralManagerDelegate <NSObject>
- (void)peripheralManagerDidUpdateState:(id)arg1;
@optional
- (void)peripheralManagerIsReadyToUpdateSubscribers:(id)arg1;
- (void)peripheralManager:(id)arg1 didReceiveWriteRequests:(id)arg2;
- (void)peripheralManager:(id)arg1 didReceiveReadRequest:(id)arg2;
- (void)peripheralManager:(id)arg1 central:(id)arg2 didUnsubscribeFromCharacteristic:(id)arg3;
- (void)peripheralManager:(id)arg1 central:(id)arg2 didSubscribeToCharacteristic:(id)arg3;
- (void)peripheralManager:(id)arg1 didAddService:(id)arg2 error:(id)arg3;
- (void)peripheralManagerDidStartAdvertising:(id)arg1 error:(id)arg2;
- (void)peripheralManager:(id)arg1 willRestoreState:(id)arg2;
@end
@protocol CLLocationManagerDelegate <NSObject>
@optional
- (void)locationManager:(id)arg1 didFinishDeferredUpdatesWithError:(id)arg2;
- (void)locationManagerDidResumeLocationUpdates:(id)arg1;
- (void)locationManagerDidPauseLocationUpdates:(id)arg1;
- (void)locationManager:(id)arg1 didStartMonitoringForRegion:(id)arg2;
- (void)locationManager:(id)arg1 didChangeAuthorizationStatus:(int)arg2;
- (void)locationManager:(id)arg1 monitoringDidFailForRegion:(id)arg2 withError:(id)arg3;
- (void)locationManager:(id)arg1 didFailWithError:(id)arg2;
- (void)locationManager:(id)arg1 didExitRegion:(id)arg2;
- (void)locationManager:(id)arg1 didEnterRegion:(id)arg2;
- (void)locationManager:(id)arg1 rangingBeaconsDidFailForRegion:(id)arg2 withError:(id)arg3;
- (void)locationManager:(id)arg1 didRangeBeacons:(id)arg2 inRegion:(id)arg3;
- (void)locationManager:(id)arg1 didDetermineState:(int)arg2 forRegion:(id)arg3;
- (BOOL)locationManagerShouldDisplayHeadingCalibration:(id)arg1;
- (void)locationManager:(id)arg1 didUpdateHeading:(id)arg2;
- (void)locationManager:(id)arg1 didUpdateLocations:(id)arg2;
- (void)locationManager:(id)arg1 didUpdateToLocation:(id)arg2 fromLocation:(id)arg3;
@end
@protocol ESTBeaconDelegate <NSObject>
@optional
- (void)beaconDidDisconnect:(id)arg1 withError:(id)arg2;
- (void)beaconConnectionDidSucceeded:(id)arg1;
- (void)beaconConnectionDidFail:(id)arg1 withError:(id)arg2;
@end
@protocol ESTBeaconManagerDelegate <NSObject>
@optional
- (void)beaconManager:(id)arg1 didFailDiscoveryInRegion:(id)arg2;
- (void)beaconManager:(id)arg1 didDiscoverBeacons:(id)arg2 inRegion:(id)arg3;
- (void)beaconManagerDidStartAdvertising:(id)arg1 error:(id)arg2;
- (void)beaconManager:(id)arg1 didDetermineState:(int)arg2 forRegion:(id)arg3;
- (void)beaconManager:(id)arg1 didExitRegion:(id)arg2;
- (void)beaconManager:(id)arg1 didEnterRegion:(id)arg2;
- (void)beaconManager:(id)arg1 monitoringDidFailForRegion:(id)arg2 withError:(id)arg3;
- (void)beaconManager:(id)arg1 rangingBeaconsDidFailForRegion:(id)arg2 withError:(id)arg3;
- (void)beaconManager:(id)arg1 didRangeBeacons:(id)arg2 inRegion:(id)arg3;
@end
@protocol NSObject
- (id)description;
- (unsigned int)retainCount;
- (id)autorelease;
- (oneway void)release;
- (id)retain;
- (BOOL)respondsToSelector:(SEL)arg1;
- (BOOL)conformsToProtocol:(id)arg1;
- (BOOL)isMemberOfClass:(Class)arg1;
- (BOOL)isKindOfClass:(Class)arg1;
- (BOOL)isProxy;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2 withObject:(id)arg3;
- (id)performSelector:(SEL)arg1 withObject:(id)arg2;
- (id)performSelector:(SEL)arg1;
- (struct _NSZone *)zone;
- (id)self;
- (Class)class;
- (Class)superclass;
- (unsigned int)hash;
- (BOOL)isEqual:(id)arg1;
@optional
- (id)debugDescription;
@end
@protocol NSURLConnectionDelegate <NSObject>
@optional
- (void)connection:(id)arg1 didCancelAuthenticationChallenge:(id)arg2;
- (void)connection:(id)arg1 didReceiveAuthenticationChallenge:(id)arg2;
- (BOOL)connection:(id)arg1 canAuthenticateAgainstProtectionSpace:(id)arg2;
- (void)connection:(id)arg1 willSendRequestForAuthenticationChallenge:(id)arg2;
- (BOOL)connectionShouldUseCredentialStorage:(id)arg1;
- (void)connection:(id)arg1 didFailWithError:(id)arg2;
@end
@protocol UIAlertViewDelegate <NSObject>
@optional
- (BOOL)alertViewShouldEnableFirstOtherButton:(id)arg1;
- (void)alertView:(id)arg1 didDismissWithButtonIndex:(int)arg2;
- (void)alertView:(id)arg1 willDismissWithButtonIndex:(int)arg2;
- (void)didPresentAlertView:(id)arg1;
- (void)willPresentAlertView:(id)arg1;
- (void)alertViewCancel:(id)arg1;
- (void)alertView:(id)arg1 clickedButtonAtIndex:(int)arg2;
@end
@protocol UIApplicationDelegate <NSObject>
@optional
@property(retain, nonatomic) UIWindow *window;
- (void)application:(id)arg1 didDecodeRestorableStateWithCoder:(id)arg2;
- (void)application:(id)arg1 willEncodeRestorableStateWithCoder:(id)arg2;
- (BOOL)application:(id)arg1 shouldRestoreApplicationState:(id)arg2;
- (BOOL)application:(id)arg1 shouldSaveApplicationState:(id)arg2;
- (id)application:(id)arg1 viewControllerWithRestorationIdentifierPath:(id)arg2 coder:(id)arg3;
- (unsigned int)application:(id)arg1 supportedInterfaceOrientationsForWindow:(id)arg2;
- (void)applicationProtectedDataDidBecomeAvailable:(id)arg1;
- (void)applicationProtectedDataWillBecomeUnavailable:(id)arg1;
- (void)applicationWillEnterForeground:(id)arg1;
- (void)applicationDidEnterBackground:(id)arg1;
- (void)application:(id)arg1 handleEventsForBackgroundURLSession:(id)arg2 completionHandler:(id)arg3;
- (void)application:(id)arg1 performFetchWithCompletionHandler:(id)arg2;
- (void)application:(id)arg1 didReceiveRemoteNotification:(id)arg2 fetchCompletionHandler:(id)arg3;
- (void)application:(id)arg1 didReceiveLocalNotification:(id)arg2;
- (void)application:(id)arg1 didReceiveRemoteNotification:(id)arg2;
- (void)application:(id)arg1 didFailToRegisterForRemoteNotificationsWithError:(id)arg2;
- (void)application:(id)arg1 didRegisterForRemoteNotificationsWithDeviceToken:(id)arg2;
- (void)application:(id)arg1 didChangeStatusBarFrame:(struct CGRect)arg2;
- (void)application:(id)arg1 willChangeStatusBarFrame:(struct CGRect)arg2;
- (void)application:(id)arg1 didChangeStatusBarOrientation:(int)arg2;
- (void)application:(id)arg1 willChangeStatusBarOrientation:(int)arg2 duration:(double)arg3;
- (void)applicationSignificantTimeChange:(id)arg1;
- (void)applicationWillTerminate:(id)arg1;
- (void)applicationDidReceiveMemoryWarning:(id)arg1;
- (BOOL)application:(id)arg1 openURL:(id)arg2 sourceApplication:(id)arg3 annotation:(id)arg4;
- (BOOL)application:(id)arg1 handleOpenURL:(id)arg2;
- (void)applicationWillResignActive:(id)arg1;
- (void)applicationDidBecomeActive:(id)arg1;
- (BOOL)application:(id)arg1 didFinishLaunchingWithOptions:(id)arg2;
- (BOOL)application:(id)arg1 willFinishLaunchingWithOptions:(id)arg2;
- (void)applicationDidFinishLaunching:(id)arg1;
@end
@protocol UIPopoverControllerDelegate <NSObject>
@optional
- (void)popoverController:(id)arg1 willRepositionPopoverToRect:(inout struct CGRect *)arg2 inView:(inout id *)arg3;
- (void)popoverControllerDidDismissPopover:(id)arg1;
- (BOOL)popoverControllerShouldDismissPopover:(id)arg1;
@end
@interface EEProximityView : UIView
{
int _proximity;
}
@property(nonatomic) int proximity; // @synthesize proximity=_proximity;
- (void)drawRect:(struct CGRect)arg1;
- (id)initWithCoder:(id)arg1;
- (id)initWithFrame:(struct CGRect)arg1;
@end
@interface EEPowerLevelViewController : UITableViewController
{
BOOL _powerLevel;
id _completionHandler;
NSArray *_powerLevelList;
}
@property(retain, nonatomic) NSArray *powerLevelList; // @synthesize powerLevelList=_powerLevelList;
@property(copy) id completionHandler; // @synthesize completionHandler=_completionHandler;
@property(nonatomic) BOOL powerLevel; // @synthesize powerLevel=_powerLevel;
- (void).cxx_destruct;
- (void)tableView:(id)arg1 didSelectRowAtIndexPath:(id)arg2;
- (id)tableView:(id)arg1 cellForRowAtIndexPath:(id)arg2;
- (int)tableView:(id)arg1 numberOfRowsInSection:(int)arg2;
- (int)numberOfSectionsInTableView:(id)arg1;
- (void)didReceiveMemoryWarning;
- (void)viewDidLoad;
- (id)initWithStyle:(int)arg1;
@end
@interface EEAppDelegate : UIResponder <UIApplicationDelegate>
{
UIWindow *_window;
}
@property(retain, nonatomic) UIWindow *window; // @synthesize window=_window;
- (void).cxx_destruct;
- (void)applicationWillTerminate:(id)arg1;
- (void)applicationDidBecomeActive:(id)arg1;
- (void)applicationWillEnterForeground:(id)arg1;
- (void)applicationDidEnterBackground:(id)arg1;
- (void)applicationWillResignActive:(id)arg1;
- (BOOL)application:(id)arg1 didFinishLaunchingWithOptions:(id)arg2;
@end
@interface EETableViewController : UITableViewController <ESTBeaconManagerDelegate>
{
ESTBeaconManager *_beaconManager;
NSArray *_beacons;
}
@property(retain, nonatomic) NSArray *beacons; // @synthesize beacons=_beacons;
@property(retain, nonatomic) ESTBeaconManager *beaconManager; // @synthesize beaconManager=_beaconManager;
- (void).cxx_destruct;
- (void)tableView:(id)arg1 didSelectRowAtIndexPath:(id)arg2;
- (id)tableView:(id)arg1 cellForRowAtIndexPath:(id)arg2;
- (int)tableView:(id)arg1 numberOfRowsInSection:(int)arg2;
- (int)numberOfSectionsInTableView:(id)arg1;
- (void)beaconManager:(id)arg1 didRangeBeacons:(id)arg2 inRegion:(id)arg3;
- (void)didReceiveMemoryWarning;
- (void)viewDidLoad;
- (id)initWithStyle:(int)arg1;
@end
@interface EEDetailViewController : UIViewController <ESTBeaconDelegate, UIAlertViewDelegate, UIPopoverControllerDelegate>
{
BOOL _standardAlertRequireNavigationPop;
SEL _selectorForEditingAlert;
unsigned int _asyncAction;
int _asyncActionLock;
BOOL _isChangingPowerLevel;
ESTBeacon *_beacon;
UIActivityIndicatorView *_activityIndicator;
UILabel *_macAddressLabel;
UILabel *_rssiLabel;
UILabel *_hardwareVersionLabel;
UILabel *_firmwareVersionLabel;
UILabel *_batteryLevelLabel;
UIButton *_powerLevelButton;
UIButton *_majorNumberButton;
UIButton *_minorNumberButton;
UIButton *_advertIntervalButton;
UIButton *_proximityUUIDButton;
EEProximityView *_proximityView;
NSArray *_userControls;
}
@property(retain, nonatomic) NSArray *userControls; // @synthesize userControls=_userControls;
@property(nonatomic) __weak EEProximityView *proximityView; // @synthesize proximityView=_proximityView;
@property(nonatomic) __weak UIButton *proximityUUIDButton; // @synthesize proximityUUIDButton=_proximityUUIDButton;
@property(nonatomic) __weak UIButton *advertIntervalButton; // @synthesize advertIntervalButton=_advertIntervalButton;
@property(nonatomic) __weak UIButton *minorNumberButton; // @synthesize minorNumberButton=_minorNumberButton;
@property(nonatomic) __weak UIButton *majorNumberButton; // @synthesize majorNumberButton=_majorNumberButton;
@property(nonatomic) __weak UIButton *powerLevelButton; // @synthesize powerLevelButton=_powerLevelButton;
@property(nonatomic) __weak UILabel *batteryLevelLabel; // @synthesize batteryLevelLabel=_batteryLevelLabel;
@property(nonatomic) __weak UILabel *firmwareVersionLabel; // @synthesize firmwareVersionLabel=_firmwareVersionLabel;
@property(nonatomic) __weak UILabel *hardwareVersionLabel; // @synthesize hardwareVersionLabel=_hardwareVersionLabel;
@property(nonatomic) __weak UILabel *rssiLabel; // @synthesize rssiLabel=_rssiLabel;
@property(nonatomic) __weak UILabel *macAddressLabel; // @synthesize macAddressLabel=_macAddressLabel;
@property(retain, nonatomic) UIActivityIndicatorView *activityIndicator; // @synthesize activityIndicator=_activityIndicator;
@property(retain, nonatomic) ESTBeacon *beacon; // @synthesize beacon=_beacon;
- (void).cxx_destruct;
- (void)alertView:(id)arg1 clickedButtonAtIndex:(int)arg2;
- (void)beaconDidDisconnect:(id)arg1 withError:(id)arg2;
- (void)beaconConnectionDidSucceeded:(id)arg1;
- (void)beaconConnectionDidFail:(id)arg1 withError:(id)arg2;
- (void)editAdvertIntervalWithString:(id)arg1;
- (void)editMinorNumberWithString:(id)arg1;
- (void)editMajorNumberWithString:(id)arg1;
- (void)editPowerLevelWithValue:(BOOL)arg1;
- (void)updateFirmware:(id)arg1;
- (void)shareProximityUUIDAction:(id)arg1;
- (void)editAdvertIntervalAction:(id)arg1;
- (void)editMinorNumberAction:(id)arg1;
- (void)editMajorNumberAction:(id)arg1;
- (void)editPowerLevelAction:(id)arg1;
- (void)updateUI;
- (void)decreaseAsyncAction;
- (void)increaseAsyncAction;
- (void)viewWillDisappear:(BOOL)arg1;
- (void)viewWillAppear:(BOOL)arg1;
- (void)didReceiveMemoryWarning;
- (void)viewDidLoad;
- (id)initWithNibName:(id)arg1 bundle:(id)arg2;
@end
@interface ESTReachability : NSObject
{
BOOL reachableOnWWAN;
struct __SCNetworkReachability *reachabilityRef;
NSObject<OS_dispatch_queue> *reachabilitySerialQueue;
id reachableBlock;
id unreachableBlock;
id reachabilityObject;
}
+ (id)reachabilityForLocalWiFi;
+ (id)reachabilityForInternetConnection;
+ (id)reachabilityWithAddress:(const struct sockaddr_in *)arg1;
+ (id)reachabilityWithHostname:(id)arg1;
@property(retain, nonatomic) id reachabilityObject; // @synthesize reachabilityObject;
@property(copy, nonatomic) id unreachableBlock; // @synthesize unreachableBlock;
@property(copy, nonatomic) id reachableBlock; // @synthesize reachableBlock;
@property(nonatomic) BOOL reachableOnWWAN; // @synthesize reachableOnWWAN;
@property(nonatomic) NSObject<OS_dispatch_queue> *reachabilitySerialQueue; // @synthesize reachabilitySerialQueue;
@property(nonatomic) struct __SCNetworkReachability *reachabilityRef; // @synthesize reachabilityRef;
- (void)reachabilityChanged:(unsigned int)arg1;
- (id)currentReachabilityFlags;
- (id)currentReachabilityString;
- (unsigned int)reachabilityFlags;
- (int)currentReachabilityStatus;
- (BOOL)isInterventionRequired;
- (BOOL)isConnectionOnDemand;
- (BOOL)connectionRequired;
- (BOOL)isConnectionRequired;
- (BOOL)isReachableViaWiFi;
- (BOOL)isReachableViaWWAN;
- (BOOL)isReachable;
- (void)stopNotifier;
- (BOOL)startNotifier;
- (void)dealloc;
- (id)initWithReachabilityRef:(struct __SCNetworkReachability *)arg1;
@end
@interface ESTBeaconWraper : NSObject
{
NSDate *_updateDate;
ESTBeacon *_beacon;
}
@property(retain, nonatomic) ESTBeacon *beacon; // @synthesize beacon=_beacon;
@property(retain, nonatomic) NSDate *updateDate; // @synthesize updateDate=_updateDate;
- (void).cxx_destruct;
@end
@interface ESTDeviceDataHelper : NSObject
{
}
+ (id)cleanDeviceData:(id)arg1;
+ (id)dataForInt:(int)arg1;
+ (unsigned int)unsignedFromHex:(id)arg1 withOffset:(int)arg2 withLength:(int)arg3 withDirection:(int)arg4;
+ (id)stringFromDeviceData:(id)arg1 withOffset:(int)arg2 withLenght:(int)arg3 withDirection:(int)arg4;
@end
@interface ESTBluetoothServiceAuth : ESTBluetoothService
{
CBCharacteristic *_authSeedCharacteristic;
CBCharacteristic *_authSourceCharacteristic;
CBCharacteristic *_authResultCharacteristic;
id _connectCompletition;
id _disconnectCompletition;
}
@property(copy, nonatomic) id disconnectCompletition; // @synthesize disconnectCompletition=_disconnectCompletition;
@property(copy, nonatomic) id connectCompletition; // @synthesize connectCompletition=_connectCompletition;
@property(retain, nonatomic) CBCharacteristic *authResultCharacteristic; // @synthesize authResultCharacteristic=_authResultCharacteristic;
@property(retain, nonatomic) CBCharacteristic *authSourceCharacteristic; // @synthesize authSourceCharacteristic=_authSourceCharacteristic;
@property(retain, nonatomic) CBCharacteristic *authSeedCharacteristic; // @synthesize authSeedCharacteristic=_authSeedCharacteristic;
- (void).cxx_destruct;
- (BOOL)isCharacteristicsReadyForAuth;
- (void)setCharacteristics:(id)arg1;
@end
@interface ESTBeaconUtils : NSObject
{
}
+ (BOOL)validateBeaconName:(id)arg1;
@end
@interface ESTBeacon : NSObject <CBCentralManagerDelegate, CBPeripheralDelegate, NSURLConnectionDelegate>
{
BOOL _isConnected;
BOOL _pushNotificationDemo;
int _firmwareState;
id <ESTBeaconDelegate> _delegate;
CBPeripheral *_peripheral;
NSString *_macAddress;
NSNumber *_measuredPower;
NSNumber *_major;
NSNumber *_minor;
NSNumber *_rssi;
NSNumber *_power;
NSNumber *_advInterval;
NSNumber *_batteryLevel;
NSString *_hardwareVersion;
NSString *_firmwareVersion;
CLBeacon *_ibeacon;
ESTBluetoothServiceAuth *_authService;
ESTBluetoothServiceOta *_otaService;
ESTBluetoothServiceSoftware *_softService;
ESTBluetoothServiceEstimote *_estimoteService;
unsigned long _aAuth;
unsigned long _BAuth;
unsigned long _pConst;
unsigned long _gConst;
NSString *_cProximityUUID;
NSNumber *_cMinor;
NSNumber *_cMajor;
CBCentralManager *_manager;
NSTimer *_discoveryTimer;
NSURLConnection *_otaConnection;
NSURLConnection *_otaCheckConnection;
NSURLConnection *_otaFirmConnection;
NSMutableData *_otaCheckResponseData;
NSMutableData *_otaResponseData;
NSString *_firmwareUrl;
NSMutableData *_firmwareResponseData;
NSMutableArray *_firmwareChunks;
int _connectType;
int _initReadCounter;
unsigned long long _macValue;
}
@property(nonatomic) int initReadCounter; // @synthesize initReadCounter=_initReadCounter;
@property(nonatomic) int connectType; // @synthesize connectType=_connectType;
@property(retain, nonatomic) NSMutableArray *firmwareChunks; // @synthesize firmwareChunks=_firmwareChunks;
@property(retain, nonatomic) NSMutableData *firmwareResponseData; // @synthesize firmwareResponseData=_firmwareResponseData;
@property(retain, nonatomic) NSString *firmwareUrl; // @synthesize firmwareUrl=_firmwareUrl;
@property(retain, nonatomic) NSMutableData *otaResponseData; // @synthesize otaResponseData=_otaResponseData;
@property(retain, nonatomic) NSMutableData *otaCheckResponseData; // @synthesize otaCheckResponseData=_otaCheckResponseData;
@property(retain, nonatomic) NSURLConnection *otaFirmConnection; // @synthesize otaFirmConnection=_otaFirmConnection;
@property(retain, nonatomic) NSURLConnection *otaCheckConnection; // @synthesize otaCheckConnection=_otaCheckConnection;
@property(retain, nonatomic) NSURLConnection *otaConnection; // @synthesize otaConnection=_otaConnection;
@property(retain, nonatomic) NSTimer *discoveryTimer; // @synthesize discoveryTimer=_discoveryTimer;
@property(nonatomic) BOOL pushNotificationDemo; // @synthesize pushNotificationDemo=_pushNotificationDemo;
@property(retain, nonatomic) CBCentralManager *manager; // @synthesize manager=_manager;
@property(retain, nonatomic) NSNumber *cMajor; // @synthesize cMajor=_cMajor;
@property(retain, nonatomic) NSNumber *cMinor; // @synthesize cMinor=_cMinor;
@property(retain, nonatomic) NSString *cProximityUUID; // @synthesize cProximityUUID=_cProximityUUID;
@property(nonatomic) unsigned long long macValue; // @synthesize macValue=_macValue;
@property(nonatomic) unsigned long gConst; // @synthesize gConst=_gConst;
@property(nonatomic) unsigned long pConst; // @synthesize pConst=_pConst;
@property(nonatomic) unsigned long BAuth; // @synthesize BAuth=_BAuth;
@property(nonatomic) unsigned long aAuth; // @synthesize aAuth=_aAuth;
@property(retain, nonatomic) ESTBluetoothServiceEstimote *estimoteService; // @synthesize estimoteService=_estimoteService;
@property(retain, nonatomic) ESTBluetoothServiceSoftware *softService; // @synthesize softService=_softService;
@property(retain, nonatomic) ESTBluetoothServiceOta *otaService; // @synthesize otaService=_otaService;
@property(retain, nonatomic) ESTBluetoothServiceAuth *authService; // @synthesize authService=_authService;
@property(readonly, nonatomic) BOOL isConnected; // @synthesize isConnected=_isConnected;
@property(retain, nonatomic) CLBeacon *ibeacon; // @synthesize ibeacon=_ibeacon;
@property(retain, nonatomic) NSString *firmwareVersion; // @synthesize firmwareVersion=_firmwareVersion;
@property(retain, nonatomic) NSString *hardwareVersion; // @synthesize hardwareVersion=_hardwareVersion;
@property(retain, nonatomic) NSNumber *batteryLevel; // @synthesize batteryLevel=_batteryLevel;
@property(retain, nonatomic) NSNumber *advInterval; // @synthesize advInterval=_advInterval;
@property(retain, nonatomic) NSNumber *power; // @synthesize power=_power;
@property(retain, nonatomic) NSNumber *rssi; // @synthesize rssi=_rssi;
@property(retain, nonatomic) NSNumber *minor; // @synthesize minor=_minor;
@property(retain, nonatomic) NSNumber *major; // @synthesize major=_major;
@property(retain, nonatomic) NSNumber *measuredPower; // @synthesize measuredPower=_measuredPower;
@property(retain, nonatomic) NSString *macAddress; // @synthesize macAddress=_macAddress;
@property(retain, nonatomic) CBPeripheral *peripheral; // @synthesize peripheral=_peripheral;
@property(retain, nonatomic) id <ESTBeaconDelegate> delegate; // @synthesize delegate=_delegate;
@property(nonatomic) int firmwareState; // @synthesize firmwareState=_firmwareState;
- (void).cxx_destruct;
- (id)getUrlPath:(id)arg1;
- (id)getUrlRoot:(id)arg1;
- (void)deviceRebootedFinal;
- (void)finishLoadingFirmwareAndReboot;
- (void)didWriteChunkWithError:(id)arg1;
- (void)writeChunkOfData;
- (void)deviceRebootedInit;
- (void)rebootDeviceInitialy;
- (void)downloadNewFirmware;
- (void)startBeaconFirmwareUpdate;
- (BOOL)checkIfHardware:(id)arg1 supportedFor:(id)arg2;
- (void)connectionDidFinishLoading:(id)arg1;
- (void)connection:(id)arg1 didReceiveData:(id)arg2;
- (void)connection:(id)arg1 didReceiveResponse:(id)arg2;
- (void)updateBeaconFirmwareWithProgress:(id)arg1 andCompletion:(void)arg2;
- (void)checkFirmwareUpdateWithCompletion:(id)arg1;
- (void)peripheral:(id)arg1 didWriteValueForCharacteristic:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didUpdateValueForCharacteristic:(id)arg2 error:(id)arg3;
- (void)writeBeaconPower:(BOOL)arg1 withCompletion:(id)arg2;
- (void)writeBeaconAdvInterval:(unsigned short)arg1 withCompletion:(id)arg2;
- (void)writeBeaconMinor:(unsigned short)arg1 withCompletion:(id)arg2;
- (void)writeBeaconMajor:(unsigned short)arg1 withCompletion:(id)arg2;
- (void)readBeaconHardwareVersionWithCompletion:(id)arg1;
- (void)readBeaconFirmwareVersionWithCompletion:(id)arg1;
- (void)readBeaconBatteryWithCompletion:(id)arg1;
- (void)readBeaconPowerWithCompletion:(id)arg1;
- (void)readBeaconAdvIntervalWithCompletion:(id)arg1;
- (void)readBeaconMinorWithCompletion:(id)arg1;
- (void)readBeaconMajorWithCompletion:(id)arg1;
- (void)successAuthorization;
- (void)failAuthorizationWithDesc:(id)arg1 andCode:(int)arg2;
- (void)readComplete;
- (void)readFinalAuthorisationResponse;
- (void)pairSensorSecondPart;
- (void)readAuthorisationResponse;
- (void)pairSensorFirstPart;
- (void)peripheral:(id)arg1 didDiscoverCharacteristicsForService:(id)arg2 error:(id)arg3;
- (void)peripheral:(id)arg1 didDiscoverServices:(id)arg2;
- (void)centralManager:(id)arg1 didDisconnectPeripheral:(id)arg2 error:(id)arg3;
- (void)centralManager:(id)arg1 didFailToConnectPeripheral:(id)arg2 error:(id)arg3;
- (void)centralManager:(id)arg1 didConnectPeripheral:(id)arg2;
- (void)cleanServices;
- (void)cleanCharasteristics;
- (void)disconnectBeacon;
- (void)startConnection;
- (void)centralManager:(id)arg1 didDiscoverPeripheral:(id)arg2 advertisementData:(id)arg3 RSSI:(id)arg4;
- (void)centralManagerDidUpdateState:(id)arg1;
- (void)discoveryTimerDone;
- (void)findPeripheralForCurrentBeacon;
- (void)connectToBeacon;
@end
@interface ESTBeaconManager : NSObject <CBPeripheralManagerDelegate, CBCentralManagerDelegate, CLLocationManagerDelegate>
{
BOOL _avoidUnknownStateBeacons;
id <ESTBeaconManagerDelegate> _delegate;
ESTBeaconRegion *_virtualBeaconRegion;
CLLocationManager *_locationManager;
NSMutableArray *_availableBeacons;
CBPeripheralManager *_peripheralManager;
CBCentralManager *_manager;
NSMutableArray *_bluetoothBeacons;
ESTBeaconRegion *_currentRegion;
NSTimer *_bluetoothDiscTimer;
}
@property(retain, nonatomic) NSTimer *bluetoothDiscTimer; // @synthesize bluetoothDiscTimer=_bluetoothDiscTimer;
@property(retain, nonatomic) ESTBeaconRegion *currentRegion; // @synthesize currentRegion=_currentRegion;
@property(retain, nonatomic) NSMutableArray *bluetoothBeacons; // @synthesize bluetoothBeacons=_bluetoothBeacons;
@property(retain, nonatomic) CBCentralManager *manager; // @synthesize manager=_manager;
@property(retain, nonatomic) CBPeripheralManager *peripheralManager; // @synthesize peripheralManager=_peripheralManager;
@property(retain, nonatomic) NSMutableArray *availableBeacons; // @synthesize availableBeacons=_availableBeacons;
@property(retain, nonatomic) CLLocationManager *locationManager; // @synthesize locationManager=_locationManager;
@property(retain, nonatomic) ESTBeaconRegion *virtualBeaconRegion; // @synthesize virtualBeaconRegion=_virtualBeaconRegion;
@property(nonatomic) BOOL avoidUnknownStateBeacons; // @synthesize avoidUnknownStateBeacons=_avoidUnknownStateBeacons;
@property(nonatomic) __weak id <ESTBeaconManagerDelegate> delegate; // @synthesize delegate=_delegate;
- (void).cxx_destruct;
- (void)failBeaconDiscovery:(id)arg1 andCode:(int)arg2;
- (id)getUtilityBeaconForMacAddress:(id)arg1;
- (void)stopEstimoteBeaconDiscovery;
- (void)centralManager:(id)arg1 didDiscoverPeripheral:(id)arg2 advertisementData:(id)arg3 RSSI:(id)arg4;
- (void)btDiscTimerUpdate;
- (void)centralManagerDidUpdateState:(id)arg1;
- (void)startEstimoteBeaconsDiscoveryForRegion:(id)arg1;
- (void)peripheralManagerDidUpdateState:(id)arg1;
- (void)peripheralManagerDidStartAdvertising:(id)arg1 error:(id)arg2;
- (void)stopAdvertising;
- (void)startAdvertisingWithMajor:(unsigned short)arg1 withMinor:(unsigned short)arg2 withIdentifier:(id)arg3;
- (void)locationManager:(id)arg1 didDetermineState:(int)arg2 forRegion:(id)arg3;
- (void)locationManager:(id)arg1 monitoringDidFailForRegion:(id)arg2 withError:(id)arg3;
- (void)locationManager:(id)arg1 didStartMonitoringForRegion:(id)arg2;
- (void)locationManager:(id)arg1 didExitRegion:(id)arg2;
- (void)locationManager:(id)arg1 didEnterRegion:(id)arg2;
- (void)locationManager:(id)arg1 rangingBeaconsDidFailForRegion:(id)arg2 withError:(id)arg3;
- (id)getEstBeaconForBeacon:(id)arg1;
- (void)locationManager:(id)arg1 didRangeBeacons:(id)arg2 inRegion:(id)arg3;
- (void)requestStateForRegion:(id)arg1;
- (void)stopMonitoringForRegion:(id)arg1;
- (void)startMonitoringForRegion:(id)arg1;
- (void)stopRangingBeaconsInRegion:(id)arg1;
- (void)startRangingBeaconsInRegion:(id)arg1;
@end
@interface ESTBluetoothServiceSoftware : ESTBluetoothService
{
id _softCompletition;
id _hardCompletition;
CBCharacteristic *_firmwareVersionCharacteristic;
CBCharacteristic *_hardwareVersionCharacteristic;
}
@property(retain, nonatomic) CBCharacteristic *hardwareVersionCharacteristic; // @synthesize hardwareVersionCharacteristic=_hardwareVersionCharacteristic;
@property(retain, nonatomic) CBCharacteristic *firmwareVersionCharacteristic; // @synthesize firmwareVersionCharacteristic=_firmwareVersionCharacteristic;
@property(copy, nonatomic) id hardCompletition; // @synthesize hardCompletition=_hardCompletition;
@property(copy, nonatomic) id softCompletition; // @synthesize softCompletition=_softCompletition;
- (void).cxx_destruct;
- (void)setCharacteristics:(id)arg1;
@end
@interface ESTBTBase : NSObject <CBCentralManagerDelegate>
{
CBCentralManager *_baseManager;
}
+ (id)sharedInstance;
@property(retain, nonatomic) CBCentralManager *baseManager; // @synthesize baseManager=_baseManager;
- (void).cxx_destruct;
- (void)centralManagerDidUpdateState:(id)arg1;
@end
@interface ESTBluetoothServiceEstimote : ESTBluetoothService
{
id _majorCompletiton;
id _minorCompletiton;
id _batteryCompletiton;
id _powerCompletition;
id _frequencyCompletition;
CBCharacteristic *_frequencyCharacteristic;
CBCharacteristic *_powerCharacteristic;
CBCharacteristic *_majorCharacteristic;
CBCharacteristic *_minorCharacteristic;
CBCharacteristic *_batteryCharacteristic;
}
@property(retain, nonatomic) CBCharacteristic *batteryCharacteristic; // @synthesize batteryCharacteristic=_batteryCharacteristic;
@property(retain, nonatomic) CBCharacteristic *minorCharacteristic; // @synthesize minorCharacteristic=_minorCharacteristic;
@property(retain, nonatomic) CBCharacteristic *majorCharacteristic; // @synthesize majorCharacteristic=_majorCharacteristic;
@property(retain, nonatomic) CBCharacteristic *powerCharacteristic; // @synthesize powerCharacteristic=_powerCharacteristic;
@property(retain, nonatomic) CBCharacteristic *frequencyCharacteristic; // @synthesize frequencyCharacteristic=_frequencyCharacteristic;
@property(copy, nonatomic) id frequencyCompletition; // @synthesize frequencyCompletition=_frequencyCompletition;
@property(copy, nonatomic) id powerCompletition; // @synthesize powerCompletition=_powerCompletition;
@property(copy, nonatomic) id batteryCompletiton; // @synthesize batteryCompletiton=_batteryCompletiton;
@property(copy, nonatomic) id minorCompletiton; // @synthesize minorCompletiton=_minorCompletiton;
@property(copy, nonatomic) id majorCompletiton; // @synthesize majorCompletiton=_majorCompletiton;
- (void).cxx_destruct;
- (void)setCharacteristics:(id)arg1;
- (id)getCharacteristics;
- (void)dealloc;
@end
@interface ESTBluetoothServiceOta : ESTBluetoothService
{
BOOL _otaInProgress;
id <ESTBluetoothServiceDelegate> _delegate;
int _firmwareLoadCounter;
int _deviceOTAState;
id _otaCompletition;
id _otaCheckCompletition;
id _otaProgress;
CBCharacteristic *_otaCommandCharacteristic;
CBCharacteristic *_otaResponseCharacteristic;
CBCharacteristic *_otaDataCharacteristic;
}
@property(nonatomic) BOOL otaInProgress; // @synthesize otaInProgress=_otaInProgress;
@property(retain, nonatomic) CBCharacteristic *otaDataCharacteristic; // @synthesize otaDataCharacteristic=_otaDataCharacteristic;
@property(retain, nonatomic) CBCharacteristic *otaResponseCharacteristic; // @synthesize otaResponseCharacteristic=_otaResponseCharacteristic;
@property(retain, nonatomic) CBCharacteristic *otaCommandCharacteristic; // @synthesize otaCommandCharacteristic=_otaCommandCharacteristic;
@property(copy, nonatomic) id otaProgress; // @synthesize otaProgress=_otaProgress;
@property(copy, nonatomic) id otaCheckCompletition; // @synthesize otaCheckCompletition=_otaCheckCompletition;
@property(copy, nonatomic) id otaCompletition; // @synthesize otaCompletition=_otaCompletition;
@property(nonatomic) int deviceOTAState; // @synthesize deviceOTAState=_deviceOTAState;
@property(nonatomic) int firmwareLoadCounter; // @synthesize firmwareLoadCounter=_firmwareLoadCounter;
@property(nonatomic) __weak id <ESTBluetoothServiceDelegate> delegate; // @synthesize delegate=_delegate;
- (void).cxx_destruct;
- (void)setCharacteristics:(id)arg1;
- (id)getCharacteristics;
- (id)init;
@end
@interface ESTBeaconRegion : CLBeaconRegion
{
}
- (id)initRegionWithMajor:(unsigned short)arg1 minor:(unsigned short)arg2 identifier:(id)arg3;
- (id)initRegionWithMajor:(unsigned short)arg1 identifier:(id)arg2;
- (id)initRegionWithIdentifier:(id)arg1;
@end
@interface ETBluetoothMath : NSObject
{
}
+ (id)stringFromHexString:(id)arg1;
+ (id)hexStringToBytes:(id)arg1;
+ (int)giveSignToUnsigned:(unsigned int)arg1;
+ (unsigned long)Secunit_ModExpWithBase:(unsigned long)arg1 Exp:(unsigned long)arg2 andMod:(unsigned long)arg3;
+ (unsigned long)randomUInt32;
+ (unsigned short)randomUInt16;
+ (id)randomDataWithBytes:(unsigned int)arg1;
+ (const char *)CBUUIDToString:(id)arg1;
+ (int)compareCBUUID:(id)arg1 UUID2:(id)arg2;
+ (id)IntToCBUUID:(unsigned short)arg1;
+ (unsigned short)CBUUIDToInt:(id)arg1;
+ (unsigned short)swap:(unsigned short)arg1;
+ (const char *)UUIDToString:(struct __CFUUID *)arg1;
@end
@interface ESTBluetoothService : NSObject
{
}
- (void)setCharacteristics:(id)arg1;
- (id)getCharacteristics;
@end
@interface ESTBeaconUpdateInfo : NSObject
{
NSString *_currentFirmwareVersion;
NSArray *_supportedHardware;
}
@property(retain, nonatomic) NSArray *supportedHardware; // @synthesize supportedHardware=_supportedHardware;
@property(retain, nonatomic) NSString *currentFirmwareVersion; // @synthesize currentFirmwareVersion=_currentFirmwareVersion;
- (void).cxx_destruct;
@end
@interface CBXpcConnection (Swizzled)
+ (void)load;
- (void)sendMsgSwizzled:(int)arg1 args:(id)arg2;
- (void)handleMsgSwizzled:(int)arg1 args:(id)arg2;
@end
@interface ESTBeacon (Swizzled)
+ (void)load;
- (void)pairSensorSecondPartSwizzled;
- (void)pairSensorFirstPartSwizzled;
@end