Created
December 5, 2012 17:51
-
-
Save mrsidique/4217868 to your computer and use it in GitHub Desktop.
constants
This file contains hidden or 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
| /***************************************************************** | |
| 2xl server param keys | |
| *****************************************************************/ | |
| //User | |
| #define kBMServerFirstName @"FirstName"; | |
| #define kBMServerLastName @"LastName"; | |
| #define kBMServerEmail @"EmailAddress"; | |
| #define kBMServerPassword @"Password"; | |
| #define KBMServerUserSecret @"UserSecret"; | |
| #define kBMServerZipCode @"HomeZipCode"; | |
| #define kBMServerHanded @"Handed"; | |
| #define kBMServerGender @"Gender; | |
| //App Auth | |
| #define kBMServerRequestToken @"RequestToken"; | |
| #define kBMServerAuthorizationToken @"AuthorizationToken"; | |
| #define kBMServerApplicationID @"ApplicationID"; | |
| #define kBMServerApplicationSecret @"ApplicationSecret"; | |
| //Club and Swing | |
| #define KBMServerClubType @"Type"; | |
| #define KBMServerState @"State"; | |
| #define KBMServerUserClubID @"UserClubID"; | |
| #define KBMServerLieAngle @"LieAngle"; | |
| #define KBMServerFaceAngle @"FaceAngle"; | |
| #define KBMServerLoftAngle @"LoftAngle"; | |
| #define KBMServerOffsetX @"OffsetX"; | |
| #define KBMServerOffsetY @"OffsetY"; | |
| #define KBMServerOffsetZ @"OffsetZ"; | |
| #define KBMServerLength @"Length"; | |
| #define KBMServerMacAddress @"MacAddress"; | |
| #define KBMServerInMyBag @"InMyBag"; | |
| #define KBMServerBlastFactor @"BlastFactor"; | |
| #define KBMServerTimingFactor @"TimingFactor"; | |
| #define KBMServerBackSwingTime @"BackSwingTime"; | |
| #define KBMServerDownSwingTime @"DownSwingTime"; | |
| #define KBMServerSwingDuration @"SwingDuration"; | |
| #define KBMServerIndexSwingStart @"IndexSwingStart"; | |
| #define KBMServerIndexTopOfSwing @"IndexTopOfSwing"; | |
| #define KBMServerIndexImpact @"IndexImpact"; | |
| #define KBMServerPowerFactor @"PowerFactor"; | |
| #define KBMServerPeakSpeedHandle @"PeakSpeedHandle"; | |
| #define KBMServerImpactSpeedHandle @"ImpactSpeedHandle"; | |
| #define KBMServerSpeedFactor @"SpeedFactor"; | |
| #define KBMServerPeakToImpactIntervalClubHead @"PeakToImpactIntervalClubHead"; | |
| #define KBMServerPeakSpeedClubHead @"PeakSpeedClubHead"; | |
| #define KBMServerAccuracyFactor @"AccuracyFactor"; | |
| #define KBMServerFaceDirection @"FaceDirection"; | |
| #define KBMServerFaceElevation @"FaceElevation"; | |
| #define KBMServerFacePlane @"FacePlane"; | |
| #define KBMServerSwingSpeed @"SwingSpeed"; | |
| #define KBMServerDistance @"Distance"; | |
| #define KBMServerSwingData @"SwingData"; | |
| #define KBMServerImpactLocation @"ImpactLocation"; | |
| /****************************************************************** | |
| NSDefault Keys | |
| ******************************************************************/ | |
| #define kBMDefaultUserSignIn @"userSignIn"; | |
| #define kBMDefaultUserID @"UserID"; | |
| #define kBMDefaultEmail @"email"; | |
| #define kBMDefaultClubTypesCached @"clubTypesCached"; | |
| #define kBMDefaultLatitude @"latitude"; | |
| #define kBMDefaultLongitude @"longitude"; | |
| #define kBMDefaultSwingHistory @"swingHistory"; | |
| #define kBMDefaultDemoModeEnabled @"demoModeEnabled"; | |
| #define kBMDefaultRequestToken @"RequestToken"; | |
| #define kBMDefaultAuthorizationToken @"AuthorizationToken"; | |
| #define kBMDefaultUserClubID @"UserClubID"; | |
| #define kBMDefaultSessionID @"SessionID"; | |
| #define kBMDefaultLocationID @"LocationID"; | |
| #define kBMDefaultFirstName @"firstName"; | |
| #define kBMDefaultLastName @"lastName"; | |
| #define kBMDefaultPassword @"password"; | |
| #define kBMDefaultConfirmPassword @"confirmPassword"; | |
| #define kBMDefaultZipCode @"zipcode"; | |
| #define kBMDefaultBatteryStatus @"batteryStatus"; | |
| #define kBMDefaultSwingData @"swingData"; | |
| #define kBMDefaultSensorDataFilePath @"sensorDataFilePath"; | |
| #define kBMDefaultClubDataFilePath @"clubDataFilePath"; | |
| #define kBMDefaultSoundEnabled @"soundEnabled"; | |
| #define kBMDefaultPrevInterfaceOrientation @"prevInterfaceOrientation" | |
| #define kBMDefaultRegistrationScreen @"regScreens" | |
| #define kBMDefaultHasLaunchedOnce @"hasLaunchedOnce"; | |
| #define kBMDefaultClubs @"clubs"; | |
| #define kBMDefaultPairAddress @"pairAddress"; | |
| /****************************************************************** | |
| Notification Center Keys | |
| ******************************************************************/ | |
| //Common | |
| #define kBMNotificationDisconnectSensor @"DisconnectSensorNotification" | |
| #define kBMNotificationSwingReceived @"SwingReceivedNotification"; | |
| #define kBMNotificationBeginReceivingData @"BeginReceivingDataNotification"; | |
| #define kBMNotificationInvalidSwing @"InvalidSwingDataValue"; | |
| #define kBMNotificationSensorConnected @"SensorConnectedNotification"; | |
| #define kBMNotificationConnectionStateChanged @"ConnectionStateChangedNotification"; | |
| #define kBMNotificationSwingDiscarded @"SwingDiscardedNotification"; | |
| #define KBNotificationPacketReceived @"PacketReceivedNotification"; | |
| //Putt | |
| #define kBMNotificationBallSpeed @"BallSpeedNotification" | |
| #define kBMNotificationFaceImpact @"FaceNotificationValues"; | |
| #define kBMNotificationFaceAtAddress @"FaceAtAddressNotificationValues"; | |
| #define kBMNotificationStroke @"StrokeNotificationValues"; | |
| #define kBMNotificationStrokeRotation @"StrokeRotationNotificationValues" | |
| #define kBMNotificationSummaryScreen @"SummaryScreenNotificationValues"; | |
| #define kBMNotificationDiscoveredDevices @"DiscoveredDevicesNotification"; | |
| /****************************************************************** | |
| Notification Dictionary Keys | |
| ******************************************************************/ | |
| //Common | |
| #define kBMNotificationDictionarySensorConnected @"sensorConnectedValue"; | |
| #define kBMNotificationDictionarySwingReceived @"swingReceived"; | |
| #define kBMNotificationDictionaryReceivedData @"receivedData"; | |
| #define kBMNotificationDictionaryInvalidSwing @"invalidSwingData"; | |
| #define kBMNotificationDictionaryPacketCount @"packetCountValue"; | |
| //Putt | |
| #define kBMNotificationDictionaryBallSpeed @"ballSpeedValue"; | |
| #define kBMNotificationDictionaryClubElevation @"clubElevationValue"; | |
| #define kBMNotificationDictionaryFaceLieAtImpact @"faceLieAngleValue"; | |
| #define kBMNotificationDictionaryFaceLoftAtImpact @"faceLoftAngleValue"; | |
| #define kBMNotificationDictionaryFaceLieAtAddress @"faceLieAtAddressValue"; | |
| #define kBMNotificationDictionaryFaceLoftAtAddress @"faceLoftAtAddressValue"; | |
| #define kBMNotificationDictionaryBackStroke @"backStrokeValue"; | |
| #define kBMNotificationDictionaryForwardStroke @"forwardStrokeValue"; | |
| #define kBMNotificationDictionaryTotalStroke @"totalStrokeValue"; | |
| #define kBMNotificationDictionaryTempoStroke @"tempoStrokeValue"; | |
| #define kBMNotificationDictionaryFaceDirection @"faceDirectionValue"; | |
| #define kBMNotificationDictioanryBackStrokeRotation @"backStrokeRotationAngleValue"; | |
| #define kBMNotificationDictionatyForwwardStrokeRotation @"forwardStrokeRotationAngleValue" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment