diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.pbxproj b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.pbxproj new file mode 100644 index 0000000..8a94cd8 --- /dev/null +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.pbxproj @@ -0,0 +1,531 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 3471866118070D9300FA0FB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866018070D9300FA0FB2 /* Foundation.framework */; }; + 3471866318070D9300FA0FB2 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866218070D9300FA0FB2 /* CoreGraphics.framework */; }; + 3471866518070D9300FA0FB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866418070D9300FA0FB2 /* UIKit.framework */; }; + 3471867A18070D9300FA0FB2 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471867918070D9300FA0FB2 /* XCTest.framework */; }; + 3471867B18070D9300FA0FB2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866018070D9300FA0FB2 /* Foundation.framework */; }; + 3471867C18070D9300FA0FB2 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3471866418070D9300FA0FB2 /* UIKit.framework */; }; + 347186A618070E7200FA0FB2 /* libEMFramework.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 347186A518070E7200FA0FB2 /* libEMFramework.a */; }; + 347186AC18070FAB00FA0FB2 /* CoreBluetooth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */; }; + 34AAB883189804FF0019860D /* EMAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB877189804FF0019860D /* EMAppDelegate.m */; }; + 34AAB884189804FF0019860D /* EMConnectingView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB878189804FF0019860D /* EMConnectingView.xib */; }; + 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */; }; + 34AAB886189804FF0019860D /* EMFirstAppViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB87C189804FF0019860D /* EMFirstAppViewController.m */; }; + 34AAB889189804FF0019860D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB880189804FF0019860D /* main.m */; }; + 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB881189804FF0019860D /* MainStoryboard.storyboard */; }; + 34AAB88D189805300019860D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB88C189805300019860D /* Images.xcassets */; }; + F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */; }; + F9C77F50192CDE30002DBE8A /* durex.json in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4F192CDE30002DBE8A /* durex.json */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 3471867D18070D9300FA0FB2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 3471865518070D9300FA0FB2 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3471865C18070D9300FA0FB2; + remoteInfo = TestAppExample; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 3471865D18070D9300FA0FB2 /* DUREX Vendor Control.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "DUREX Vendor Control.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3471866018070D9300FA0FB2 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; + 3471866218070D9300FA0FB2 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; + 3471866418070D9300FA0FB2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; + 3471867818070D9300FA0FB2 /* DUREX Vendor ControlTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "DUREX Vendor ControlTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 3471867918070D9300FA0FB2 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + 3471869118070E6500FA0FB2 /* EMBluetoothLowEnergyConnectionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMBluetoothLowEnergyConnectionType.h; sourceTree = ""; }; + 3471869218070E6500FA0FB2 /* EMChecksum.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMChecksum.h; sourceTree = ""; }; + 3471869318070E6500FA0FB2 /* EMConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMConnection.h; sourceTree = ""; }; + 3471869518070E6500FA0FB2 /* EMConnectionListManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMConnectionListManager.h; sourceTree = ""; }; + 3471869718070E6500FA0FB2 /* EMConnectionManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMConnectionManager.h; sourceTree = ""; }; + 3471869918070E6500FA0FB2 /* EMConnectionType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMConnectionType.h; sourceTree = ""; }; + 3471869A18070E6500FA0FB2 /* EMDeviceBasicDescription.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMDeviceBasicDescription.h; sourceTree = ""; }; + 3471869B18070E6500FA0FB2 /* EMFramework.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMFramework.h; sourceTree = ""; }; + 3471869E18070E6500FA0FB2 /* EMResourceValue+CocoaAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "EMResourceValue+CocoaAdditions.h"; sourceTree = ""; }; + 3471869F18070E6500FA0FB2 /* EMResourceValue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMResourceValue.h; sourceTree = ""; }; + 347186A018070E6500FA0FB2 /* EMSchema.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMSchema.h; sourceTree = ""; }; + 347186A118070E6500FA0FB2 /* EMSerialPacket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMSerialPacket.h; sourceTree = ""; }; + 347186A218070E6500FA0FB2 /* EMSignalStrengthFilter.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMSignalStrengthFilter.h; sourceTree = ""; }; + 347186A318070E6500FA0FB2 /* EMTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EMTypes.h; sourceTree = ""; }; + 347186A518070E7200FA0FB2 /* libEMFramework.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libEMFramework.a; path = EmmocoMobileFramework/Framework/libEMFramework.a; sourceTree = SOURCE_ROOT; }; + 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = System/Library/Frameworks/CoreBluetooth.framework; sourceTree = SDKROOT; }; + 34AAB876189804FF0019860D /* EMAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EMAppDelegate.h; path = FirstAppExample/EMAppDelegate.h; sourceTree = SOURCE_ROOT; }; + 34AAB877189804FF0019860D /* EMAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = EMAppDelegate.m; path = FirstAppExample/EMAppDelegate.m; sourceTree = SOURCE_ROOT; }; + 34AAB878189804FF0019860D /* EMConnectingView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = EMConnectingView.xib; path = FirstAppExample/EMConnectingView.xib; sourceTree = SOURCE_ROOT; }; + 34AAB879189804FF0019860D /* EMDevicePickerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EMDevicePickerViewController.h; path = FirstAppExample/EMDevicePickerViewController.h; sourceTree = SOURCE_ROOT; }; + 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = EMDevicePickerViewController.m; path = FirstAppExample/EMDevicePickerViewController.m; sourceTree = SOURCE_ROOT; }; + 34AAB87B189804FF0019860D /* EMFirstAppViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EMFirstAppViewController.h; path = FirstAppExample/EMFirstAppViewController.h; sourceTree = SOURCE_ROOT; }; + 34AAB87C189804FF0019860D /* EMFirstAppViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = EMFirstAppViewController.m; path = FirstAppExample/EMFirstAppViewController.m; sourceTree = SOURCE_ROOT; }; + 34AAB87E189804FF0019860D /* DUREX Vendor Control-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = "DUREX Vendor Control-Info.plist"; path = "FirstAppExample/DUREX Vendor Control-Info.plist"; sourceTree = SOURCE_ROOT; }; + 34AAB87F189804FF0019860D /* DUREX Vendor Control-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "DUREX Vendor Control-Prefix.pch"; path = "FirstAppExample/DUREX Vendor Control-Prefix.pch"; sourceTree = SOURCE_ROOT; }; + 34AAB880189804FF0019860D /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = FirstAppExample/main.m; sourceTree = SOURCE_ROOT; }; + 34AAB881189804FF0019860D /* MainStoryboard.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = MainStoryboard.storyboard; path = FirstAppExample/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; }; + 34AAB88C189805300019860D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FirstAppExample/Images.xcassets; sourceTree = SOURCE_ROOT; }; + F9C77F4D192CDE18002DBE8A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = FirstAppExample/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; }; + F9C77F4F192CDE30002DBE8A /* durex.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = durex.json; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 3471865A18070D9300FA0FB2 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 347186AC18070FAB00FA0FB2 /* CoreBluetooth.framework in Frameworks */, + 3471866318070D9300FA0FB2 /* CoreGraphics.framework in Frameworks */, + 3471866518070D9300FA0FB2 /* UIKit.framework in Frameworks */, + 347186A618070E7200FA0FB2 /* libEMFramework.a in Frameworks */, + 3471866118070D9300FA0FB2 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3471867518070D9300FA0FB2 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 3471867A18070D9300FA0FB2 /* XCTest.framework in Frameworks */, + 3471867C18070D9300FA0FB2 /* UIKit.framework in Frameworks */, + 3471867B18070D9300FA0FB2 /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 3471865418070D9300FA0FB2 = { + isa = PBXGroup; + children = ( + 3471866618070D9300FA0FB2 /* FirstApp */, + 3471865F18070D9300FA0FB2 /* Frameworks */, + 3471865E18070D9300FA0FB2 /* Products */, + ); + sourceTree = ""; + }; + 3471865E18070D9300FA0FB2 /* Products */ = { + isa = PBXGroup; + children = ( + 3471865D18070D9300FA0FB2 /* DUREX Vendor Control.app */, + 3471867818070D9300FA0FB2 /* DUREX Vendor ControlTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 3471865F18070D9300FA0FB2 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */, + 3471866018070D9300FA0FB2 /* Foundation.framework */, + 3471866218070D9300FA0FB2 /* CoreGraphics.framework */, + 3471866418070D9300FA0FB2 /* UIKit.framework */, + 3471867918070D9300FA0FB2 /* XCTest.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + 3471866618070D9300FA0FB2 /* FirstApp */ = { + isa = PBXGroup; + children = ( + 34AAB881189804FF0019860D /* MainStoryboard.storyboard */, + 34AAB876189804FF0019860D /* EMAppDelegate.h */, + 34AAB877189804FF0019860D /* EMAppDelegate.m */, + 34AAB87B189804FF0019860D /* EMFirstAppViewController.h */, + 34AAB87C189804FF0019860D /* EMFirstAppViewController.m */, + 34AAB88C189805300019860D /* Images.xcassets */, + 347186B91807290E00FA0FB2 /* Schemas */, + 347186A718070F7F00FA0FB2 /* Device Picker */, + 3471868F18070E4300FA0FB2 /* Framework */, + 3471866718070D9300FA0FB2 /* Supporting Files */, + ); + name = FirstApp; + path = TestAppExample; + sourceTree = ""; + }; + 3471866718070D9300FA0FB2 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 34AAB87E189804FF0019860D /* DUREX Vendor Control-Info.plist */, + 34AAB87F189804FF0019860D /* DUREX Vendor Control-Prefix.pch */, + 34AAB880189804FF0019860D /* main.m */, + F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 3471868F18070E4300FA0FB2 /* Framework */ = { + isa = PBXGroup; + children = ( + 347186A518070E7200FA0FB2 /* libEMFramework.a */, + 3471869018070E6500FA0FB2 /* Headers */, + ); + name = Framework; + sourceTree = ""; + }; + 3471869018070E6500FA0FB2 /* Headers */ = { + isa = PBXGroup; + children = ( + 3471869118070E6500FA0FB2 /* EMBluetoothLowEnergyConnectionType.h */, + 3471869218070E6500FA0FB2 /* EMChecksum.h */, + 3471869318070E6500FA0FB2 /* EMConnection.h */, + 3471869518070E6500FA0FB2 /* EMConnectionListManager.h */, + 3471869718070E6500FA0FB2 /* EMConnectionManager.h */, + 3471869918070E6500FA0FB2 /* EMConnectionType.h */, + 3471869A18070E6500FA0FB2 /* EMDeviceBasicDescription.h */, + 3471869B18070E6500FA0FB2 /* EMFramework.h */, + 3471869E18070E6500FA0FB2 /* EMResourceValue+CocoaAdditions.h */, + 3471869F18070E6500FA0FB2 /* EMResourceValue.h */, + 347186A018070E6500FA0FB2 /* EMSchema.h */, + 347186A118070E6500FA0FB2 /* EMSerialPacket.h */, + 347186A218070E6500FA0FB2 /* EMSignalStrengthFilter.h */, + 347186A318070E6500FA0FB2 /* EMTypes.h */, + ); + name = Headers; + path = EmmocoMobileFramework/Headers; + sourceTree = SOURCE_ROOT; + }; + 347186A718070F7F00FA0FB2 /* Device Picker */ = { + isa = PBXGroup; + children = ( + 34AAB878189804FF0019860D /* EMConnectingView.xib */, + 34AAB879189804FF0019860D /* EMDevicePickerViewController.h */, + 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */, + ); + name = "Device Picker"; + sourceTree = ""; + }; + 347186B91807290E00FA0FB2 /* Schemas */ = { + isa = PBXGroup; + children = ( + F9C77F4F192CDE30002DBE8A /* durex.json */, + ); + name = Schemas; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 3471865C18070D9300FA0FB2 /* DUREX Vendor Control */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3471868918070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX Vendor Control" */; + buildPhases = ( + 3471865918070D9300FA0FB2 /* Sources */, + 3471865A18070D9300FA0FB2 /* Frameworks */, + 3471865B18070D9300FA0FB2 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "DUREX Vendor Control"; + productName = TestAppExample; + productReference = 3471865D18070D9300FA0FB2 /* DUREX Vendor Control.app */; + productType = "com.apple.product-type.application"; + }; + 3471867718070D9300FA0FB2 /* DUREX Vendor ControlTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3471868C18070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX Vendor ControlTests" */; + buildPhases = ( + 3471867418070D9300FA0FB2 /* Sources */, + 3471867518070D9300FA0FB2 /* Frameworks */, + 3471867618070D9300FA0FB2 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 3471867E18070D9300FA0FB2 /* PBXTargetDependency */, + ); + name = "DUREX Vendor ControlTests"; + productName = TestAppExampleTests; + productReference = 3471867818070D9300FA0FB2 /* DUREX Vendor ControlTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 3471865518070D9300FA0FB2 /* Project object */ = { + isa = PBXProject; + attributes = { + CLASSPREFIX = EM; + LastUpgradeCheck = 0500; + ORGANIZATIONNAME = Emmoco; + TargetAttributes = { + 3471867718070D9300FA0FB2 = { + TestTargetID = 3471865C18070D9300FA0FB2; + }; + }; + }; + buildConfigurationList = 3471865818070D9300FA0FB2 /* Build configuration list for PBXProject "DUREX Vendor Control" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 3471865418070D9300FA0FB2; + productRefGroup = 3471865E18070D9300FA0FB2 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 3471865C18070D9300FA0FB2 /* DUREX Vendor Control */, + 3471867718070D9300FA0FB2 /* DUREX Vendor ControlTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 3471865B18070D9300FA0FB2 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34AAB884189804FF0019860D /* EMConnectingView.xib in Resources */, + F9C77F50192CDE30002DBE8A /* durex.json in Resources */, + F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */, + 34AAB88D189805300019860D /* Images.xcassets in Resources */, + 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3471867618070D9300FA0FB2 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 3471865918070D9300FA0FB2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */, + 34AAB883189804FF0019860D /* EMAppDelegate.m in Sources */, + 34AAB886189804FF0019860D /* EMFirstAppViewController.m in Sources */, + 34AAB889189804FF0019860D /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3471867418070D9300FA0FB2 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 3471867E18070D9300FA0FB2 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 3471865C18070D9300FA0FB2 /* DUREX Vendor Control */; + targetProxy = 3471867D18070D9300FA0FB2 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */ = { + isa = PBXVariantGroup; + children = ( + F9C77F4D192CDE18002DBE8A /* en */, + ); + name = InfoPlist.strings; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 3471868718070D9300FA0FB2 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 3471868818070D9300FA0FB2 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 7.0; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 3471868A18070D9300FA0FB2 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD)"; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "FirstAppExample/DUREX Vendor Control-Prefix.pch"; + INFOPLIST_FILE = "FirstAppExample/DUREX Vendor Control-Info.plist"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + EmmocoMobileFramework/Framework, + ); + OTHER_LDFLAGS = "-all_load"; + PRODUCT_NAME = "DUREX Vendor Control"; + WRAPPER_EXTENSION = app; + }; + name = Debug; + }; + 3471868B18070D9300FA0FB2 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD)"; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "FirstAppExample/DUREX Vendor Control-Prefix.pch"; + INFOPLIST_FILE = "FirstAppExample/DUREX Vendor Control-Info.plist"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + EmmocoMobileFramework/Framework, + ); + OTHER_LDFLAGS = "-all_load"; + PRODUCT_NAME = "DUREX Vendor Control"; + WRAPPER_EXTENSION = app; + }; + name = Release; + }; + 3471868D18070D9300FA0FB2 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TestAppExample.app/TestAppExample"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "TestAppExample/TestAppExample-Prefix.pch"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = "TestAppExampleTests/FirstAppTests-Info.plist"; + PRODUCT_NAME = "DUREX Vendor ControlTests"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Debug; + }; + 3471868E18070D9300FA0FB2 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; + BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/TestAppExample.app/TestAppExample"; + FRAMEWORK_SEARCH_PATHS = ( + "$(SDKROOT)/Developer/Library/Frameworks", + "$(inherited)", + "$(DEVELOPER_FRAMEWORKS_DIR)", + ); + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = "TestAppExample/TestAppExample-Prefix.pch"; + INFOPLIST_FILE = "TestAppExampleTests/FirstAppTests-Info.plist"; + PRODUCT_NAME = "DUREX Vendor ControlTests"; + TEST_HOST = "$(BUNDLE_LOADER)"; + WRAPPER_EXTENSION = xctest; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 3471865818070D9300FA0FB2 /* Build configuration list for PBXProject "DUREX Vendor Control" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3471868718070D9300FA0FB2 /* Debug */, + 3471868818070D9300FA0FB2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3471868918070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX Vendor Control" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3471868A18070D9300FA0FB2 /* Debug */, + 3471868B18070D9300FA0FB2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 3471868C18070D9300FA0FB2 /* Build configuration list for PBXNativeTarget "DUREX Vendor ControlTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3471868D18070D9300FA0FB2 /* Debug */, + 3471868E18070D9300FA0FB2 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 3471865518070D9300FA0FB2 /* Project object */; +} diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..ce14309 --- /dev/null +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcshareddata/FirstApp.xccheckout b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcshareddata/FirstApp.xccheckout new file mode 100644 index 0000000..ad60022 --- /dev/null +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcshareddata/FirstApp.xccheckout @@ -0,0 +1,46 @@ + + + + + IDESourceControlProjectFavoriteDictionaryKey + + IDESourceControlProjectIdentifier + F3823CA7-4E1F-42C9-83E6-7F9A3B0B4380 + IDESourceControlProjectName + FirstApp + IDESourceControlProjectOriginsDictionary + + C52D274C-DEEC-4CDB-BD77-3B4747652588 + svn://imanolbarba.net/durex + + IDESourceControlProjectPath + ios-examples-13.4.9/FirstApp/FirstApp.xcodeproj/project.xcworkspace + IDESourceControlProjectRelativeInstallPathDictionary + + C52D274C-DEEC-4CDB-BD77-3B4747652588 + ../../../.. + + IDESourceControlProjectRepositoryRootDictionary + + C52D274C-DEEC-4CDB-BD77-3B4747652588 + svn://imanolbarba.net/durex + + IDESourceControlProjectURL + svn://imanolbarba.net/durex/ios-examples-13.4.9/FirstApp/FirstApp.xcodeproj + IDESourceControlProjectVersion + 110 + IDESourceControlProjectWCCIdentifier + C52D274C-DEEC-4CDB-BD77-3B4747652588 + IDESourceControlProjectWCConfigurations + + + IDESourceControlRepositoryExtensionIdentifierKey + public.vcs.subversion + IDESourceControlWCCIdentifierKey + C52D274C-DEEC-4CDB-BD77-3B4747652588 + IDESourceControlWCCName + durex + + + + diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..6c9faf9 --- /dev/null +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/WorkspaceSettings.xcsettings b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/WorkspaceSettings.xcsettings new file mode 100644 index 0000000..659c876 --- /dev/null +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/WorkspaceSettings.xcsettings @@ -0,0 +1,10 @@ + + + + + HasAskedToTakeAutomaticSnapshotBeforeSignificantChanges + + SnapshotAutomaticallyBeforeSignificantChanges + + + diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/FirstApp.xcscheme b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/FirstApp.xcscheme new file mode 100644 index 0000000..8fcb9b1 --- /dev/null +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/FirstApp.xcscheme @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/xcschememanagement.plist b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/xcschememanagement.plist new file mode 100644 index 0000000..9251c46 --- /dev/null +++ b/DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcschemes/xcschememanagement.plist @@ -0,0 +1,27 @@ + + + + + SchemeUserState + + FirstApp.xcscheme + + orderHint + 0 + + + SuppressBuildableAutocreation + + 3471865C18070D9300FA0FB2 + + primary + + + 3471867718070D9300FA0FB2 + + primary + + + + + diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Assets/system.json b/DUREX Vendor Control/EmmocoMobileFramework/Assets/system.json new file mode 100644 index 0000000..7a27c17 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Assets/system.json @@ -0,0 +1,196 @@ +{ + "resources": { + "$activeParameterGroup": { + "id": -10, + "align": 1, + "pack": 1, + "attributes": {"readwrite": true}, + "type": "E:system@emmoco.com.System/ParameterGroup", + "access": "rw", + "size": 1 + }, + "$schemaHash": { + "dim": 20, + "id": -6, + "align": 1, + "attributes": {"readonly": true}, + "type": "A20:u1", + "access": "r", + "size": 20 + }, + "$eapProtocolLevel": { + "id": -3, + "align": 2, + "attributes": {"readonly": true}, + "type": "u2", + "access": "r", + "size": 2 + }, + "$mcmProtocolLevel": { + "id": -2, + "align": 2, + "attributes": {"readonly": true}, + "type": "u2", + "access": "r", + "size": 2 + }, + "$mobileRssi": { + "id": -8, + "align": 1, + "attributes": {"readonly": true}, + "type": "i1", + "access": "r", + "size": 1 + }, + "$mcmDisconnect": { + "id": -9, + "align": 1, + "attributes": {"writeonly": true}, + "type": "u1", + "access": "w", + "size": 1 + }, + "$eapBuildDate": { + "dim": 8, + "id": -4, + "align": 1, + "attributes": {"readonly": true}, + "type": "A8:u1", + "access": "r", + "size": 8 + }, + "$resourceCount": { + "id": -7, + "align": 1, + "attributes": {"readonly": true}, + "type": "S:system@emmoco.com.System/ResourceCount", + "access": "r", + "size": 2 + }, + "$fileIndexReset": { + "id": -5, + "align": 2, + "attributes": {"writeonly": true}, + "type": "i2", + "access": "w", + "size": 2 + } + }, + "resourceNamesSys": [ + "$activeParameterGroup", + "$eapBuildDate", + "$eapProtocolLevel", + "$fileIndexReset", + "$mcmDisconnect", + "$mcmProtocolLevel", + "$mobileRssi", + "$resourceCount", + "$schemaHash" + ], + "manifest": { + "protocolLevel": 13, + "hash": [ + 108, + 31, + 53, + 92, + 46, + 47, + 48, + 241, + 201, + 5, + 236, + 253, + 10, + 254, + 240, + 187 + ], + "toolVersion": "13.3.0.201307022239", + "name": "System", + "$$md5": "6c1f355c2e2f30f1c905ecfd0afef0bb", + "build": [ + 99, + 80, + 140, + 161, + 63, + 1, + 0, + 0 + ], + "date": "2013-07-02T17:41:34", + "idFormat": "BINARY4", + "maxAlign": 2, + "maxSize": 20, + "version": "13.3.0" + }, + "resourceNames": [ + "$mcmProtocolLevel", + "$eapProtocolLevel", + "$eapBuildDate", + "$fileIndexReset", + "$schemaHash", + "$resourceCount", + "$mobileRssi", + "$mcmDisconnect", + "$activeParameterGroup" + ], + "attributes": { + "description": "System resources schema", + "version": "13.3.0" + }, + "types": { + "system@emmoco.com.System/ResourceCount": { + "packed": false, + "align": 1, + "type": "S:system@emmoco.com.System/ResourceCount", + "size": 2, + "fields": [ + { + "pad": 0, + "align": 1, + "name": "app", + "type": "u1", + "size": 1 + }, + { + "pad": 0, + "align": 1, + "name": "sys", + "type": "u1", + "size": 1 + } + ] + }, + "std:i2": { + "align": 2, + "size": 2 + }, + "std:i1": { + "align": 1, + "size": 1 + }, + "std:u1": { + "align": 1, + "size": 1 + }, + "system@emmoco.com.System/ParameterGroup": { + "values": [ + "GROUP_A", + "GROUP_B" + ], + "align": 1, + "pack": 1, + "type": "E:system@emmoco.com.System/ParameterGroup", + "size": 1 + }, + "std:u2": { + "align": 2, + "size": 2 + } + }, + "resourceNamesApp": [], + "imports": {"@emmoco.com.System": true} +} \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/ArrayValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/ArrayValue.html new file mode 100644 index 0000000..875bda7 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/ArrayValue.html @@ -0,0 +1,1231 @@ + + + + + ArrayValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType.html new file mode 100644 index 0000000..67de2aa --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType.html @@ -0,0 +1,1030 @@ + + + + + EMBluetoothLowEnergyConnectionType Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromNSObject
Conforms toCBCentralManagerDelegate
CBPeripheralDelegate
EMConnectionType
Declared inEMBluetoothLowEnergyConnectionType.h
EMBluetoothLowEnergyConnectionType.m
+ + + + +
+ +

Overview

+

EMBluethoothLowEnergyConnectionType is a concrete EMConnectionType for Bluetooth Low Energy.

+ +

If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to EMConnectionListManager via the -addConnectionTypeToUpdates: method.

+
+ + + + + +
+ +

Tasks

+ + + +

Other Methods

+ +
    +
  • + +   discoversAllEmmocoBLEDevices +

    By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. +NOTE: Most applications should not have this enabled.

    +
    + property + +
  • +
+ + + +

Other Methods

+ + + + + +

Extension Methods

+ +
    +
  • + +   connected +

    A boolean indicating whether or not there is a connection with a device.

    +
    + property + +
  • +
+ +
+ + + + + +
+ +

Properties

+ +
+ +

connected

+ + + +
+

A boolean indicating whether or not there is a connection with a device.

+
+ + +
@property (nonatomic, getter=isConnected) BOOL connected
+ + + + + + + + +
+

Discussion

+

A boolean indicating whether or not there is a connection with a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

discoversAllEmmocoBLEDevices

+ + + +
+

By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. +NOTE: Most applications should not have this enabled.

+
+ + +
@property (nonatomic) BOOL discoversAllEmmocoBLEDevices
+ + + + + + + + +
+

Discussion

+

By default, EMBluetoothLowEnergyConnectionType will ‘discover’ devices that have a schema hash matching a schema in your application bundle. +Set this flag to ‘YES’ for an instance of this class to discover all Emmoco BLE devices. +NOTE: Most applications should not have this enabled.

+
+ + + + + + + +
+

Declared In

+ EMBluetoothLowEnergyConnectionType.h
+
+ + +
+ +
+ + + + + +
+ +

Instance Methods

+ +
+ +

connectToDevice:connectionDelegate:

+ + + +
+

Establishes a connection with a device

+
+ + +
- (void)connectToDevice:(EMDeviceBasicDescription *)device connectionDelegate:(id<EMDeviceDelegate>)connDelegate
+ + + + + + + + +
+

Discussion

+

Establishes a connection with a device

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceType

+ + + +
+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + +
- (NSString *)deviceType
+ + + + + + + + +
+

Discussion

+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

disconnect

+ + + +
+

disconnects the current device.

+
+ + +
- (void)disconnect
+ + + + + + + + +
+

Discussion

+

disconnects the current device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetch:

+ + + +
+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + +
- (void)fetch:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetchSystemResource:

+ + + +
+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + +
- (void)fetchSystemResource:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

isAvailable

+ + + +
+

YES if available on the current device, NO if unavailable.

+
+ + +
- (BOOL)isAvailable
+ + + + + + + + +
+

Discussion

+

YES if available on the current device, NO if unavailable.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

lastReadValue

+ + + +
+

The last read resource value from the device

+
+ + +
- (EMResourceValue *)lastReadValue
+ + + + + + + + +
+

Discussion

+

The last read resource value from the device

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

setConnectionDelegate:

+ + + +
+

The delegate for connection communication

+
+ + +
- (void)setConnectionDelegate:(id<EMDeviceDelegate>)connectionDelegate
+ + + + + + + + +
+

Discussion

+

The delegate for connection communication

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

startUpdating

+ + + +
+

Tells the connection to start looking for devices of its type.

+
+ + +
- (void)startUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to start looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

stopUpdating

+ + + +
+

Tells the connection to stop looking for devices of its type.

+
+ + +
- (void)stopUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to stop looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

store:

+ + + +
+

writes a value to a device.

+
+ + +
- (void)store:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

writes a value to a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v12.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v12.html new file mode 100644 index 0000000..2f3d888 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v12.html @@ -0,0 +1,866 @@ + + + + + EMBluetoothLowEnergyConnectionType_v12 Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromNSObject
Conforms toCBCentralManagerDelegate
CBPeripheralDelegate
EMConnectionType
Declared inEMBluetoothLowEnergyConnectionType_v12.h
EMBluetoothLowEnergyConnectionType_v12.m
+ + + + +
+ +

Overview

+

EMBluethoothLowEnergyConnectionType is a concrete EMConnectionType for Bluetooth Low Energy.

+ +

If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to EMConnectionListManager via the -addConnectionTypeToUpdates: method.

+
+ + + + + +
+ +

Tasks

+ + + +

Other Methods

+ + + + + +

Extension Methods

+ +
    +
  • + +   connected +

    A boolean indicating whether or not there is a connection with a device.

    +
    + property + +
  • +
+ +
+ + + + + +
+ +

Properties

+ +
+ +

connected

+ + + +
+

A boolean indicating whether or not there is a connection with a device.

+
+ + +
@property (nonatomic, getter=isConnected) BOOL connected
+ + + + + + + + +
+

Discussion

+

A boolean indicating whether or not there is a connection with a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + + + + +
+ +

Instance Methods

+ +
+ +

connectToDevice:connectionDelegate:

+ + + +
+

Establishes a connection with a device

+
+ + +
- (void)connectToDevice:(EMDeviceBasicDescription *)device connectionDelegate:(id<EMDeviceDelegate>)connDelegate
+ + + + + + + + +
+

Discussion

+

Establishes a connection with a device

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceType

+ + + +
+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + +
- (NSString *)deviceType
+ + + + + + + + +
+

Discussion

+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

disconnect

+ + + +
+

disconnects the current device.

+
+ + +
- (void)disconnect
+ + + + + + + + +
+

Discussion

+

disconnects the current device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetch:

+ + + +
+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + +
- (void)fetch:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetchSystemResource:

+ + + +
+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + +
- (void)fetchSystemResource:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

isAvailable

+ + + +
+

YES if available on the current device, NO if unavailable.

+
+ + +
- (BOOL)isAvailable
+ + + + + + + + +
+

Discussion

+

YES if available on the current device, NO if unavailable.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

startUpdating

+ + + +
+

Tells the connection to start looking for devices of its type.

+
+ + +
- (void)startUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to start looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

stopUpdating

+ + + +
+

Tells the connection to stop looking for devices of its type.

+
+ + +
- (void)stopUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to stop looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

store:

+ + + +
+

writes a value to a device.

+
+ + +
- (void)store:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

writes a value to a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v13.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v13.html new file mode 100644 index 0000000..125b2cd --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMBluetoothLowEnergyConnectionType_v13.html @@ -0,0 +1,866 @@ + + + + + EMBluetoothLowEnergyConnectionType_v13 Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromNSObject
Conforms toCBCentralManagerDelegate
CBPeripheralDelegate
EMConnectionType
Declared inEMBluetoothLowEnergyConnectionType_v13.h
EMBluetoothLowEnergyConnectionType_v13.m
+ + + + +
+ +

Overview

+

EMBluethoothLowEnergyConnectionType is a concrete EMConnectionType for Bluetooth Low Energy.

+ +

If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to EMConnectionListManager via the -addConnectionTypeToUpdates: method.

+
+ + + + + +
+ +

Tasks

+ + + +

Other Methods

+ + + + + +

Extension Methods

+ +
    +
  • + +   connected +

    A boolean indicating whether or not there is a connection with a device.

    +
    + property + +
  • +
+ +
+ + + + + +
+ +

Properties

+ +
+ +

connected

+ + + +
+

A boolean indicating whether or not there is a connection with a device.

+
+ + +
@property (nonatomic, getter=isConnected) BOOL connected
+ + + + + + + + +
+

Discussion

+

A boolean indicating whether or not there is a connection with a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + + + + +
+ +

Instance Methods

+ +
+ +

connectToDevice:connectionDelegate:

+ + + +
+

Establishes a connection with a device

+
+ + +
- (void)connectToDevice:(EMDeviceBasicDescription *)device connectionDelegate:(id<EMDeviceDelegate>)connDelegate
+ + + + + + + + +
+

Discussion

+

Establishes a connection with a device

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceType

+ + + +
+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + +
- (NSString *)deviceType
+ + + + + + + + +
+

Discussion

+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

disconnect

+ + + +
+

disconnects the current device.

+
+ + +
- (void)disconnect
+ + + + + + + + +
+

Discussion

+

disconnects the current device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetch:

+ + + +
+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + +
- (void)fetch:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetchSystemResource:

+ + + +
+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + +
- (void)fetchSystemResource:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

isAvailable

+ + + +
+

YES if available on the current device, NO if unavailable.

+
+ + +
- (BOOL)isAvailable
+ + + + + + + + +
+

Discussion

+

YES if available on the current device, NO if unavailable.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

startUpdating

+ + + +
+

Tells the connection to start looking for devices of its type.

+
+ + +
- (void)startUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to start looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

stopUpdating

+ + + +
+

Tells the connection to stop looking for devices of its type.

+
+ + +
- (void)stopUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to stop looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

store:

+ + + +
+

writes a value to a device.

+
+ + +
- (void)store:(EMResourceValue *)value
+ + + + + + + + +
+

Discussion

+

writes a value to a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnection.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnection.html new file mode 100644 index 0000000..2edb0eb --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnection.html @@ -0,0 +1,1105 @@ + + + + + EMConnection Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromNSObject
Conforms toEMDeviceDelegate
Declared inEMConnection.h
EMConnection.m
+ + + + +
+ +

Overview

+

The state of the current connection. Use KVO to receive updates on this property and react to changes.

+
+ + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + +
+ +

Properties

+ +
+ +

connectionAttemptTimeout

+ + + +
+

The timeout interval for a pending connection

+
+ + +
@property (atomic) NSTimeInterval connectionAttemptTimeout
+ + + + + + + + +
+

Discussion

+

The timeout interval for a pending connection

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

connectionClosedBlock

+ + + +
+

This block will be called when an open connection is closed for any reason

+
+ + +
@property (atomic, strong) EMResourceBlock connectionClosedBlock
+ + + + + + + + +
+

Discussion

+

This block will be called when an open connection is closed for any reason

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

connectionDelegate

+ + + +
+

The connection delegate. EMConnectionManager will post connect and disconnect delegate messages to this object if it is set.

+
+ + +
@property (nonatomic, unsafe_unretained) id<EMConnectionDelegate> connectionDelegate
+ + + + + + + + +
+

Discussion

+

The connection delegate. EMConnectionManager will post connect and disconnect delegate messages to this object if it is set.

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

device

+ + + +
+

The EMDeviceBasicDescription used for conenction

+
+ + +
@property (nonatomic, strong) EMDeviceBasicDescription *device
+ + + + + + + + +
+

Discussion

+

The EMDeviceBasicDescription used for conenction

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

schema

+ + + +
+

The schema for connection

+
+ + +
@property (nonatomic, strong) EMSchema *schema
+ + + + + + + + +
+

Discussion

+

The schema for connection

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ + + + + +
+ +

Instance Methods

+ +
+ +

cancelOpen

+ + + +
+

Cancels the attempt to open this EMTargetConnection, posting the open block with a failed status.

+
+ + +
- (void)cancelOpen
+ + + + + + + + +
+

Discussion

+

Cancels the attempt to open this EMTargetConnection, posting the open block with a failed status.

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

closeConnectionWithSuccess:onFail:

+ + + +
+

Closes the connection

+
+ + +
- (void)closeConnectionWithSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock
+ + +
+

Parameters

+ +
+
successBlock
+

A block to call on a successful disconnect

+
+ +
+
failBlock
+

A block to call on a failed disconnect

+
+ +
+ + + + + + + +
+

Discussion

+

Closes the connection

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

initWithDevice:

+ + + +
+

Creates a new EMConnection object. +Actual connection and disconnection to the named target occurs through calls to open and close on this object.

+
+ + +
- (id)initWithDevice:(EMDeviceBasicDescription *)device
+ + +
+

Parameters

+ +
+
device
+

The basic description of a device

+
+ +
+ + + + + + + +
+

Discussion

+

Creates a new EMConnection object. +Actual connection and disconnection to the named target occurs through calls to open and close on this object.

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

initWithDevice:schema:

+ + + +
+

Creates a new EMTargetConnection object. +Actual connection and disconnection to the named target occurs through calls to open and close on this object.

+
+ + +
- (id)initWithDevice:(EMDeviceBasicDescription *)device schema:(EMSchema *)resourceSchema
+ + +
+

Parameters

+ +
+
device
+

the name of the target device, including one of the pre-defined prefixes

+
+ +
+
resourceSchema
+

the schema describing the resources available in this connection

+
+ +
+ + + + + + + +
+

Discussion

+

Creates a new EMTargetConnection object. +Actual connection and disconnection to the named target occurs through calls to open and close on this object.

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

isConnected

+ + + +
+

Returns true if connected and false otherwise.

+
+ + +
- (BOOL)isConnected
+ + + + + + + + +
+

Discussion

+

Returns true if connected and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

openConnectionWithSuccess:onFail:

+ + + +
+

Opens a connection to the @device device property

+
+ + +
- (void)openConnectionWithSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock
+ + +
+

Parameters

+ +
+
successBlock
+

A block to call on a successful connect

+
+ +
+
failBlock
+

A block to call on a failed connect

+
+ +
+ + + + + + + +
+

Discussion

+

Opens a connection to the @device device property

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

readValueNamed:onSuccess:onFail:

+ + + +
+

Reads a value

+
+ + +
- (void)readValueNamed:(NSString *)resourceName onSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock
+ + +
+

Parameters

+ +
+
resourceName
+

The name of the resource to read

+
+ +
+
successBlock
+

A block to call on a successful read

+
+ +
+
failBlock
+

A block to call on a failed read

+
+ +
+ + + + + + + +
+

Discussion

+

Reads a value

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ +

writeResource:onSuccess:onFail:

+ + + +
+

Writes a resource to the device

+
+ + +
- (void)writeResource:(EMResourceValue *)resourceValue onSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock
+ + +
+

Parameters

+ +
+
resourceValue
+

The resource value

+
+ +
+
successBlock
+

A block to call on a successful write

+
+ +
+
failBlock
+

A block to call on a failed write

+
+ +
+ + + + + + + +
+

Discussion

+

Writes a resource to the device

+
+ + + + + + + +
+

Declared In

+ EMConnection.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnectionListManager.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnectionListManager.html new file mode 100644 index 0000000..9351c68 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnectionListManager.html @@ -0,0 +1,1200 @@ + + + + + EMConnectionListManager Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromNSObject
Conforms toEMConnectionTypeScannerDelegate
Declared inEMConnectionListManager.h
EMConnectionListManager.m
+ + + + +
+ +

Overview

+

EMConnectionListManager is a singleton class used for viewing a list of devices available for interaction.

+
+ + + + + +
+ +

Tasks

+ + + +

Other Methods

+ +
    +
  • + +   devices +

    @property devices +A list of devices that has been discovered as available by the connection list manager

    +
    + property + +
  • + +   filterPredicate +

    @property filterPredicate +A filter that allows only devices conforming to the predicate to be visible

    +
    + property + +
  • + +   updating +

    @property updating +A boolean value indicating whether or not the connection list manager is actively updating the devices list

    +
    + property + +
  • + +   updateRate +

    @property updateRate +updateRate determines the scan frequency for discovering devices

    +
    + property + +
  • + +   automaticallyConnectsToLastDevice +

    @param automaticallyConnectsToLastDevice +A boolean value indicating whether or not the connection list manager should automatically connect to the last device it was connected to if it encounters it in a scan.

    +
    + property + +
  • + + + sharedManager +

    Use the +sharedManager to get the singleton, shared instance of EMConnectionListManager

    +
    + + +
  • + + – deviceBasicDescriptionForDeviceNamed: +

    Retrieve a device description for a given unique identifier

    +
    + + +
  • + + – startUpdating +

    Tells the connection list manager to begin actively looking for devices to interact with.

    +
    + + +
  • + + – stopUpdating +

    Tells the connection list manager to stop looking for devices to interact with.

    +
    + + +
  • + + – reset +

    Manually clears out all devices on the connection list manager.

    +
    + + +
  • + + – isBluetoothAvailable +

    Detect if Bluetooth is available

    +
    + + +
  • + + – addConnectionTypeToUpdates: +

    Add your own connection type outside of bluetooth low energy

    +
    + + +
  • + + – removeConnectionToFromUpdates: +

    Remove your own connection type outside of bluetooth low energy

    +
    + + +
  • +
+ + + +

Other Methods

+ + + +
+ + + + + +
+ +

Properties

+ +
+ +

automaticallyConnectsToLastDevice

+ + + +
+

@param automaticallyConnectsToLastDevice +A boolean value indicating whether or not the connection list manager should automatically connect to the last device it was connected to if it encounters it in a scan.

+
+ + +
@property (nonatomic) BOOL automaticallyConnectsToLastDevice
+ + + + + + + + +
+

Discussion

+

@param automaticallyConnectsToLastDevice +A boolean value indicating whether or not the connection list manager should automatically connect to the last device it was connected to if it encounters it in a scan.

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

devices

+ + + +
+

@property devices +A list of devices that has been discovered as available by the connection list manager

+
+ + +
@property (nonatomic, strong, readonly) NSArray *devices
+ + + + + + + + +
+

Discussion

+

@property devices +A list of devices that has been discovered as available by the connection list manager

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

filterPredicate

+ + + +
+

@property filterPredicate +A filter that allows only devices conforming to the predicate to be visible

+
+ + +
@property (nonatomic, strong) NSPredicate *filterPredicate
+ + + + + + + + +
+

Discussion

+

@property filterPredicate +A filter that allows only devices conforming to the predicate to be visible

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

updateRate

+ + + +
+

@property updateRate +updateRate determines the scan frequency for discovering devices

+
+ + +
@property (nonatomic) NSTimeInterval updateRate
+ + + + + + + + +
+

Discussion

+

@property updateRate +updateRate determines the scan frequency for discovering devices

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

updating

+ + + +
+

@property updating +A boolean value indicating whether or not the connection list manager is actively updating the devices list

+
+ + +
@property (nonatomic, getter=isUpdating, readonly) BOOL updating
+ + + + + + + + +
+

Discussion

+

@property updating +A boolean value indicating whether or not the connection list manager is actively updating the devices list

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ + + +
+ +

Class Methods

+ +
+ +

sharedManager

+ + + +
+

Use the +sharedManager to get the singleton, shared instance of EMConnectionListManager

+
+ + +
+ (EMConnectionListManager *)sharedManager
+ + + + + + + + +
+

Discussion

+

Use the +sharedManager to get the singleton, shared instance of EMConnectionListManager

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ + + +
+ +

Instance Methods

+ +
+ +

addConnectionTypeToUpdates:

+ + + +
+

Add your own connection type outside of bluetooth low energy

+
+ + +
- (void)addConnectionTypeToUpdates:(id<EMConnectionType>)connectionType
+ + + + + + + + +
+

Discussion

+

Add your own connection type outside of bluetooth low energy

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

deviceBasicDescriptionForDeviceNamed:

+ + + +
+

Retrieve a device description for a given unique identifier

+
+ + +
- (EMDeviceBasicDescription *)deviceBasicDescriptionForDeviceNamed:(NSString *)name
+ + +
+

Parameters

+ +
+
name
+

The name of the device

+
+ +
+ + + + + + + +
+

Discussion

+

Retrieve a device description for a given unique identifier

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

deviceScanner:didFindDevice:

+ + + +
+

Tells the delegate a device was found.

+
+ + +
- (void)deviceScanner:(id<EMConnectionType>)scanner didFindDevice:(EMDeviceBasicDescription *)device
+ + + + + + + + +
+

Discussion

+

Tells the delegate a device was found.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceScanner:didLoseDevice:

+ + + +
+

Tells the delegate a device was lost.

+
+ + +
- (void)deviceScanner:(id)scanner didLoseDevice:(EMDeviceBasicDescription *)device
+ + + + + + + + +
+

Discussion

+

Tells the delegate a device was lost.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceScanner:didUpdateDevice:

+ + + +
+

Updates the data for a device description

+
+ + +
- (void)deviceScanner:(id)scanner didUpdateDevice:(EMDeviceBasicDescription *)device
+ + + + + + + + +
+

Discussion

+

Updates the data for a device description

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

isBluetoothAvailable

+ + + +
+

Detect if Bluetooth is available

+
+ + +
- (BOOL)isBluetoothAvailable
+ + + + + + + + +
+

Discussion

+

Detect if Bluetooth is available

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

removeConnectionToFromUpdates:

+ + + +
+

Remove your own connection type outside of bluetooth low energy

+
+ + +
- (void)removeConnectionToFromUpdates:(id<EMConnectionType>)connectionType
+ + + + + + + + +
+

Discussion

+

Remove your own connection type outside of bluetooth low energy

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

reset

+ + + +
+

Manually clears out all devices on the connection list manager.

+
+ + +
- (void)reset
+ + + + + + + + +
+

Discussion

+

Manually clears out all devices on the connection list manager.

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

startUpdating

+ + + +
+

Tells the connection list manager to begin actively looking for devices to interact with.

+
+ + +
- (void)startUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection list manager to begin actively looking for devices to interact with.

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ +

stopUpdating

+ + + +
+

Tells the connection list manager to stop looking for devices to interact with.

+
+ + +
- (void)stopUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection list manager to stop looking for devices to interact with.

+
+ + + + + + + +
+

Declared In

+ EMConnectionListManager.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnectionManager.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnectionManager.html new file mode 100644 index 0000000..7d585ad --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMConnectionManager.html @@ -0,0 +1,1333 @@ + + + + + EMConnectionManager Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromNSObject
Conforms toEMConnectionDelegate
Declared inEMConnectionManager.h
EMConnectionManager.m
+ + + + +
+ +

Overview

+

EMConnectionManager is a singleton class for managing a connection with a physical or mock device.

+
+ + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + +
+ +

Properties

+ +
+ +

backgroundUpdatesEnabled

+ + + +
+

@property backgroundUpdatesEnabled +@description If you set this flag to “YES”, the connection manager has the ability to persist while running in the background. By default, the connection manager severs connections when entering the background.

+
+ + +
@property (nonatomic) BOOL backgroundUpdatesEnabled
+ + + + + + + + +
+

Discussion

+

@property backgroundUpdatesEnabled +@description If you set this flag to “YES”, the connection manager has the ability to persist while running in the background. By default, the connection manager severs connections when entering the background.

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ + + +
+ +

Class Methods

+ +
+ +

sharedManager

+ + + +
+

Use the +sharedManager class method to access the application-wide singleton instance of EMConnectionManager. +Note: Accessing the connection manager in any way other is not recommended.

+
+ + +
+ (EMConnectionManager *)sharedManager
+ + + + + + + + +
+

Discussion

+

Use the +sharedManager class method to access the application-wide singleton instance of EMConnectionManager. +Note: Accessing the connection manager in any way other is not recommended.

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ + + +
+ +

Instance Methods

+ +
+ +

addSchemaSearchForFilesInDirectory:

+ + + +
+

Tells the connection manager where it should look for schemas other than the NSBundle’s mainBundle

+
+ + +
- (void)addSchemaSearchForFilesInDirectory:(NSString *)path
+ + +
+

Parameters

+ +
+
path
+

The path for the directory in which to search

+
+ +
+ + + + + + + +
+

Discussion

+

Tells the connection manager where it should look for schemas other than the NSBundle’s mainBundle

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

connectDevice:onSuccess:onFail:

+ + + +
+

Tells the connection manager to connect to a specific device.

+
+ + +
- (void)connectDevice:(EMDeviceBasicDescription *)device onSuccess:(void ( ^ ) ( void ))successBlock onFail:(void ( ^ ) ( NSError *error ))failBlock
+ + +
+

Parameters

+ +
+
device
+

An instance of EMDeviceBasicDescription the connection manager should connect to

+
+ +
+
successBlock
+

The block to run after a successful connection

+
+ +
+
failBlock
+

The block to run if the connectino fails +@description The implementation of this method calls connectDevice:timeoutInterval:onSuccess:onFail: with a default time interval of 10 seconds

+
+ +
+ + + + + + + +
+

Discussion

+

Tells the connection manager to connect to a specific device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

connectDevice:timeoutInterval:onSuccess:onFail:

+ + + +
+

Tells the connection manager to connect to a specific device.

+
+ + +
- (void)connectDevice:(EMDeviceBasicDescription *)device timeoutInterval:(NSTimeInterval)timeout onSuccess:(void ( ^ ) ( void ))successBlock onFail:(void ( ^ ) ( NSError *error ))failBlock
+ + +
+

Parameters

+ +
+
device
+

An instance of EMDeviceBasicDescription the connection manager should connect to

+
+ +
+
timeout
+

The time the connection manager should allow for a successful connection. After the specified time interval passes, the fail block will be called.

+
+ +
+
successBlock
+

The block to run after a successful connection

+
+ +
+
failBlock
+

The block to run if the connection fails +@description The implementation of this method calls connectDevice:timeoutInterval:onSuccess:onFail: with a default time interval of 10 seconds

+
+ +
+ + + + + + + +
+

Discussion

+

Tells the connection manager to connect to a specific device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

connectedDevice

+ + + +
+

Returns an array of EMDeviceBasicDescription’s for the device that is actively connected

+
+ + +
- (EMDeviceBasicDescription *)connectedDevice
+ + + + + + + + +
+

Discussion

+

Returns an array of EMDeviceBasicDescription’s for the device that is actively connected

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

disconnectWithSuccess:onFail:

+ + + +
+

Tells the connection manager to disconnect from a specific device

+
+ + +
- (void)disconnectWithSuccess:(void ( ^ ) ( void ))successBlock onFail:(void ( ^ ) ( NSError *error ))failBlock
+ + +
+

Parameters

+ +
+
successBlock
+

The block to run after a successful disconnection

+
+ +
+
failBlock
+

The block to run if the disconnection fails.

+
+ +
+ + + + + + + +
+

Discussion

+

Tells the connection manager to disconnect from a specific device

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

embeddedSystemProtocolLevel

+ + + +
+

Gets the embedded system protocol level from the schema used to connect to the device +@description This call does not send a message down to the board - the protocol level is pulled directly from the schema that was used to connect to the device.

+
+ + +
- (NSNumber *)embeddedSystemProtocolLevel
+ + + + + + + + +
+

Discussion

+

Gets the embedded system protocol level from the schema used to connect to the device +@description This call does not send a message down to the board - the protocol level is pulled directly from the schema that was used to connect to the device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

forceConnectionWithDefaultSchema:

+ + + +
+

Forces the connection manager to connect to a device with the default schema

+
+ + +
- (void)forceConnectionWithDefaultSchema:(EMDeviceBasicDescription *)device
+ + +
+

Parameters

+ +
+
device
+

The device for the forced connection +@description Use this method with extreme caution. Many undefined behaviors can come from using this method with a schema that isn’t an exact match for the specified device. EMConnectionManager uses this method internally. It is very rare that you will need to call this method directly.

+
+ +
+ + + + + + + +
+

Discussion

+

Forces the connection manager to connect to a device with the default schema

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

readResource:onSuccess:onFail:

+ + + +
+

Reads a resource from a connected device

+
+ + +
- (void)readResource:(NSString *)resourceName onSuccess:(void ( ^ ) ( id readValue ))successBlock onFail:(void ( ^ ) ( NSError *error ))failBlock
+ + +
+

Parameters

+ +
+
resourceName
+

The name of the resource to read. This is the name of the resource in the device’s schema.

+
+ +
+
successBlock
+

The block to call when a read occurs successfully. Connection manager will call this block with the value read.

+
+ +
+
failBlock
+

The block to call when a read fails.

+
+ +
+ + + + + + + +
+

Discussion

+

Reads a resource from a connected device

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

removeSchemaSearchForFilesInDirectory:

+ + + +
+

Tells the connection manager to no longer look in the specified path for schemas

+
+ + +
- (void)removeSchemaSearchForFilesInDirectory:(NSString *)path
+ + +
+

Parameters

+ +
+
path
+

The path to no longer search +@description Note: This method will never ignore the current bundle’s mainBundle

+
+ +
+ + + + + + + +
+

Discussion

+

Tells the connection manager to no longer look in the specified path for schemas

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

schemaFileNameForHashString:

+ + + +
+

Gives the schema name in the application bundle for a given hash string

+
+ + +
- (NSString *)schemaFileNameForHashString:(NSString *)hashString
+ + +
+

Parameters

+ +
+
hashString
+

A full or partial schema hash string +@description This method takes either a full hash or partial hash. If any schema begins with ‘hash string’, the file name in the bundle is returned. Returns nil if no matching schema was found in the bundle. +If one or more schemas share ‘hashString’ at the beginning of their hash, the first path will be returned.

+
+ +
+ + + + + + + +
+

Discussion

+

Gives the schema name in the application bundle for a given hash string

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

schemaForConnectedDevice

+ + + +
+

Gets the schema for the connected device. +@description Returns nil if no device is connected.

+
+ + +
- (EMSchema *)schemaForConnectedDevice
+ + + + + + + + +
+

Discussion

+

Gets the schema for the connected device. +@description Returns nil if no device is connected.

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

schemaHashForConnectedDevice

+ + + +
+

Returns a version of the the schema hash from a connected device’s firmware as it appears on em-hub

+
+ + +
- (NSString *)schemaHashForConnectedDevice
+ + + + + + + + +
+

Discussion

+

Returns a version of the the schema hash from a connected device’s firmware as it appears on em-hub

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

updateInternalSchemaCache

+ + + +
+

Tells EMConnectionManager to update its internal cache of schemas used for connection. +@description EMConnectionManager uses this method internally. It is very rare taht you will need to call this method directly.

+
+ + +
- (void)updateInternalSchemaCache
+ + + + + + + + +
+

Discussion

+

Tells EMConnectionManager to update its internal cache of schemas used for connection. +@description EMConnectionManager uses this method internally. It is very rare taht you will need to call this method directly.

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ +

writeValue:toResource:onSuccess:onFail:

+ + + +
+

Writes a value to a resource on a connected device

+
+ + +
- (void)writeValue:(id)resourceValue toResource:(NSString *)resource onSuccess:(void ( ^ ) ( void ))successBlock onFail:(void ( ^ ) ( NSError *error ))failBlock
+ + +
+

Parameters

+ +
+
resourceValue
+

The value to write to the resource. This should be an instance of NSString, NSData, NSArray, NSNumber, or NSDictionary

+
+ +
+
resource
+

The name of the resource for writing. This is the name of the resource in the schema.

+
+ +
+
successBlock
+

The block to call when the write occurs successfully.

+
+ +
+
failBlock
+

The block to call when the write fails.

+
+ +
+ + + + + + + +
+

Discussion

+

Writes a value to a resource on a connected device

+
+ + + + + + + +
+

Declared In

+ EMConnectionManager.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMDeviceBasicDescription.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMDeviceBasicDescription.html new file mode 100644 index 0000000..ae519b0 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMDeviceBasicDescription.html @@ -0,0 +1,753 @@ + + + + + EMDeviceBasicDescription Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + +
Inherits fromNSObject
Declared inEMDeviceBasicDescription.h
EMDeviceBasicDescription.m
+ + + + +
+ +

Overview

+

EMDeviceBasicDescription is a class used to describe basic device characteristics throughout the entire framework. +All devices, regardless of connection type, will have these properties.

+ +

All classes implementing the EMConnectionType protocol will receive and deliver device information in the form of an EMDeviceBasicDescription.

+
+ + + + + +
+ +

Tasks

+ + + + + +
    +
  • + +   name +

    The name of the device used thoughout the framework. +Like the unique_identifier, this property needs to be unique.

    +
    + property + +
  • + +   connectionType +

    A concrete EMConnectionType instance that will be used to send messages to the device.

    +
    + property + +
  • + +   signalStrength +

    A value between -100 and 0 used to describe signal strength.

    +
    + property + +
  • + +   signalStrengthFilter +

    The signal strength filter for smoothing

    +
    + property + +
  • + +   advertiseData +

    Data that was discovered along with the device. +Ex: When dealing with bluetooth, this is the advertising packet data

    +
    + property + +
  • + +   advertiseObject +

    An object taken from the advertise data based on the advertise resource in the device’s schema +Possible classes: NSString, NSNumber, NSDictionary, NSArray, NSData

    +
    + property + +
  • + +   shortSchemaHash +

    The first six characters of the device’s schema

    +
    + property + +
  • + +   schemaFilePath +

    The name of the schema file in your bundle that relates to this device. +NOTE: Many devices do not broadcast this information. In this case, this property will not be set

    +
    + property + +
  • +
+ +
+ + + + + +
+ +

Properties

+ +
+ +

advertiseData

+ + + +
+

Data that was discovered along with the device. +Ex: When dealing with bluetooth, this is the advertising packet data

+
+ + +
@property (nonatomic, strong) NSData *advertiseData
+ + + + + + + + +
+

Discussion

+

Data that was discovered along with the device. +Ex: When dealing with bluetooth, this is the advertising packet data

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ +

advertiseObject

+ + + +
+

An object taken from the advertise data based on the advertise resource in the device’s schema +Possible classes: NSString, NSNumber, NSDictionary, NSArray, NSData

+
+ + +
@property (nonatomic, strong) id advertiseObject
+ + + + + + + + +
+

Discussion

+

An object taken from the advertise data based on the advertise resource in the device’s schema +Possible classes: NSString, NSNumber, NSDictionary, NSArray, NSData

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ +

connectionType

+ + + +
+

A concrete EMConnectionType instance that will be used to send messages to the device.

+
+ + +
@property (nonatomic, strong) id<EMConnectionType> connectionType
+ + + + + + + + +
+

Discussion

+

A concrete EMConnectionType instance that will be used to send messages to the device.

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ +

name

+ + + +
+

The name of the device used thoughout the framework. +Like the unique_identifier, this property needs to be unique.

+
+ + +
@property (nonatomic, strong) NSString *name
+ + + + + + + + +
+

Discussion

+

The name of the device used thoughout the framework. +Like the unique_identifier, this property needs to be unique.

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ +

schemaFilePath

+ + + +
+

The name of the schema file in your bundle that relates to this device. +NOTE: Many devices do not broadcast this information. In this case, this property will not be set

+
+ + +
@property (nonatomic, strong) NSString *schemaFilePath
+ + + + + + + + +
+

Discussion

+

The name of the schema file in your bundle that relates to this device. +NOTE: Many devices do not broadcast this information. In this case, this property will not be set

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ +

shortSchemaHash

+ + + +
+

The first six characters of the device’s schema

+
+ + +
@property (nonatomic, strong) NSString *shortSchemaHash
+ + + + + + + + +
+

Discussion

+

The first six characters of the device’s schema

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ +

signalStrength

+ + + +
+

A value between -100 and 0 used to describe signal strength.

+
+ + +
@property (nonatomic) float signalStrength
+ + + + + + + + +
+

Discussion

+

A value between -100 and 0 used to describe signal strength.

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ +

signalStrengthFilter

+ + + +
+

The signal strength filter for smoothing

+
+ + +
@property (nonatomic, strong) id<EMSignalStrengthFilter> signalStrengthFilter
+ + + + + + + + +
+

Discussion

+

The signal strength filter for smoothing

+
+ + + + + + + +
+

Declared In

+ EMDeviceBasicDescription.h
+
+ + +
+ +
+ + + + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMResourceValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMResourceValue.html new file mode 100644 index 0000000..48bf736 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMResourceValue.html @@ -0,0 +1,1963 @@ + + + + + EMResourceValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromNSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.h
EMResourceValue.m
+ + + + +
+ +

Overview

+

A container for different types of resource values. +Instances of this class are used to hold values for resources whose types is +either Void, Int, Enum, Num, String, Struct, Array, or File.

+ +

See also:

+ + + + +

Written by Bob Frankel and Carolyn Vaughan

+
+ + + + + +
+ +

Tasks

+ + + +

Other Methods

+ + + + + +

Other Methods

+ + + +
+ + + + + +
+ +

Properties

+ +
+ +

name

+ + + +
+

The name of the resource.

+
+ + +
@property (readonly) NSString *name
+ + + + + + + + +
+

Discussion

+

The name of the resource.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

resourceSchema

+ + + +
+

The resource schema associated with the resource.

+
+ + +
@property (readonly) EMSchema *resourceSchema
+ + + + + + + + +
+

Discussion

+

The resource schema associated with the resource.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

type

+ + + +
+

The type of the resource.

+
+ + +
@property (readonly) NSString *type
+ + + + + + + + +
+

Discussion

+

The type of the resource.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + + +
+ +

Class Methods

+ +
+ +

resourceWithName:ofType:fromSchema:

+ + + +
+

Create a EMResourceValue. This method is used internally by the framework.

+
+ + +
+ (EMResourceValue *)resourceWithName:(NSString *)name ofType:(NSString *)type fromSchema:(EMSchema *)resourceSchema
+ + +
+

Parameters

+ +
+
name
+

the name given to the newly-created value

+
+ +
+
type
+

the type of the newly-created value

+
+ +
+
resourceSchema
+

an EMSchema instance

+
+ +
+ + + +
+

Return Value

+

a new EMResourceValue instance

+
+ + + + + +
+

Discussion

+

Create a EMResourceValue. This method is used internally by the framework.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isArray

+ + + +
+

Returns true if the type of this value is an Array, and false otherwise.

+
+ + +
- (BOOL)isArray
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is an Array, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isEnum

+ + + +
+

Returns true if the type of this value is an Enum, and false otherwise.

+
+ + +
- (BOOL)isEnum
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is an Enum, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isFile

+ + + +
+

Returns true if the type of this value is a File, and false otherwise.

+
+ + +
- (BOOL)isFile
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is a File, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isInt

+ + + +
+

Returns true if the type of this value is an Int, and false otherwise.

+
+ + +
- (BOOL)isInt
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is an Int, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isNum

+ + + +
+

Returns true if the type of this value is a Num, and false otherwise.

+
+ + +
- (BOOL)isNum
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is a Num, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isScalar

+ + + +
+

Returns true if the type of this value is scalar (Num, Enum, Int, String), and false otherwise.

+
+ + +
- (BOOL)isScalar
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is scalar (Num, Enum, Int, String), and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isString

+ + + +
+

Returns true if the type of this value is a String, and false otherwise.

+
+ + +
- (BOOL)isString
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is a String, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isStruct

+ + + +
+

Return true if the type of this value is a Struct, and false otherwise.

+
+ + +
- (BOOL)isStruct
+ + + + + + + + +
+

Discussion

+

Return true if the type of this value is a Struct, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isVoid

+ + + +
+

Return true if the type of this value is a Void, and false otherwise.

+
+ + +
- (BOOL)isVoid
+ + + + + + + + +
+

Discussion

+

Return true if the type of this value is a Void, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMSchema.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMSchema.html new file mode 100644 index 0000000..f6f0914 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMSchema.html @@ -0,0 +1,2251 @@ + + + + + EMSchema Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + +
Inherits fromNSObject
Declared inEMSchema.h
EMSchema.m
+ + + + +
+ +

Overview

+

A set of meta-data describing a set of resources. +Written by Bob Frankel and Carolyn Vaughan

+
+ + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + +
+ +

Class Methods

+ +
+ +

schemaFromFile:

+ + + +
+

Creates a EMResourceSchema instance from the contents of a file.

+
+ + +
+ (EMSchema *)schemaFromFile:(NSString *)fileName
+ + +
+

Parameters

+ +
+
fileName
+

a file containing JSON content

+
+ +
+ + + +
+

Return Value

+

a newly created EMResourceSchema instance

+
+ + + + + +
+

Discussion

+

Creates a EMResourceSchema instance from the contents of a file.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ + + +
+ +

Instance Methods

+ +
+ +

UUID

+ + + +
+

Returns the UUID associated with this schema.

+
+ + +
- (NSString *)UUID
+ + + + + + + + +
+

Discussion

+

Returns the UUID associated with this schema.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

accessForResource:

+ + + +
+

Get the read/write/indicator access capabilities of a named resource

+
+ + +
- (EMResourceAccessType)accessForResource:(NSString *)resourceName
+ + +
+

Parameters

+ +
+
resourceName
+

a valid resource name in this schema

+
+ +
+ + + +
+

Return Value

+

an NSString containing the characters ‘r’, ‘w’, and ‘i’ as appropriate

+
+ + + + + +
+

Discussion

+

Get the read/write/indicator access capabilities of a named resource

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the resource name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

alignmentForStandardType:

+ + + +
+

Get the alignment of a standard scalar type

+
+ + +
- (int)alignmentForStandardType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a scalar type code

+
+ +
+ + + +
+

Return Value

+

the alignment in bytes of this standard type

+
+ + + + + +
+

Discussion

+

Get the alignment of a standard scalar type

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the type code is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

applicationResources

+ + + +
+

Returns a sorted NSArray containing all application resource names in this schema

+
+ + +
- (NSArray *)applicationResources
+ + + + + + + + +
+

Discussion

+

Returns a sorted NSArray containing all application resource names in this schema

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

broadcastResourceName

+ + + +
+

Returns the name of the resource that is being broadcast in the advertising packets. Returns nil if none.

+
+ + +
- (NSString *)broadcastResourceName
+ + + + + + + + +
+

Discussion

+

Returns the name of the resource that is being broadcast in the advertising packets. Returns nil if none.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

buildDate

+ + + +
+

Returns the build number associated with this schema as an array of numbers.

+
+ + +
- (NSArray *)buildDate
+ + + + + + + + +
+

Discussion

+

Returns the build number associated with this schema as an array of numbers.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

byteAlignmentForResource:

+ + + +
+

Get the alignment of a named resource

+
+ + +
- (int)byteAlignmentForResource:(NSString *)resourceName
+ + +
+

Parameters

+ +
+
resourceName
+

a named resource in this schema

+
+ +
+ + + +
+

Return Value

+

the alignment in bytes of this resource

+
+ + + + + +
+

Discussion

+

Get the alignment of a named resource

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the resource name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

enumValuesForType:

+ + + +
+

Get the values associated with an enum type.

+
+ + +
- (NSDictionary *)enumValuesForType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a valid enum type name in this schema

+
+ +
+ + + +
+

Return Value

+

a NSDictionary containing enum value names and their corresponding ordinal

+
+ + + + + +
+

Discussion

+

Get the values associated with an enum type.

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the enum type name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

fieldNamesForType:

+ + + +
+

Get the names of the fields associated with a struct type.

+
+ + +
- (NSArray *)fieldNamesForType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a valid struct type name in this schema

+
+ +
+ + + +
+

Return Value

+

a NSArray containing field names

+
+ + + + + +
+

Discussion

+

Get the names of the fields associated with a struct type.

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the struct type name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

fieldsForType:

+ + + +
+

Get the fields associated with a struct type.

+
+ + +
- (NSDictionary *)fieldsForType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a valid struct type name in this schema

+
+ +
+ + + +
+

Return Value

+

a NSDictionary containing field names and their corresponding type code

+
+ + + + + +
+

Discussion

+

Get the fields associated with a struct type.

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the struct type name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

idForResource:

+ + + +
+

Get the unique id associated with a named resource

+
+ + +
- (int)idForResource:(NSString *)resourceName
+ + +
+

Parameters

+ +
+
resourceName
+

a named resource in this schema

+
+ +
+ + + +
+

Return Value

+

the corresponding resource id

+
+ + + + + +
+

Discussion

+

Get the unique id associated with a named resource

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the resource name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

maxResourceSize

+ + + +
+

Returns the maximum size in bytes amongst all resource types in this schema.

+
+ + +
- (int)maxResourceSize
+ + + + + + + + +
+

Discussion

+

Returns the maximum size in bytes amongst all resource types in this schema.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

name

+ + + +
+

Returns the fully-qualified name of this schema.

+
+ + +
- (NSString *)name
+ + + + + + + + +
+

Discussion

+

Returns the fully-qualified name of this schema.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

nameForResourceWithID:

+ + + +
+

Get the resource name associated with this resource id

+
+ + +
- (NSString *)nameForResourceWithID:(NSInteger)resourceId
+ + +
+

Parameters

+ +
+
resourceId
+

a resource id

+
+ +
+ + + +
+

Return Value

+

the corresponding resource name

+
+ + + + + +
+

Discussion

+

Get the resource name associated with this resource id

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the resource id is invalid

+
+ +
+ + + +
+

See Also

+ +
+ + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

newResourceValueForResourceNamed:

+ + + +
+

Create a new ResourceValue instance for a named resource.

+
+ + +
- (EMResourceValue *)newResourceValueForResourceNamed:(NSString *)resourceName
+ + +
+

Parameters

+ +
+
resourceName
+

a named resource in this schema

+
+ +
+ + + +
+

Return Value

+

a newly created EMResourceValue to a value for this resource

+
+ + + + + +
+

Discussion

+

Create a new ResourceValue instance for a named resource.

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the resource name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

numberParametersForType:

+ + + +
+

Get the parameters associated with a number type.

+
+ + +
- (NSArray *)numberParametersForType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a valid number type name in this schema

+
+ +
+ + + +
+

Return Value

+

a four-element NSArray holding the min, max, step, and prec parameters of this type

+
+ + + + + +
+

Discussion

+

Get the parameters associated with a number type.

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the number type name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

numericRepresentationForType:

+ + + +
+

Get the representation type associated with a number type.

+
+ + +
- (NSString *)numericRepresentationForType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a valid number type name in this schema

+
+ +
+ + + +
+

Return Value

+

an integral representation type

+
+ + + + + +
+

Discussion

+

Get the representation type associated with a number type.

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the number type name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

numericalUUID

+ + + +
+

Returns the UUID associated with this schema as an array of numbers.

+
+ + +
- (NSArray *)numericalUUID
+ + + + + + + + +
+

Discussion

+

Returns the UUID associated with this schema as an array of numbers.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

owner

+ + + +
+

Returns the owner of the schema definition this schema was created from.

+
+ + +
- (NSString *)owner
+ + + + + + + + +
+

Discussion

+

Returns the owner of the schema definition this schema was created from.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

protocolLevel

+ + + +
+

Returns the protocol level of this schema

+
+ + +
- (int)protocolLevel
+ + + + + + + + +
+

Discussion

+

Returns the protocol level of this schema

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

resources

+ + + +
+

Returns an NSDictionary containing all resource names in this schema and their corresponding type code.

+
+ + +
- (NSDictionary *)resources
+ + + + + + + + +
+

Discussion

+

Returns an NSDictionary containing all resource names in this schema and their corresponding type code.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

schemaDescription

+ + + +
+

Returns the description associated with this schema.

+
+ + +
- (NSString *)schemaDescription
+ + + + + + + + +
+

Discussion

+

Returns the description associated with this schema.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

schemaHash

+ + + +
+

Returns the schema hash associated with this schema as an array of numbers.

+
+ + +
- (NSArray *)schemaHash
+ + + + + + + + +
+

Discussion

+

Returns the schema hash associated with this schema as an array of numbers.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

sizeForResourceNamed:

+ + + +
+

Get the size of a named resource

+
+ + +
- (int)sizeForResourceNamed:(NSString *)resourceName
+ + +
+

Parameters

+ +
+
resourceName
+

a named resource in this schema

+
+ +
+ + + +
+

Return Value

+

the size in bytes of this resource

+
+ + + + + +
+

Discussion

+

Get the size of a named resource

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the resource name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

sizeForStandardType:

+ + + +
+

Get the size of a standard scalar type

+
+ + +
- (int)sizeForStandardType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a scalar type code

+
+ +
+ + + +
+

Return Value

+

the size in bytes of this standard type

+
+ + + + + +
+

Discussion

+

Get the size of a standard scalar type

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the type code is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

stringLengthForType:

+ + + +
+

Get the length of this string type.

+
+ + +
- (int)stringLengthForType:(NSString *)type
+ + +
+

Parameters

+ +
+
type
+

a valid string type name in this schema

+
+ +
+ + + +
+

Return Value

+

the length of this string type

+
+ + + + + +
+

Discussion

+

Get the length of this string type.

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the string type name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

systemResources

+ + + +
+

Returns a sorted NSArray containing all system resource names in this schema

+
+ + +
- (NSArray *)systemResources
+ + + + + + + + +
+

Discussion

+

Returns a sorted NSArray containing all system resource names in this schema

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

typeOfResourceNamed:

+ + + +
+

Get the type of a named resource

+
+ + +
- (NSString *)typeOfResourceNamed:(NSString *)resourceName
+ + +
+

Parameters

+ +
+
resourceName
+

the name of a resource in this schema

+
+ +
+ + + +
+

Return Value

+

the type code associated with this resource

+
+ + + + + +
+

Discussion

+

Get the type of a named resource

+
+ + + +
+

Exceptions

+ +
+
UsageError
+

the resource name is invalid

+
+ +
+ + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ +

version

+ + + +
+

Returns the version of the schema definition this schema was created from.

+
+ + +
- (NSString *)version
+ + + + + + + + +
+

Discussion

+

Returns the version of the schema definition this schema was created from.

+
+ + + + + + + +
+

Declared In

+ EMSchema.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMUIKit.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMUIKit.html new file mode 100644 index 0000000..cf63910 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EMUIKit.html @@ -0,0 +1,299 @@ + + + + + EMUIKit Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + +
Inherits fromNSObject
Declared inEMUIKit.h
+ + + + + + + + + + + + + + + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EnumValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EnumValue.html new file mode 100644 index 0000000..d89f813 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/EnumValue.html @@ -0,0 +1,1231 @@ + + + + + EnumValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/FileValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/FileValue.html new file mode 100644 index 0000000..9867a75 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/FileValue.html @@ -0,0 +1,1231 @@ + + + + + FileValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)filePath
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/IntValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/IntValue.html new file mode 100644 index 0000000..f14140b --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/IntValue.html @@ -0,0 +1,1231 @@ + + + + + IntValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)dataSize fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/NumberValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/NumberValue.html new file mode 100644 index 0000000..d0bdc5a --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/NumberValue.html @@ -0,0 +1,1231 @@ + + + + + NumberValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)dataSize fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/StringValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/StringValue.html new file mode 100644 index 0000000..3325a2b --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/StringValue.html @@ -0,0 +1,1231 @@ + + + + + StringValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)newValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/StructValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/StructValue.html new file mode 100644 index 0000000..c1f0feb --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/StructValue.html @@ -0,0 +1,1231 @@ + + + + + StructValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/VoidValue.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/VoidValue.html new file mode 100644 index 0000000..6abbc7c --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Classes/VoidValue.html @@ -0,0 +1,1231 @@ + + + + + VoidValue Class Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + + + + +
Inherits fromEMResourceValue : NSObject
Conforms toEMResourceValueProtocol
Declared inEMResourceValue.m
+ + + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionDelegate.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionDelegate.html new file mode 100644 index 0000000..717e7ce --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionDelegate.html @@ -0,0 +1,305 @@ + + + + + EMConnectionDelegate Protocol Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + +
Conforms toNSObject
Declared inEMConnection.h
+ + + + +
+ +

Overview

+

@file

+
+ + + + + + + + + + + + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionType.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionType.html new file mode 100644 index 0000000..86b4b8d --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionType.html @@ -0,0 +1,1151 @@ + + + + + EMConnectionType Protocol Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + +
Conforms toNSObject
Declared inEMConnectionType.h
+ + + + +
+ +

Overview

+

Abstracts a given protocol for connecting to devices.

+
+ + + + + +
+ +

Tasks

+ + + + + +
    +
  • + +   scanDelegate +

    The delegate for scanning

    +
    + property + required method +
  • + +   connectionDelegate +

    The delegate for connection communication

    +
    + property + required method +
  • + +   schema +

    The schema for connection

    +
    + property + required method +
  • + +   lastReadValue +

    The last read resource value from the device

    +
    + property + required method +
  • + +   connected +

    A boolean indicating whether or not there is a connection with a device.

    +
    + property + required method +
  • + +   signalStrengthFilterClass +

    The class to use for filtering, or smoothin, signal strength values

    +
    + property + required method +
  • + + – deviceType +

    The type of device - this can be set to anything and retreived for printing or examining.

    +
    + + required method +
  • + + – startUpdating +

    Tells the connection to start looking for devices of its type.

    +
    + + required method +
  • + + – stopUpdating +

    Tells the connection to stop looking for devices of its type.

    +
    + + required method +
  • + + – isConnected +

    Returns whether or not there is a connection with a device.

    +
    + + required method +
  • + + – disconnect +

    disconnects the current device.

    +
    + + required method +
  • + + – connectToDevice:connectionDelegate: +

    Establishes a connection with a device

    +
    + + required method +
  • + + – isAvailable +

    YES if available on the current device, NO if unavailable.

    +
    + + required method +
  • + + – fetch: +

    Fetches a resource. Can be retrieved in “lastReadValue”

    +
    + + required method +
  • + + – fetchSystemResource: +

    Fetches a system resource. Can be retrieved in “lastReadValue”.

    +
    + + required method +
  • + + – store: +

    writes a value to a device.

    +
    + + required method +
  • +
+ +
+ + + + + +
+ +

Properties

+ +
+ +

connected

+ + + +
+

A boolean indicating whether or not there is a connection with a device.

+
+ + +
@property (nonatomic, readonly, getter=isConnected) BOOL connected
+ + + + + + + + +
+

Discussion

+

A boolean indicating whether or not there is a connection with a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

connectionDelegate

+ + + +
+

The delegate for connection communication

+
+ + +
@property (nonatomic, unsafe_unretained) id<EMDeviceDelegate> connectionDelegate
+ + + + + + + + +
+

Discussion

+

The delegate for connection communication

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

lastReadValue

+ + + +
+

The last read resource value from the device

+
+ + +
@property (nonatomic, strong) EMResourceValue *lastReadValue
+ + + + + + + + +
+

Discussion

+

The last read resource value from the device

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

scanDelegate

+ + + +
+

The delegate for scanning

+
+ + +
@property (nonatomic, unsafe_unretained) id<EMConnectionTypeScannerDelegate> scanDelegate
+ + + + + + + + +
+

Discussion

+

The delegate for scanning

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

schema

+ + + +
+

The schema for connection

+
+ + +
@property (nonatomic, unsafe_unretained) EMSchema *schema
+ + + + + + + + +
+

Discussion

+

The schema for connection

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

signalStrengthFilterClass

+ + + +
+

The class to use for filtering, or smoothin, signal strength values

+
+ + +
@property (nonatomic, strong) Class<EMSignalStrengthFilter> signalStrengthFilterClass
+ + + + + + + + +
+

Discussion

+

The class to use for filtering, or smoothin, signal strength values

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + + + + +
+ +

Instance Methods

+ +
+ +

connectToDevice:connectionDelegate:

+ + + +
+

Establishes a connection with a device

+
+ + +
- (void)connectToDevice:(EMDeviceBasicDescription *)device connectionDelegate:(id<EMDeviceDelegate>)connDelegate
+ + + + + + + + +
+

Discussion

+

Establishes a connection with a device

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceType

+ + + +
+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + +
- (NSString *)deviceType
+ + + + + + + + +
+

Discussion

+

The type of device - this can be set to anything and retreived for printing or examining.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

disconnect

+ + + +
+

disconnects the current device.

+
+ + +
- (void)disconnect
+ + + + + + + + +
+

Discussion

+

disconnects the current device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetch:

+ + + +
+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + +
- (void)fetch:(id)resourceValue
+ + + + + + + + +
+

Discussion

+

Fetches a resource. Can be retrieved in “lastReadValue”

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

fetchSystemResource:

+ + + +
+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + +
- (void)fetchSystemResource:(id)resourceValue
+ + + + + + + + +
+

Discussion

+

Fetches a system resource. Can be retrieved in “lastReadValue”.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

isAvailable

+ + + +
+

YES if available on the current device, NO if unavailable.

+
+ + +
- (BOOL)isAvailable
+ + + + + + + + +
+

Discussion

+

YES if available on the current device, NO if unavailable.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

isConnected

+ + + +
+

Returns whether or not there is a connection with a device.

+
+ + +
- (BOOL)isConnected
+ + + + + + + + +
+

Discussion

+

Returns whether or not there is a connection with a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

startUpdating

+ + + +
+

Tells the connection to start looking for devices of its type.

+
+ + +
- (void)startUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to start looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

stopUpdating

+ + + +
+

Tells the connection to stop looking for devices of its type.

+
+ + +
- (void)stopUpdating
+ + + + + + + + +
+

Discussion

+

Tells the connection to stop looking for devices of its type.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

store:

+ + + +
+

writes a value to a device.

+
+ + +
- (void)store:(id)resourceValue
+ + + + + + + + +
+

Discussion

+

writes a value to a device.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionTypeScannerDelegate.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionTypeScannerDelegate.html new file mode 100644 index 0000000..85abb49 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMConnectionTypeScannerDelegate.html @@ -0,0 +1,488 @@ + + + + + EMConnectionTypeScannerDelegate Protocol Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + +
Conforms toNSObject
Declared inEMConnectionType.h
+ + + + +
+ +

Overview

+

These methods are sen tto the connection delegate to inform it of devices that come available or go offline.

+
+ + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

deviceScanner:didFindDevice:

+ + + +
+

Tells the delegate a device was found.

+
+ + +
- (void)deviceScanner:(id)scanner didFindDevice:(EMDeviceBasicDescription *)device
+ + + + + + + + +
+

Discussion

+

Tells the delegate a device was found.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceScanner:didLoseDevice:

+ + + +
+

Tells the delegate a device was lost.

+
+ + +
- (void)deviceScanner:(id)scanner didLoseDevice:(EMDeviceBasicDescription *)device
+ + + + + + + + +
+

Discussion

+

Tells the delegate a device was lost.

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ +

deviceScanner:didUpdateDevice:

+ + + +
+

Updates the data for a device description

+
+ + +
- (void)deviceScanner:(id)scanner didUpdateDevice:(EMDeviceBasicDescription *)device
+ + + + + + + + +
+

Discussion

+

Updates the data for a device description

+
+ + + + + + + +
+

Declared In

+ EMConnectionType.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMDeviceDelegate.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMDeviceDelegate.html new file mode 100644 index 0000000..95bc4bc --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMDeviceDelegate.html @@ -0,0 +1,305 @@ + + + + + EMDeviceDelegate Protocol Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + + + + +
Conforms toNSObject
Declared inEMConnectionType.h
+ + + + +
+ +

Overview

+

EMTargetDeviceHandler is implemented by classes interested in manageing connections to devices. By default, this will be the shared instance of EMConnectionManager.

+
+ + + + + + + + + + + + + + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMResourceValueProtocol.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMResourceValueProtocol.html new file mode 100644 index 0000000..b4ce878 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/Protocols/EMResourceValueProtocol.html @@ -0,0 +1,1689 @@ + + + + + EMResourceValueProtocol Protocol Reference + + + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+ +
+
+ + + +
+ +
+ + + + +
Declared inEMResourceValue.h
+ + + + +
+ +

Overview

+

A protocol to define the methods that all EMResourceValue subclasses must define.

+ +

Written by Carolyn Vaughan

+
+ + + + + +
+ +

Tasks

+ + + + + + + +
+ + + + + + + + + +
+ +

Instance Methods

+ +
+ +

copyFromResource:

+ + + + +
- (void)copyFromResource:(EMResourceValue *)source
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

doubleValue

+ + + + +
- (double)doubleValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

enumValues

+ + + + +
- (NSArray *)enumValues
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fieldNames

+ + + + +
- (NSArray *)fieldNames
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileEof

+ + + + +
- (BOOL)fileEof
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileFetch

+ + + + +
- (void)fileFetch
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

fileStore

+ + + + +
- (void)fileStore
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

getDataOfSize:fromBuffer:

+ + + + +
- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

index:

+ + + + +
- (EMResourceValue *)index:(int)index
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

initWithName:type:schema:

+ + + + +
- (id)initWithName:(NSString *)theName type:(NSString *)theType schema:(EMSchema *)theResourceSchema
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isArray

+ + + +
+

Returns true if the type of this value is an Array, and false otherwise.

+
+ + +
- (BOOL)isArray
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is an Array, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isEnum

+ + + +
+

Returns true if the type of this value is an Enum, and false otherwise.

+
+ + +
- (BOOL)isEnum
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is an Enum, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isFile

+ + + +
+

Returns true if the type of this value is a File, and false otherwise.

+
+ + +
- (BOOL)isFile
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is a File, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isInt

+ + + +
+

Returns true if the type of this value is an Int, and false otherwise.

+
+ + +
- (BOOL)isInt
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is an Int, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isNum

+ + + +
+

Returns true if the type of this value is a Num, and false otherwise.

+
+ + +
- (BOOL)isNum
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is a Num, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isScalar

+ + + +
+

Returns true if the type of this value is scalar (Num, Enum, Int, String), and false otherwise.

+
+ + +
- (BOOL)isScalar
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is scalar (Num, Enum, Int, String), and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isString

+ + + +
+

Returns true if the type of this value is a String, and false otherwise.

+
+ + +
- (BOOL)isString
+ + + + + + + + +
+

Discussion

+

Returns true if the type of this value is a String, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isStruct

+ + + +
+

Return true if the type of this value is a Struct, and false otherwise.

+
+ + +
- (BOOL)isStruct
+ + + + + + + + +
+

Discussion

+

Return true if the type of this value is a Struct, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

isVoid

+ + + +
+

Return true if the type of this value is a Void, and false otherwise.

+
+ + +
- (BOOL)isVoid
+ + + + + + + + +
+

Discussion

+

Return true if the type of this value is a Void, and false otherwise.

+
+ + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

length

+ + + + +
- (long)length
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

longValue

+ + + + +
- (long long)longValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

max

+ + + + +
- (double)max
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

min

+ + + + +
- (double)min
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

putData:

+ + + + +
- (void)putData:(EMSerialPacket *)buffer
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

reset

+ + + + +
- (void)reset
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

select:

+ + + + +
- (EMResourceValue *)select:(NSString *)fieldName
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setDoubleValue:

+ + + + +
- (void)setDoubleValue:(double)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setLongValue:

+ + + + +
- (void)setLongValue:(long long)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

setStringValue:

+ + + + +
- (void)setStringValue:(NSString *)value
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

step

+ + + + +
- (double)step
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ +

stringValue

+ + + + +
- (NSString *)stringValue
+ + + + + + + + + + + + + + +
+

Declared In

+ EMResourceValue.h
+
+ + +
+ +
+ + +
+ + +
+
+ + + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/css/styles.css b/DUREX Vendor Control/EmmocoMobileFramework/Docs/css/styles.css new file mode 100755 index 0000000..7de7ea2 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/css/styles.css @@ -0,0 +1,585 @@ + + +body { + font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + font-size: 13px; + background: #fff url(http://www.emmoco.com/images/bg_page_gradient.jpg) repeat-x 0 0; +} + +#em-wrapper { + width:960px; + margin:0 auto; + background-color: #fff; + overflow: hidden; +} + +article +{ + background-color:#fff; +} + + +code { + font-family: Courier, Consolas, monospace; + font-size: 13px; + color: #666; +} + +pre { + font-family: Courier, Consolas, monospace; + font-size: 13px; + line-height: 18px; + tab-interval: 0.5em; + border: 1px solid #C7CFD5; + background-color: #F1F5F9; + color: #666; + padding: 0.3em 1em; +} + +ul { + list-style-type: square; +} + +li { + margin-bottom: 10px; +} + +a { + text-decoration: none; + color: #36C; +} + +a:hover { + text-decoration: underline; + color: #36C; +} + +h2 { + border-bottom: 1px solid #8391A8; + color: #3C4C6C; + font-size: 187%; + font-weight: normal; + margin-top: 1.75em; + padding-bottom: 2px; +} + +/* @group Common page elements */ + +#top_header { + height: 91px; + left: 0; + min-width: 598px; + + right: 0; + top: 50px; + z-index: 900; + width: 960px; + margin: auto; + clear: both; + margin-bottom: 15px; +} + +#footer { + clear: both; + padding-top: 20px; + text-align: center; +} + +#ccontents, #overview_contents { + border-top: 1px solid #2B334F; + position: absolute; + position:relative; + top: 91px; + left: 0; + right: 0; + bottom: 0; + top: 0; + overflow-x: hidden; + overflow-y: auto; + padding-left: 2em; + padding-right: 2em; + padding-top: 1em; + min-width: 550px; + width: 950px; + margin-left: auto; + margin-right: auto; + left: auto; + clear: both; + padding-left: 10px; + padding-right: 0; +} + +#contents.isShowingTOC { + left: 230px; + left: 130px; + min-width: 320px; + width: 730px; + margin-left: auto; + margin-right: auto; + position:absolute; + position:relative; +} + +.copyright { + font-size: 12px; +} + +.generator { + font-size: 11px; +} + +.main-navigation ul li { + display: inline; + margin-left: 15px; + list-style: none; +} + +.main-navigation { + margin-right: 20px; +} + +.navigation-top { + clear: both; + float: right; + margin-right: 20px; +} + +.navigation-bottom { + clear: both; + float: right; + margin-top: 20px; + margin-bottom: -10px; + margin-right: 20px; +} + +.open > .disclosure { + background-image: url("../img/disclosure_open.png"); +} + +.disclosure { + background: url("../img/disclosure.png") no-repeat scroll 0 0; +} + +.disclosure, .nodisclosure { + display: inline-block; + height: 8px; + margin-right: 5px; + position: relative; + width: 9px; +} + +/* @end */ + +/* @group Header */ + +#top_header #library { + background: url("../img/library_background.png") repeat-x 0 0 #485E78; + background-color: #ccc; + height: 35px; + font-size: 115%; + position:relative; +} + +#top_header #library #libraryTitle { + color: #FFFFFF; + margin-left: 15px; + text-shadow: 0 -1px 0 #485E78; + top: 8px; + position: absolute; +} + +#top_header #library #developerHome { + color: #92979E; + right: 15px; + top: 8px; + position: absolute; +} + +#top_header #library a:hover { + text-decoration: none; +} + +#top_header #title { + background: url("../img/title_background.png") repeat-x 0 0 #8A98A9; + border-bottom: 1px solid #B6B6B6; + height: 25px; + overflow: hidden; + text-align: left; + padding-left: 15px; +} + +#top_header h1 { + font-size: 115%; + font-weight: normal; + margin: 0; + padding: 3px 0 2px; + text-align: center; + text-align: left; + text-shadow: 0 1px 0 #D5D5D5; + white-space: nowrap; +} + +#headerButtons { + background-color: #D8D8D8; + background-image: url("../img/button_bar_background.png"); + border-bottom: 1px solid #EDEDED; + border-top: 1px solid #2B334F; + font-size: 8pt; + height: 28px; + left: 0; + list-style: none outside none; + margin: 0; + overflow: hidden; + padding: 0; + position: absolute; + position: relative; + right: 0; + top: 61px; + top: 0; +} + +#headerButtons li { + background-repeat: no-repeat; + display: inline; + margin-top: 0; + margin-bottom: 0; + padding: 0; +} + +#toc_button button { + border-color: #ACACAC; + border-style: none solid none none; + border-width: 0 1px 0 0; + height: 28px; + margin: 0; + padding-left: 30px; + text-align: left; + width: 230px; +} + +li#jumpto_button { + left: 230px; + margin-left: 0; + position: absolute; + +} + +li#jumpto_button select { + height: 22px; + margin: 5px 2px 0 10px; + max-width: 300px; +} + +/* @end */ + +/* @group Table of contents */ + +#tocContainer.isShowingTOC { + border-right: 1px solid #ACACAC; + display: block; + overflow-x: hidden; + overflow-y: auto; + padding: 0; +} + +#tocContainer { + background-color: #E4EBF7; + border-top: 1px solid #2B334F; + bottom: 0; + display: none; + left: 0; + left: auto; + overflow: hidden; + position: absolute; + top: 91px; + top: 150px; + width: 229px; +} + +#tocContainer > ul#toc { + font-size: 11px; + margin: 0; + padding: 12px 0 18px; + width: 209px; + -moz-user-select: none; + -webkit-user-select: none; + user-select: none; +} + +#tocContainer > ul#toc > li { + margin: 0; + padding: 0 0 7px 30px; + text-indent: -15px; +} + +#tocContainer > ul#toc > li > .sectionName a { + color: #000000; + font-weight: bold; +} + +#tocContainer > ul#toc > li > .sectionName a:hover { + text-decoration: none; +} + +#tocContainer > ul#toc li.children > ul { + display: none; + height: 0; +} + +#tocContainer > ul#toc > li > ul { + margin: 0; + padding: 0; +} + +#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { + margin-left: 0; + margin-bottom: 0; + padding-left: 15px; +} + +#tocContainer > ul#toc > li ul { + list-style: none; + margin-right: 0; + padding-right: 0; +} + +#tocContainer > ul#toc li.children.open > ul { + display: block; + height: auto; + margin-left: -15px; + padding-left: 0; +} + +#tocContainer > ul#toc > li > ul, ul#toc > li > ul > li { + margin-left: 0; + padding-left: 15px; +} + +#tocContainer li ul li { + margin-top: 0.583em; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +#tocContainer li ul li span.sectionName { + white-space: normal; +} + +#tocContainer > ul#toc > li > ul > li > .sectionName a { + font-weight: bold; +} + +#tocContainer > ul#toc > li > ul a { + color: #4F4F4F; +} + +/* @end */ + +/* @group Index formatting */ + +.index-title { + font-size: 13px; + font-weight: normal; +} + +.index-column { + float: left; + width: 30%; + min-width: 200px; + font-size: 11px; +} + +.index-column ul { + margin: 8px 0 0 0; + padding: 0; + list-style: none; +} + +.index-column ul li { + margin: 0 0 3px 0; + padding: 0; +} + +.hierarchy-column { + min-width: 400px; +} + +.hierarchy-column ul { + margin: 3px 0 0 15px; +} + +.hierarchy-column ul li { + list-style-type: square; +} + +/* @end */ + +/* @group Common formatting elements */ + +.title { + font-weight: normal; + font-size: 215%; + margin-top:0; +} + +.subtitle { + font-weight: normal; + font-size: 180%; + color: #3C4C6C; + border-bottom: 1px solid #5088C5; +} + +.subsubtitle { + font-weight: normal; + font-size: 145%; + height: 0.7em; +} + +.warning { + border: 1px solid #5088C5; + background-color: #F0F3F7; + margin-bottom: 0.5em; + padding: 0.3em 0.8em; +} + +.bug { + border: 1px solid #000; + background-color: #ffffcc; + margin-bottom: 0.5em; + padding: 0.3em 0.8em; +} + +.deprecated { + color: #F60425; +} + +/* @end */ + +/* @group Common layout */ + +.section { + margin-top: 3em; +} + +/* @end */ + +/* @group Object specification section */ + +.section-specification { + margin-left: 2.5em; + margin-right: 2.5em; + font-size: 12px; +} + +.section-specification table { + border-top: 1px solid #d6e0e5; +} + +.section-specification td { + vertical-align: top; + border-bottom: 1px solid #d6e0e5; + padding: .6em; +} + +.section-specification .specification-title { + font-weight: bold; +} + +/* @end */ + +/* @group Tasks section */ + +.task-list { + list-style-type: none; + padding-left: 0px; +} + +.task-list li { + margin-bottom: 3px; +} + +.task-item-suffix { + color: #996; + font-size: 12px; + font-style: italic; + margin-left: 0.5em; +} + +span.tooltip span.tooltip { + font-size: 1.0em; + display: none; + padding: 0.3em; + border: 1px solid #aaa; + background-color: #fdfec8; + color: #000; + text-align: left; +} + +span.tooltip:hover span.tooltip { + display: block; + position: absolute; + margin-left: 2em; +} + +/* @end */ + +/* @group Method section */ + +.section-method { + margin-top: 2.3em; +} + +.method-title { + margin-bottom: 1.5em; +} + +.method-subtitle { + margin-top: 0.7em; + margin-bottom: 0.2em; +} + +.method-subsection p { + margin-top: 0.4em; + margin-bottom: 0.8em; +} + +.method-declaration { + margin-top:1.182em; + margin-bottom:.909em; +} + +.method-declaration code { + font:14px Courier, Consolas, monospace; + color:#000; +} + +.declaration { + color: #000; +} + +.argument-def { + margin-top: 0.3em; + margin-bottom: 0.3em; +} + +.argument-def dd { + margin-left: 1.25em; +} + +.see-also-section ul { + list-style-type: none; + padding-left: 0px; + margin-top: 0; +} + +.see-also-section li { + margin-bottom: 3px; +} + +.declared-in-ref { + color: #666; +} + +/* @end */ + diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/css/stylesPrint.css b/DUREX Vendor Control/EmmocoMobileFramework/Docs/css/stylesPrint.css new file mode 100755 index 0000000..dc54cd2 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/css/stylesPrint.css @@ -0,0 +1,22 @@ + +header { + display: none; +} + +div.main-navigation, div.navigation-top { + display: none; +} + +div#overview_contents, div#contents.isShowingTOC, div#contents { + overflow: visible; + position: relative; + top: 0px; + border: none; + left: 0; +} +#tocContainer.isShowingTOC { + display: none; +} +nav { + display: none; +} \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/hierarchy.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/hierarchy.html new file mode 100644 index 0000000..999e36e --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/hierarchy.html @@ -0,0 +1,216 @@ + + + + + iOS Framework Hierarchy + + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + +
+
+
+ + + + + +
+
+ + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/button_bar_background.png b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/button_bar_background.png new file mode 100755 index 0000000..d2cd0d8 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/button_bar_background.png diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/disclosure.png b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/disclosure.png new file mode 100755 index 0000000..147198f --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/disclosure.png diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/disclosure_open.png b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/disclosure_open.png new file mode 100755 index 0000000..ea3842b --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/disclosure_open.png diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/library_background.png b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/library_background.png new file mode 100755 index 0000000..8fa6d45 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/library_background.png diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/title_background.png b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/title_background.png new file mode 100755 index 0000000..9001dac --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/img/title_background.png diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Docs/index.html b/DUREX Vendor Control/EmmocoMobileFramework/Docs/index.html new file mode 100644 index 0000000..60f7122 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Docs/index.html @@ -0,0 +1,209 @@ + + + + + iOS Framework Reference + + + + + +
+ + +
+ + +

+ Em-Hub + Wiki + Android Docs + iOS Docs + Support +

+ +
+ + +
+ + + + + + + + +
+
+
+ + + + + +
+
+
+ + \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMBluetoothLowEnergyConnectionType.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMBluetoothLowEnergyConnectionType.h new file mode 100644 index 0000000..eb427f6 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMBluetoothLowEnergyConnectionType.h @@ -0,0 +1,34 @@ +#import +#import "EMConnectionType.h" + +#if TARGET_OS_IPHONE + #import +#else + #import +#endif + + + +/** + * EMBluethoothLowEnergyConnectionType is a concrete EMConnectionType for Bluetooth Low Energy. + * + * If you want the framework to interact with Bluetooth Low Energy devices, add an instance of this class to EMConnectionListManager via the -addConnectionTypeToUpdates: method. + */ + +@interface EMBluetoothLowEnergyConnectionType : NSObject { + +} + +@property (nonatomic) NSTimeInterval scanResetTime; + +/** + * By default, EMBluetoothLowEnergyConnectionType will 'discover' devices that have a schema hash matching a schema in your application bundle. + * Set this flag to 'YES' for an instance of this class to discover all Emmoco BLE devices. + * NOTE: Most applications should not have this enabled. + */ +@property (nonatomic) BOOL discoversAllEmmocoBLEDevices; + ++(CBUUID *)emmocoServiceUUID; ++(CBUUID *)emmocov12ServiceUUID; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMChecksum.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMChecksum.h new file mode 100644 index 0000000..fb4d24c --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMChecksum.h @@ -0,0 +1,19 @@ +// +// EMChecksum.h +// Emmoco +// +// Created by bob frankel on 8/18/11. +// Copyright 2011 Emmoco, Inc.. All rights reserved. +// + +#import + +@interface EMChecksum : NSObject { + +} + +- (void)addByte:(int)byte; +- (void)clear; +- (int)sum; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnection.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnection.h new file mode 100644 index 0000000..b73f2b7 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnection.h @@ -0,0 +1,134 @@ + +/** @file */ + +#import +#import "EMSchema.h" +#import "EMConnectionType.h" +#import "EMTypes.h" + +@class EMConnection; + +@protocol EMConnectionDelegate + +-(void)connectionDidTimeout:(EMConnection *)connection; +-(void)connectionDidDisconnect:(EMConnection *)connection; + +@end + +/** + * The state of the current connection. Use KVO to receive updates on this property and react to changes. + */ + +typedef enum { + EMConnectionStateDisconnected, // Disconnected state, no error + EMConnectionStatePending, // A connection has been started, and is pending completion + EMConnectionStateSchemaNotFound, // The schema for the connection is not in the application bundle + EMConnectionStateInvalidSchemaHash, // The device didn't respond with a valid schema hash + EMConnectionStateConnected, // Connected state, no error + EMConnectionStateDisrupted, // The connection was interrupted + EMConnectionStatePendingForDefaultSchema, // The schema could not be found and the connection is being "forced" with the provided default schema. Note: This state will only occur if you have provided a default schema and told the connection manager to force a connection with it. + EMConnectionStateTimeout // The connection timed out +} EMConnectionState; + +extern NSString * const kEMConnectionDidReceiveIndicatorNotificationName; +extern NSString * const kEMIndicatorResourceKey; +extern NSString * const kEMIndicatorNameKey; +extern NSString * const kEMConnectionErrorDomain; +extern NSString * const kEMIndicatorResourceValueKey; + +@interface EMConnection : NSObject { + @protected + EMSchema *_systemSchema; +} + +/** + * This block will be called when an open connection is closed for any reason + */ +@property (atomic, strong) EMResourceBlock connectionClosedBlock; + +/** + * The timeout interval for a pending connection + */ +@property (atomic) NSTimeInterval connectionAttemptTimeout; + +/** + * The connection delegate. EMConnectionManager will post connect and disconnect delegate messages to this object if it is set. + */ +@property (nonatomic, unsafe_unretained) id connectionDelegate; + + +/** + * The EMDeviceBasicDescription used for conenction + */ +@property (nonatomic, strong) EMDeviceBasicDescription *device; + +/** + * The schema for connection + */ +@property (nonatomic, strong) EMSchema *schema; + + +/** + * Creates a new EMConnection object. + * Actual connection and disconnection to the named target occurs through calls to open and close on this object. + * @param device The basic description of a device + */ +- (id)initWithDevice:(EMDeviceBasicDescription *)device; + +/** + * Creates a new EMTargetConnection object. + * Actual connection and disconnection to the named target occurs through calls to open and close on this object. + * @param device the name of the target device, including one of the pre-defined prefixes + * @param resourceSchema the schema describing the resources available in this connection + */ +- (id)initWithDevice:(EMDeviceBasicDescription *)device schema:(EMSchema*)resourceSchema; + + +/** + * Returns true if connected and false otherwise. + */ +- (BOOL)isConnected; + +/** + * Opens a connection to the @device device property + * @param successBlock A block to call on a successful connect + * @param failBlock A block to call on a failed connect + */ +- (void)openConnectionWithSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock; + +/** + * Cancels the attempt to open this EMTargetConnection, posting the open block with a failed status. + */ +- (void)cancelOpen; + +/** + * Closes the connection + * @param successBlock A block to call on a successful disconnect + * @param failBlock A block to call on a failed disconnect + */ +- (void)closeConnectionWithSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock; + +/** + * Reads a value + * @param resourceName The name of the resource to read + * @param successBlock A block to call on a successful read + * @param failBlock A block to call on a failed read + */ +-(void)readValueNamed:(NSString *)resourceName onSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock; + +-(void)readSystemValueNamed:(NSString *)resourceName onSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock; + +/** + * Writes a resource to the device + * @param resourceValue The resource value + * @param successBlock A block to call on a successful write + * @param failBlock A block to call on a failed write + */ + +-(void)writeResource:(EMResourceValue *)resourceValue onSuccess:(EMResourceBlock)successBlock onFail:(EMFailBlock)failBlock; + +- (NSString*)connectedDeviceSchemaHash; + + +@end + diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionListManager.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionListManager.h new file mode 100644 index 0000000..7c75f7d --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionListManager.h @@ -0,0 +1,95 @@ +#import "EMConnectionType.h" +#import + +/** + * kEMConnectionManagerDidStartUpdating is the name of a notification that is posted when the list manager begins updating, or scanning, for available devices + */ + +extern NSString * const kEMConnectionManagerDidStartUpdating; + +/** + * kEMConnectionManagerDidStopUpdating is the name of a notification that is posted when the list manager stops updating, or scanning, for available devices + */ + +extern NSString * const kEMConnectionManagerDidStopUpdating; + +/** + * EMConnectionListManager is a singleton class used for viewing a list of devices available for interaction. + */ +@interface EMConnectionListManager : NSObject + +/** + * @property devices + * A list of devices that has been discovered as available by the connection list manager + */ +@property (nonatomic, strong, readonly) NSArray *devices; + +/** + * @property filterPredicate + * A filter that allows only devices conforming to the predicate to be visible + */ +@property (nonatomic, strong) NSPredicate *filterPredicate; + +/** + * @property updating + * A boolean value indicating whether or not the connection list manager is actively updating the devices list + */ +@property (nonatomic, getter = isUpdating, readonly) BOOL updating; + +/** + * @property updateRate + * updateRate determines the scan frequency for discovering devices + */ +@property (nonatomic) NSTimeInterval updateRate; + + +/** + * @param automaticallyConnectsToLastDevice + * A boolean value indicating whether or not the connection list manager should automatically connect to the last device it was connected to if it encounters it in a scan. + */ +@property (nonatomic) BOOL automaticallyConnectsToLastDevice; + + +/** + * Use the +sharedManager to get the singleton, shared instance of EMConnectionListManager + */ ++(EMConnectionListManager *)sharedManager; + +/** + * Retrieve a device description for a given unique identifier + * @param name The name of the device + */ + +-(EMDeviceBasicDescription *)deviceBasicDescriptionForDeviceNamed:(NSString *)name; + +/** + * Tells the connection list manager to begin actively looking for devices to interact with. + */ +-(void)startUpdating; + +/** + * Tells the connection list manager to stop looking for devices to interact with. + */ +-(void)stopUpdating; + +/** + * Manually clears out all devices on the connection list manager. + */ +-(void)reset; + +/** + * Detect if Bluetooth is available + */ +-(BOOL)isBluetoothAvailable; + +/** + * Add your own connection type outside of bluetooth low energy + */ +-(void)addConnectionTypeToUpdates:(id)connectionType; + +/** + * Remove your own connection type outside of bluetooth low energy + */ +-(void)removeConnectionToFromUpdates:(id)connectionType; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionManager.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionManager.h new file mode 100644 index 0000000..65fb98c --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionManager.h @@ -0,0 +1,167 @@ +#import +#import +#import "EMConnection.h" +#import "EMSchema.h" +#import "EMConnectionType.h" + +#ifndef CB_EXTERN_CLASS +#warning "You must include CoreBluetooth in project to use Em-Framework" +#endif + +/** + * A constant for NSUserDefaults that contains the name of the last connected device, if there is one + */ + +extern NSString * const kLastConnectedDevice; + +extern NSString * const kEMConnectionManagerDidUpdateConnectionStateNotificationName; + +/** + * Various types of connection errors. + */ + +typedef enum { + EMConnectionManagerErrorNoSchemaAvailable, + EMConnectionManagerErrorCouldNotDisconnect, + EMConnectionManagerErrorDeviceNotAvailable, +} EMConnectionManagerError; + +extern NSString * const kEMConnectionManagerErrorDomain; + +@class EMTargetDevice; +@class EMConnection; + +/** + * EMConnectionManager is a singleton class for managing a connection with a physical or mock device. + */ + +@interface EMConnectionManager : NSObject + +@property (nonatomic) EMConnectionState connectionState; + +@property (nonatomic, strong) NSURL *defaultSchemaURL; + + +/** + @property backgroundUpdatesEnabled + @description If you set this flag to "YES", the connection manager has the ability to persist while running in the background. By default, the connection manager severs connections when entering the background. + */ +@property (nonatomic) BOOL backgroundUpdatesEnabled; + +/** + * Use the +sharedManager class method to access the application-wide singleton instance of EMConnectionManager. + * Note: Accessing the connection manager in any way other is not recommended. + */ + ++(EMConnectionManager *)sharedManager; + +/** + * Tells the connection manager to connect to a specific device. + * + * @param device An instance of EMDeviceBasicDescription the connection manager should connect to + * @param successBlock The block to run after a successful connection + * @param failBlock The block to run if the connectino fails + * @description The implementation of this method calls connectDevice:timeoutInterval:onSuccess:onFail: with a default time interval of 10 seconds + */ + +-(void)connectDevice:(EMDeviceBasicDescription *)device onSuccess:(void(^)(void))successBlock onFail:(void(^)(NSError *error))failBlock; + +/** + * Tells the connection manager to connect to a specific device. + * + * @param device An instance of EMDeviceBasicDescription the connection manager should connect to + * @param timeout The time the connection manager should allow for a successful connection. After the specified time interval passes, the fail block will be called. + * @param successBlock The block to run after a successful connection + * @param failBlock The block to run if the connection fails + * @description The implementation of this method calls connectDevice:timeoutInterval:onSuccess:onFail: with a default time interval of 10 seconds + */ +-(void)connectDevice:(EMDeviceBasicDescription *)device timeoutInterval:(NSTimeInterval)timeout onSuccess:(void(^)(void))successBlock onFail:(void(^)(NSError *error))failBlock; + +/** + * Tells the connection manager to disconnect from a specific device + * + * @param successBlock The block to run after a successful disconnection + * @param failBlock The block to run if the disconnection fails. + */ +-(void)disconnectWithSuccess:(void(^)(void))successBlock onFail:(void(^)(NSError *error))failBlock; + +/** + * Reads a resource from a connected device + * + * @param resourceName The name of the resource to read. This is the name of the resource in the device's schema. + * @param successBlock The block to call when a read occurs successfully. Connection manager will call this block with the value read. + * @param failBlock The block to call when a read fails. + */ +-(void)readResource:(NSString *)resourceName onSuccess:(void(^)(id readValue))successBlock onFail:(void(^)(NSError *error))failBlock; + +/** + * Writes a value to a resource on a connected device + * + * @param resourceValue The value to write to the resource. This should be an instance of NSString, NSData, NSArray, NSNumber, or NSDictionary + * @param resource The name of the resource for writing. This is the name of the resource in the schema. + * @param successBlock The block to call when the write occurs successfully. + * @param failBlock The block to call when the write fails. + */ +-(void)writeValue:(id)resourceValue toResource:(NSString *)resource onSuccess:(void(^)(void))successBlock onFail:(void(^)(NSError *error))failBlock; + +/** + * Returns an array of EMDeviceBasicDescription's for the device that is actively connected + */ +-(EMDeviceBasicDescription *)connectedDevice; + +/** + * Returns a version of the the schema hash from a connected device's firmware as it appears on em-hub + */ +-(NSString *)schemaHashForConnectedDevice; + +/** + * Tells the connection manager where it should look for schemas other than the NSBundle's mainBundle + * + * @param path The path for the directory in which to search + */ +-(void)addSchemaSearchForFilesInDirectory:(NSString *)path; + +/** + * Tells the connection manager to no longer look in the specified path for schemas + * + * @param path The path to no longer search + * @description Note: This method will never ignore the current bundle's mainBundle + */ +-(void)removeSchemaSearchForFilesInDirectory:(NSString *)path; + +/** + * Forces the connection manager to connect to a device with the default schema + * @param device The device for the forced connection + * @description Use this method with extreme caution. Many undefined behaviors can come from using this method with a schema that isn't an exact match for the specified device. EMConnectionManager uses this method internally. It is very rare that you will need to call this method directly. + */ +-(void)forceConnectionWithDefaultSchema:(EMDeviceBasicDescription *)device; + +/** + * Tells EMConnectionManager to update its internal cache of schemas used for connection. + * @description EMConnectionManager uses this method internally. It is very rare taht you will need to call this method directly. + */ +-(void)updateInternalSchemaCache; + +/** + * Gives the schema name in the application bundle for a given hash string + * @param hashString A full or partial schema hash string + * @description This method takes either a full hash or partial hash. If any schema begins with 'hash string', the file name in the bundle is returned. Returns nil if no matching schema was found in the bundle. + * If one or more schemas share 'hashString' at the beginning of their hash, the first path will be returned. + */ +-(NSString *)schemaFileNameForHashString:(NSString *)hashString; + +/** + * Gets the schema for the connected device. + * @description Returns nil if no device is connected. + */ + +-(EMSchema *)schemaForConnectedDevice; + +/** + * Gets the embedded system protocol level from the schema used to connect to the device + * @description This call does not send a message down to the board - the protocol level is pulled directly from the schema that was used to connect to the device. + */ + +-(NSNumber *)embeddedSystemProtocolLevel; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionType.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionType.h new file mode 100644 index 0000000..c4dc364 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMConnectionType.h @@ -0,0 +1,134 @@ +#import +#import "EMSchema.h" +#import "EMDeviceBasicDescription.h" +#import "EMResourceValue.h" +#import "EMSignalStrengthFilter.h" + +/** + * EMTargetDeviceHandler is implemented by classes interested in manageing connections to devices. By default, this will be the shared instance of EMConnectionManager. + */ +@protocol EMDeviceDelegate +- (void)extendConnectTimeout; +- (void)postIndicatorForResource:(EMResourceValue *)indicator; +- (void)operationDone:(int)status; +@end + + +#pragma mark - EMConnectionTypeScannerDelegate Declaration + +/** + * These methods are sen tto the connection delegate to inform it of devices that come available or go offline. + */ + +@protocol EMConnectionTypeScannerDelegate + +/** + * Tells the delegate a device was found. + */ + +-(void)deviceScanner:(id)scanner didFindDevice:(EMDeviceBasicDescription *)device; + +/** + * Tells the delegate a device was lost. + */ +-(void)deviceScanner:(id)scanner didLoseDevice:(EMDeviceBasicDescription *)device; + + +/** + * Updates the data for a device description + */ +-(void)deviceScanner:(id)scanner didUpdateDevice:(EMDeviceBasicDescription *)device; + +@end + +#pragma mark - EMConnectionType Declaration + +/** + * Abstracts a given protocol for connecting to devices. + */ + +@protocol EMConnectionType + +/** + * The delegate for scanning + */ +@property (nonatomic, unsafe_unretained) id scanDelegate; + +/** + * The delegate for connection communication + */ +@property (nonatomic, unsafe_unretained) id connectionDelegate; + +/** + * The schema for connection + */ +@property (nonatomic, unsafe_unretained) EMSchema *schema; + +/** + * The last read resource value from the device + */ +@property (nonatomic, strong) EMResourceValue *lastReadValue; + +/** + * A boolean indicating whether or not there is a connection with a device. + */ +@property (nonatomic, readonly, getter = isConnected) BOOL connected; + +/** + * The class to use for filtering, or smoothin, signal strength values + */ +@property (nonatomic, strong) Class signalStrengthFilterClass; + +/** + * The type of device - this can be set to anything and retreived for printing or examining. + */ +-(NSString *)deviceType; + +/** + * Tells the connection to start looking for devices of its type. + */ +-(void)startUpdating; + +/** + * Tells the connection to stop looking for devices of its type. + */ +-(void)stopUpdating; + +/** + * Returns whether or not there is a connection with a device. + */ +-(BOOL)isConnected; + +/** + * disconnects the current device. + * + */ +-(void)disconnect; + +/** + * Establishes a connection with a device + */ +-(void)connectToDevice:(EMDeviceBasicDescription *)device connectionDelegate:(id)connDelegate; + + +/** + * YES if available on the current device, NO if unavailable. + */ +-(BOOL)isAvailable; + +/** + * Fetches a resource. Can be retrieved in "lastReadValue" + */ +-(void)fetch:(id)resourceValue; + +/** + * Fetches a system resource. Can be retrieved in "lastReadValue". + */ +- (void)fetchSystemResource:(id)resourceValue; + +/** + * writes a value to a device. + */ +-(void)store:(id)resourceValue; +@end + diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMDeviceBasicDescription.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMDeviceBasicDescription.h new file mode 100644 index 0000000..826f60c --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMDeviceBasicDescription.h @@ -0,0 +1,64 @@ +#import "EMSignalStrengthFilter.h" + +@protocol EMConnectionType; + +/** + * EMDeviceBasicDescription is a class used to describe basic device characteristics throughout the entire framework. + * All devices, regardless of connection type, will have these properties. + * + * All classes implementing the EMConnectionType protocol will receive and deliver device information in the form of an EMDeviceBasicDescription. + */ + +@interface EMDeviceBasicDescription : NSObject + +/** + * The name of the device used thoughout the framework. + * Like the unique_identifier, this property needs to be unique. + */ +@property (nonatomic, strong) NSString *name; + +/** + * A concrete EMConnectionType instance that will be used to send messages to the device. + */ +@property (nonatomic, strong) id connectionType; + +/* + * An object that can describe the device to the provided connection type. + * For example, for bluetooth, this might be an instance of CBPeripheral. + */ +@property (nonatomic, strong) id deviceObject; + +/** + * A value between -100 and 0 used to describe signal strength. + */ +@property (nonatomic) float signalStrength; + +/** + * The signal strength filter for smoothing + */ +@property (nonatomic, strong) id signalStrengthFilter; + +/** + Data that was discovered along with the device. + Ex: When dealing with bluetooth, this is the advertising packet data + */ +@property (nonatomic, strong) NSData *advertiseData; + +/** + * An object taken from the advertise data based on the advertise resource in the device's schema + * Possible classes: NSString, NSNumber, NSDictionary, NSArray, NSData + */ +@property (nonatomic, strong) id advertiseObject; + +/** + The first six characters of the device's schema + */ +@property (nonatomic, strong) NSString *shortSchemaHash; + +/** + The name of the schema file in your bundle that relates to this device. + NOTE: Many devices do not broadcast this information. In this case, this property will not be set + */ +@property (nonatomic, strong) NSString *schemaFilePath; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMFramework.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMFramework.h new file mode 100644 index 0000000..bd5a435 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMFramework.h @@ -0,0 +1,28 @@ +// +// EMFramework.h +// Emmoco +// +// Created by bob frankel on 8/22/11. +// Copyright 2011 Emmoco, Inc.. All rights reserved. +// + +#import +#import "EMConnectionManager.h" +#import "EMConnectionListManager.h" +#import "EMConnection.h" +#import "EMBluetoothLowEnergyConnectionType.h" +#import "EMSchema.h" +#import "EMResourceValue.h" + +#define EMFrameworkProtocol_11 + +#define EMMinFramework @"12" +#define EMMaxFramework @"13" + +#define SIGNAL_STRENGTH_UNAVAILABLE FLT_MIN + +#ifdef DEBUG +#define EMLog(format, ...) NSLog(@"<%@:(%d)> %@", [[NSString stringWithUTF8String:__FILE__] lastPathComponent], __LINE__, [NSString stringWithFormat:(format), ##__VA_ARGS__]) +#else +#define EMLog(format, ...) +#endif \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMRSSIFilter.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMRSSIFilter.h new file mode 100644 index 0000000..847cd9c --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMRSSIFilter.h @@ -0,0 +1,19 @@ +// +// EMRSSIFilter.h +// EMFramework +// +// Created by Dexter Weiss on 8/9/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import +#import "EMSignalStrengthFilter.h" + +@interface EMRSSIFilter : NSObject + ++(EMRSSIFilter *)filterWithInitialRSSI:(float)rssi; + +-(id)initWithInitialSignalStrengthValue:(float)signalStrengthValue; +-(float)addSignalStrengthValue:(float)signalStrengthValue; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMResourceValue+CocoaAdditions.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMResourceValue+CocoaAdditions.h new file mode 100644 index 0000000..7de58f9 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMResourceValue+CocoaAdditions.h @@ -0,0 +1,9 @@ +#import "EMResourceValue.h" + +@interface EMResourceValue (CocoaAdditions) + +-(void)setNSObjectValue:(id)object; + +-(id)NSObjectValue; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMResourceValue.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMResourceValue.h new file mode 100644 index 0000000..44e36c5 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMResourceValue.h @@ -0,0 +1,246 @@ +// +// EMResourceValue.h +// Emmoco +// +// Created by bob frankel on 8/8/11. +// Copyright 2011 Emmoco, Inc.. All rights reserved. +// + +#import +#import "EMSerialPacket.h" + +@class EMSchema; +@class EMSerialPacket; +@class EMResourceValue; + +/** + * A protocol to define the methods that all EMResourceValue subclasses must define. + * + * Written by Carolyn Vaughan + */ + +@protocol EMResourceValueProtocol + +/** + * Internal initialization method used by EMResourceValue subclasses + * @param theName the name of this value + * @param theType the type of this value + * @param theResourceSchema the schema associated with this value + * @return this value + */ +- (id)initWithName:(NSString*)theName type:(NSString*)theType schema:(EMSchema*)theResourceSchema; + +/** + * Returns true if the type of this value is an Array, and false otherwise. + */ +- (BOOL)isArray; + +/** + * Returns true if the type of this value is a Num, and false otherwise. + */ +- (BOOL)isNum; + +/** + * Returns true if the type of this value is an Enum, and false otherwise. + */ +- (BOOL)isEnum; + +/** + * Returns true if the type of this value is a File, and false otherwise. + */ +- (BOOL)isFile; + +/** + * Returns true if the type of this value is an Int, and false otherwise. + */ +- (BOOL)isInt; + +/** + * Returns true if the type of this value is a String, and false otherwise. + */ +- (BOOL)isString; + +/** + * Returns true if the type of this value is scalar (Num, Enum, Int, String), and false otherwise. + */ +- (BOOL)isScalar; + +/** + * Return true if the type of this value is a Struct, and false otherwise. + */ +- (BOOL)isStruct; + +/** + * Return true if the type of this value is a Void, and false otherwise. + */ +- (BOOL)isVoid; + +/** + * Used to put the resource's value to the device + * @param buffer the data buffer being sent to the device + * + * The PUT is based on RESTful resourcing + */ +- (void)putData:(EMSerialPacket*)buffer; + +/** + * Used to get the resource's value from the device + * @param buffer the data buffer being received from the device + * @param size the amount of data the buffer holds + * + * The GET is based on RESTful resourcing + */ +- (void)getDataOfSize:(int)size fromBuffer:(EMSerialPacket*)buffer; + +/** + * Assign a double value to a resource. + * @param value the value to be assigned, represented as a double + */ +- (void)setDoubleValue:(double)value; + +/** + * Assign a long value to a resource. For Num and Enum resources, this sets the ordinal value for the resource instead of setting the value directly. + * @param value the value to be assigned, represented as a long + */ +- (void)setLongValue:(long long)value; + +/** + * Assign a string value to a resource. + * @param value the value to be assigned, represented as a String + */ +- (void)setStringValue:(NSString*)value; + +/** + * This ResourceValue, as a double. + * @exception UsageError the type of this value is not a Num + */ +- (double)doubleValue; + +/** + * This ResourceValue, as a long. For Num and Enum resources, this returns the ordinal value for the resource instead of the actual value. + * @exception UsageError the type of this value is not a Scalar + */ +- (long long)longValue; + +/** + * This ResourceValue, as a String. + * @exception UsageError the type of this value is not a Scalar + */ +- (NSString*)stringValue; + +/** + * Assign another resource value's value to this resource value + * @param source the ResourceValue who's value you wish to assign to this EMResourceValue instance + */ +- (void)copyFromResource:(EMResourceValue*)source; + +/** + * Reset this ResourceValue to its initial state upon creation + */ +- (void)reset; + +/** + * The minimum numerical value for this ResourceValue. + */ +- (double)min; + +/** + * The maximum numerical value for this ResourceValue. + */ +- (double)max; + +/** + * The step for this ResourceValue. + */ +- (double)step; + +/** + * The maximum number of distinct values for this ResourceValue. + */ +- (long)length; + +/** + * An array of acceptable enum values for this ResourceValue. + */ +- (NSArray *)enumValues; + +/** + * An array of acceptable field names for this ResourceValue. + */ +- (NSArray *)fieldNames; + +/** + * Select a ResourceValue element from a ResourceValue Array by index + * @param index the element to be selected + * @return the indexed element + */ +- (EMResourceValue*)index:(int)index; + +/** + * Select a ResourceValue element from a ResourceValue Struct by field name + * @param fieldName the element to be selected + * @return the ResourceValue held in the selected field + */ +- (EMResourceValue*)select:(NSString*)fieldName; + +/** + * Return the end-of-file status for this ResourceValue File. For internal use only. + */ +- (BOOL)fileEof; + +/** + * Prepare a local file associated with this ResourceValue File for reading. For internal use only; + d*/ +- (void)fileFetch; + +/** + * Prepare a local file associated with this ResourceValue File for writing. For internal use only; + */ +- (void)fileStore; + +-(NSData *)fileData; + +@end + +/** + * A container for different types of resource values. + * Instances of this class are used to hold values for resources whose types is + * either Void, Int, Enum, Num, String, Struct, Array, or File. + * + * See also: + * + * - [EMSchema newResourceValueForResourceNamed:] + * + * Written by Bob Frankel and Carolyn Vaughan + */ +@interface EMResourceValue : NSObject { + +} + +/** + * The name of the resource. + */ +@property(readonly) NSString* name; + +/** + * The resource schema associated with the resource. + */ +@property(readonly) EMSchema* resourceSchema; + +/** + * The type of the resource. + */ +@property(readonly) NSString* type; + +- (int)valueSize; +/** + * Create a EMResourceValue. This method is used internally by the framework. + * @param name the name given to the newly-created value + * @param type the type of the newly-created value + * @param resourceSchema an EMSchema instance + * @return a new EMResourceValue instance + */ ++ (EMResourceValue*)resourceWithName:(NSString*)name ofType:(NSString*)type fromSchema:(EMSchema*)resourceSchema; + +@end + diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSchema.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSchema.h new file mode 100644 index 0000000..e219126 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSchema.h @@ -0,0 +1,237 @@ +// +// EMSchema.h +// Emmoco +// +// Created by bob frankel on 8/7/11. +// Copyright 2011 Emmoco, Inc.. All rights reserved. +// + +#import +#import "EMResourceValue.h" + +typedef enum { + EMResourceAccessTypeRead = 1 << 0, + EMResourceAccessTypeWrite = 1 << 1, + EMResourceAccessTypeIndicate = 1 << 2, +} EMResourceAccessType; + +@class EMResourceValue; + +/** + * A set of meta-data describing a set of resources. + * Written by Bob Frankel and Carolyn Vaughan + */ +@interface EMSchema : NSObject { + +} + +/** + * Creates a EMResourceSchema instance from the contents of a file. + * @param fileName a file containing JSON content + * @return a newly created EMResourceSchema instance + */ ++ (EMSchema*)schemaFromFile:(NSString*)fileName; + +/** + * Get the read/write/indicator access capabilities of a named resource + * @param resourceName a valid resource name in this schema + * @return an NSString containing the characters 'r', 'w', and 'i' as appropriate + * @exception UsageError the resource name is invalid + */ +- (EMResourceAccessType)accessForResource:(NSString*)resourceName; + +/** + * Returns a sorted NSArray containing all application resource names in this schema + */ +- (NSArray*)applicationResources; + +/** + * Get the parameters associated with a number type. + * @param type a valid number type name in this schema + * @return a four-element NSArray holding the min, max, step, and prec parameters of this type + * @exception UsageError the number type name is invalid + */ +- (NSArray*)numberParametersForType:(NSString*)type; + +/** +* Get the representation type associated with a number type. +* @param type a valid number type name in this schema +* @return an integral representation type +* @exception UsageError the number type name is invalid +*/ +- (NSString*)numericRepresentationForType:(NSString*)type; + +/** + * Get the values associated with an enum type. + * @param type a valid enum type name in this schema + * @return a NSDictionary containing enum value names and their corresponding ordinal + * @exception UsageError the enum type name is invalid + */ +- (NSDictionary*)enumValuesForType:(NSString*)type; + +/** + * Get the names of the fields associated with a struct type. + * @param type a valid struct type name in this schema + * @return a NSArray containing field names + * @exception UsageError the struct type name is invalid + */ +- (NSArray*)fieldNamesForType:(NSString*)type; + +/** + * Get the fields associated with a struct type. + * @param type a valid struct type name in this schema + * @return a NSDictionary containing field names and their corresponding type code + * @exception UsageError the struct type name is invalid + */ +- (NSDictionary*)fieldsForType:(NSString*)type; + +/** + * Get the length of this string type. + * @param type a valid string type name in this schema + * @return the length of this string type + * @exception UsageError the string type name is invalid + */ +- (int)stringLengthForType:(NSString*)type; + +/** + * Returns the fully-qualified name of this schema. + */ +- (NSString*)name; + +/** + * Returns the protocol level of this schema + */ +- (int)protocolLevel; + +/** + * Returns an NSDictionary containing all resource names in this schema and their corresponding type code. + */ +- (NSDictionary*)resources; + +/** + * Returns the maximum size in bytes amongst all resource types in this schema. + */ +- (int)maxResourceSize; + +/** + * Get the alignment of a named resource + * @param resourceName a named resource in this schema + * @return the alignment in bytes of this resource + * @exception UsageError the resource name is invalid + */ +- (int)byteAlignmentForResource:(NSString*)resourceName; + +/** + * Get the unique id associated with a named resource + * @param resourceName a named resource in this schema + * @return the corresponding resource id + * @exception UsageError the resource name is invalid + */ +- (int)idForResource:(NSString*)resourceName; + +/** + * Get the resource name associated with this resource id + * @param resourceId a resource id + * @return the corresponding resource name + * @exception UsageError the resource id is invalid + * @see idForResource: + */ +- (NSString*)nameForResourceWithID:(NSInteger)resourceId; + +/** + * Get the size of a named resource + * @param resourceName a named resource in this schema + * @return the size in bytes of this resource + * @exception UsageError the resource name is invalid + */ +- (int)sizeForResourceNamed:(NSString*)resourceName; + +/** + * Get the size of a standard scalar type + * @param type a scalar type code + * @return the size in bytes of this standard type + * @exception UsageError the type code is invalid + */ +- (int)sizeForStandardType:(NSString*)type; + +/** + * Get the alignment of a standard scalar type + * @param type a scalar type code + * @return the alignment in bytes of this standard type + * @exception UsageError the type code is invalid + */ +- (int)alignmentForStandardType:(NSString*)type; + +/** + * Returns a sorted NSArray containing all system resource names in this schema + */ +- (NSArray*)systemResources; + +/** + * Get the type of a named resource + * @param resourceName the name of a resource in this schema + * @return the type code associated with this resource + * @exception UsageError the resource name is invalid + */ +- (NSString*)typeOfResourceNamed:(NSString*)resourceName; + +/** + * Returns the owner of the schema definition this schema was created from. + */ +- (NSString*)owner; + +/** + * Returns the version of the schema definition this schema was created from. + */ +- (NSString*)version; + +/** + * Returns the description associated with this schema. + */ +- (NSString*)schemaDescription; + +/** + * Returns the UUID associated with this schema. + */ +- (NSString*)UUID; + +/** + * Returns the UUID associated with this schema as an array of numbers. + */ +- (NSArray *)numericalUUID; + +/** + * Returns the build number associated with this schema as an array of numbers. + */ +- (NSArray *)buildDate; + +/** + * Returns the schema hash associated with this schema as an array of numbers. + */ +- (NSArray *)schemaHash; + +/** + * Returns the name of the resource that is being broadcast in the advertising packets. Returns nil if none. + */ +-(NSString *)broadcastResourceName; + +/** + * Create a new ResourceValue instance for a named resource. + * @param resourceName a named resource in this schema + * @return a newly created EMResourceValue to a value for this resource + * @exception UsageError the resource name is invalid + */ +- (EMResourceValue*)newResourceValueForResourceNamed:(NSString*)resourceName; + +/* + * TODO - fill in this documentation + */ +- (BOOL)validateResourceNamed:(NSString*)resourceName withAccess:(EMResourceAccessType)access; + +-(NSNumber *)embeddedProtocolNumber; + +-(int)packedSizeForType:(NSString*)type; +-(int)unpackedSizeForType:(NSString*)type; +-(NSArray *)fieldPackingsForType:(NSString*)type; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSerialPacket.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSerialPacket.h new file mode 100644 index 0000000..4e10fbf --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSerialPacket.h @@ -0,0 +1,46 @@ +// +// EMSerialPacket.h +// Emmoco +// +// Created by bob frankel on 8/18/11. +// Copyright 2011 Emmoco, Inc.. All rights reserved. +// + +#import +#import "EMSchema.h" +#import "EMChecksum.h" + +@class EMSchema; + +#define EM_MAX_DATA_SIZE 240 +#define EM_HEADER_SIZE 4 + +enum { + EMSerialPacket_NOP = 1 << 0, + EMSerialPacket_FETCH = 1 << 1, + EMSerialPacket_FETCH_DONE = 1 << 2, + EMSerialPacket_STORE = 1 << 3, + EMSerialPacket_STORE_DONE = 1 << 4, + EMSerialPacket_INDICATOR = 1 << 5 +}; +typedef NSUInteger EMSerialPacketKind; + +typedef struct EMSerialPacketHeader { + int size; + EMSerialPacketKind kind; + int resourceId; +} EMSerialPacketHeader; + +@interface EMSerialPacket : NSObject { + +} + +@property(readonly) uint8_t* buffer; +@property(readonly) int length; + +- (void)addInteger:(long long)anInt forByteSize:(int)size; +- (void)alignTo:(int)align; +- (void)rewind; +- (long long)scanIntegerForByteSize:(int)size asUnsigned:(BOOL)isUnsigned; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSignalStrengthFilter.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSignalStrengthFilter.h new file mode 100644 index 0000000..241d8fc --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMSignalStrengthFilter.h @@ -0,0 +1,16 @@ +// +// EMSignalStrengthFilter.h +// EMFramework +// +// Created by Dexter Weiss on 8/9/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import + +@protocol EMSignalStrengthFilter + +-(id)initWithInitialSignalStrengthValue:(float)signalStrengthValue; +-(float)addSignalStrengthValue:(float)signalStrengthValue; + +@end diff --git a/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMTypes.h b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMTypes.h new file mode 100644 index 0000000..9aa20fb --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/Headers/EMTypes.h @@ -0,0 +1,21 @@ +// +// EMDevice.h +// Emmoco +// +// Copyright 2012 Emmoco, Inc.. All rights reserved. +// + +typedef enum { + EMOperationStatusSuccess, + EMOperationStatusFailure +} EMOperationStatus; + +/* + * Block type used to doing callbacks to user programs. User programs define callbacks conforming to this + * block signature and the framework calls them back suppling status value and data object + */ +typedef void(^EMResourceBlock)(EMOperationStatus status, EMResourceValue *value); + +typedef void(^EMStatusBlock)(EMOperationStatus status); + +typedef void(^EMFailBlock)(NSError *error); \ No newline at end of file diff --git a/DUREX Vendor Control/EmmocoMobileFramework/README.md b/DUREX Vendor Control/EmmocoMobileFramework/README.md new file mode 100644 index 0000000..a2ec505 --- /dev/null +++ b/DUREX Vendor Control/EmmocoMobileFramework/README.md @@ -0,0 +1,18 @@ +# Adding EMFramework to your project +================== +### Library dependencies +1) libEMFramework.a +2) CoreBluetooth.framework + +================== + +### Add the headers to your project + +All headers found in the `EmmocoMobileFramework/Headers` folder should be included. + +================== + +### Add Schemas to your project + +Add the system.json file from the Assets/ directory into your application bundle. + diff --git a/DUREX Vendor Control/FirstAppExample/DUREX Vendor Control-Info.plist b/DUREX Vendor Control/FirstAppExample/DUREX Vendor Control-Info.plist new file mode 100644 index 0000000..c189583 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/DUREX Vendor Control-Info.plist @@ -0,0 +1,38 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleDisplayName + ${PRODUCT_NAME} + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.emmoco.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1.0 + LSRequiresIPhoneOS + + UIMainStoryboardFile + MainStoryboard + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + + + diff --git a/DUREX Vendor Control/FirstAppExample/DUREX Vendor Control-Prefix.pch b/DUREX Vendor Control/FirstAppExample/DUREX Vendor Control-Prefix.pch new file mode 100644 index 0000000..743435c --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/DUREX Vendor Control-Prefix.pch @@ -0,0 +1,16 @@ +// +// Prefix header +// +// The contents of this file are implicitly included at the beginning of every source file. +// + +#import + +#ifndef __IPHONE_3_0 +#warning "This project uses features only available in iOS SDK 3.0 and later." +#endif + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/DUREX Vendor Control/FirstAppExample/EMAppDelegate.h b/DUREX Vendor Control/FirstAppExample/EMAppDelegate.h new file mode 100644 index 0000000..444b643 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/EMAppDelegate.h @@ -0,0 +1,16 @@ +// +// EMAppDelegate.h +// TestAppExample +// +// Created by Dexter Weiss on 10/10/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import + +@interface EMAppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; +@property (nonatomic, strong) IBOutlet UINavigationController *navController; + +@end diff --git a/DUREX Vendor Control/FirstAppExample/EMAppDelegate.m b/DUREX Vendor Control/FirstAppExample/EMAppDelegate.m new file mode 100644 index 0000000..05281e4 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/EMAppDelegate.m @@ -0,0 +1,69 @@ +// +// EMAppDelegate.m +// TestAppExample +// +// Created by Dexter Weiss on 10/10/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import "EMAppDelegate.h" +#import "EMFramework.h" +#import "EMDevicePickerViewController.h" + +@interface EMAppDelegate () { +} + +@end + +@implementation EMAppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + UINavigationController *navController = (UINavigationController *)[[self window] rootViewController]; + [self setNavController:navController]; + [[self navController] setDelegate:self]; + + [[EMConnectionListManager sharedManager] startUpdating]; + return YES; +} + +- (void)applicationWillResignActive:(UIApplication *)application +{ + // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. + // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. +} + +- (void)applicationDidEnterBackground:(UIApplication *)application +{ + // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. + // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. +} + +- (void)applicationWillEnterForeground:(UIApplication *)application +{ + [[EMConnectionListManager sharedManager] startUpdating]; +} + +- (void)applicationDidBecomeActive:(UIApplication *)application +{ + // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. +} + +- (void)applicationWillTerminate:(UIApplication *)application +{ + // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. +} + +#pragma mark - Navigation Controller + +- (void)navigationController:(UINavigationController *)navigationController didShowViewController:(UIViewController *)viewController animated:(BOOL)animated { + if ([viewController isKindOfClass:[EMDevicePickerViewController class]]) { + [[EMConnectionManager sharedManager] disconnectWithSuccess:^{ + + } onFail:^(NSError *error) { + + }]; + } +} + +@end diff --git a/DUREX Vendor Control/FirstAppExample/EMConnectingView.xib b/DUREX Vendor Control/FirstAppExample/EMConnectingView.xib new file mode 100644 index 0000000..7e84038 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/EMConnectingView.xib @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.h b/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.h new file mode 100644 index 0000000..6caaba7 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.h @@ -0,0 +1,13 @@ +// +// EMDevicePickerViewController.h +// TestAppExample +// +// Created by Dexter Weiss on 10/10/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import + +@interface EMDevicePickerViewController : UITableViewController + +@end diff --git a/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m b/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m new file mode 100644 index 0000000..317f27f --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m @@ -0,0 +1,103 @@ +// +// EMDevicePickerViewController.m +// TestAppExample +// +// Created by Dexter Weiss on 10/10/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import "EMDevicePickerViewController.h" +#import "EMFramework.h" +#import + +@interface EMDevicePickerViewController () + +@property (nonatomic, strong) IBOutlet UIView *connectingView; +@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *activityIndicator; +@property (nonatomic, strong) IBOutlet UIView *popoverView; + +@end + +@implementation EMDevicePickerViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + [[NSBundle mainBundle] loadNibNamed:@"EMConnectingView" owner:self options:nil]; + [[[self popoverView] layer] setCornerRadius:10.0f]; + [[self connectingView] setHidden:YES]; + [[self connectingView] setFrame:[[self view] bounds]]; + [[self view] addSubview:[self connectingView]]; + [[EMConnectionListManager sharedManager] addObserver:self forKeyPath:@"devices" options:0 context:NULL]; +} + +-(void)_showConnectingView { + [[self activityIndicator] startAnimating]; + [[self connectingView] setHidden:NO]; +} + +-(void)_hideConnectingView { + [[self activityIndicator] stopAnimating]; + [[self connectingView] setHidden:YES]; +} + +-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { + if (object == [EMConnectionListManager sharedManager]) { + [[self tableView] reloadData]; + } +} + +#pragma mark - Table View Methods + +-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView { + return 1; +} + +-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { + return MAX([[[EMConnectionListManager sharedManager] devices] count], 1); +} + +-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { + UITableViewCell *deviceCell = [tableView dequeueReusableCellWithIdentifier:@"DeviceCell"]; + [[deviceCell detailTextLabel] setTextColor:[UIColor darkGrayColor]]; + + EMDeviceBasicDescription *description = nil; + if ([indexPath row] < [[[EMConnectionListManager sharedManager] devices] count]) { + description = [[[EMConnectionListManager sharedManager] devices] objectAtIndex:[indexPath row]]; + } + + if (description) { + [[deviceCell textLabel] setText:[description name]]; + [[deviceCell detailTextLabel] setText:[NSString stringWithFormat:@"Signal Strength: %0.0f", [description signalStrength]]]; + } + else { + [[deviceCell textLabel] setText:NSLocalizedString(@"Searching for devices...", @"No devices found string")]; + [[deviceCell detailTextLabel] setText:nil]; + } + + return deviceCell; +} + +-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { + [self _showConnectingView]; + EMDeviceBasicDescription *description = [[[EMConnectionListManager sharedManager] devices] objectAtIndex:[indexPath row]]; + [[EMConnectionManager sharedManager] connectDevice:description onSuccess:^{ + [self _hideConnectingView]; + [self performSegueWithIdentifier:@"ConnectionSegue" sender:self]; + } onFail:^(NSError *error) { + [self _hideConnectingView]; + UIAlertView *alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Connection Failed", @"Alert title") message:NSLocalizedString(@"An error occurred while trying to connect to the selected device", @"Alert message") delegate:nil cancelButtonTitle:NSLocalizedString(@"Close", @"Close button") otherButtonTitles:nil]; + [alert show]; + }]; +} + +@end diff --git a/DUREX Vendor Control/FirstAppExample/EMFirstAppViewController.h b/DUREX Vendor Control/FirstAppExample/EMFirstAppViewController.h new file mode 100644 index 0000000..bce8ada --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/EMFirstAppViewController.h @@ -0,0 +1,11 @@ +#import + +@interface EMFirstAppViewController : UIViewController + +@property (nonatomic, strong) IBOutlet UILabel *valueLabel; +@property (nonatomic, strong) IBOutlet UISlider *valueSlider; + +-(IBAction)sliderChanged:(UISlider *)sender; +-(IBAction)sliderDidFinishChanging:(UISlider *)sender; + +@end diff --git a/DUREX Vendor Control/FirstAppExample/EMFirstAppViewController.m b/DUREX Vendor Control/FirstAppExample/EMFirstAppViewController.m new file mode 100644 index 0000000..e3b40fd --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/EMFirstAppViewController.m @@ -0,0 +1,75 @@ +#import "EMFirstAppViewController.h" +#import "EMFramework.h" + +@interface EMFirstAppViewController () { + IBOutlet UIActivityIndicatorView *_activityIndicator; + NSTimer *_writeTimer; +} + +@end + +@implementation EMFirstAppViewController + +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil +{ + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; + if (self) { + // Custom initialization + } + return self; +} + +- (void)viewDidLoad +{ + [super viewDidLoad]; + [_activityIndicator setHidden:YES]; + [self setTitle:[[[EMConnectionManager sharedManager] connectedDevice] name]]; + [[EMConnectionManager sharedManager] readResource:@"data" onSuccess:^(id readValue) { + [[self valueLabel] setText:[NSString stringWithFormat:@"%d", [readValue intValue]]]; + [[self valueSlider] setValue:[readValue floatValue]]; + } onFail:^(NSError *error) { + + }]; + + [[EMConnectionManager sharedManager] addObserver:self forKeyPath:@"connectionState" options:0 context:NULL]; +} + +-(void)dealloc { + [[EMConnectionManager sharedManager] removeObserver:self forKeyPath:@"connectionState"]; +} + +-(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context { + if (object == [EMConnectionManager sharedManager]) { + if ([keyPath isEqualToString:@"connectionState"]) { + if ([[EMConnectionManager sharedManager] connectionState] == EMConnectionStateDisrupted) { + [[self navigationController] popToRootViewControllerAnimated:YES]; + } + } + } +} + +#pragma mark - Interface actions + +-(IBAction)sliderChanged:(UISlider *)sender { + [[self valueLabel] setText:[NSString stringWithFormat:@"%0.0f", [sender value]]]; + if (_writeTimer) { + [_writeTimer invalidate]; + _writeTimer = nil; + } + _writeTimer = [NSTimer scheduledTimerWithTimeInterval:0.1 target:self selector:@selector(sliderDidFinishChanging:) userInfo:nil repeats:NO]; +} + +-(IBAction)sliderDidFinishChanging:(UISlider *)sender { + [_writeTimer invalidate]; + _writeTimer = nil; + [_activityIndicator startAnimating]; + [_activityIndicator setHidden:NO]; + + [[EMConnectionManager sharedManager] writeValue:[NSNumber numberWithFloat:[[self valueSlider] value]] toResource:@"data" onSuccess:^{ + [_activityIndicator setHidden:YES]; + [_activityIndicator stopAnimating]; + } onFail:^(NSError *error) { + + }]; +} +@end diff --git a/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/120 - App Icon@2x.png b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/120 - App Icon@2x.png new file mode 100644 index 0000000..db853cc --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/120 - App Icon@2x.png diff --git a/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/29 - App Icon@2x.png b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/29 - App Icon@2x.png new file mode 100644 index 0000000..3165ab3 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/29 - App Icon@2x.png diff --git a/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/40 - App Icon@2x.png b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/40 - App Icon@2x.png new file mode 100644 index 0000000..6444f2f --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/40 - App Icon@2x.png diff --git a/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/Contents.json b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..837c342 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,26 @@ +{ + "images" : [ + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "29 - App Icon@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "40 - App Icon@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "120 - App Icon@2x.png", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/DUREX Vendor Control/FirstAppExample/Images.xcassets/LaunchImage.launchimage/Contents.json b/DUREX Vendor Control/FirstAppExample/Images.xcassets/LaunchImage.launchimage/Contents.json new file mode 100644 index 0000000..c79ebd3 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/Images.xcassets/LaunchImage.launchimage/Contents.json @@ -0,0 +1,23 @@ +{ + "images" : [ + { + "orientation" : "portrait", + "idiom" : "iphone", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + }, + { + "orientation" : "portrait", + "idiom" : "iphone", + "subtype" : "retina4", + "extent" : "full-screen", + "minimum-system-version" : "7.0", + "scale" : "2x" + } + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/DUREX Vendor Control/FirstAppExample/MainStoryboard.storyboard b/DUREX Vendor Control/FirstAppExample/MainStoryboard.storyboard new file mode 100644 index 0000000..fe030ad --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/MainStoryboard.storyboard @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/DUREX Vendor Control/FirstAppExample/en.lproj/InfoPlist.strings b/DUREX Vendor Control/FirstAppExample/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/DUREX Vendor Control/FirstAppExample/main.m b/DUREX Vendor Control/FirstAppExample/main.m new file mode 100644 index 0000000..90afaba --- /dev/null +++ b/DUREX Vendor Control/FirstAppExample/main.m @@ -0,0 +1,18 @@ +// +// main.m +// TestAppExample +// +// Created by Dexter Weiss on 10/10/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import + +#import "EMAppDelegate.h" + +int main(int argc, char * argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([EMAppDelegate class])); + } +} diff --git a/DUREX Vendor Control/FirstAppExampleTests/FirstAppTests-Info.plist b/DUREX Vendor Control/FirstAppExampleTests/FirstAppTests-Info.plist new file mode 100644 index 0000000..b906695 --- /dev/null +++ b/DUREX Vendor Control/FirstAppExampleTests/FirstAppTests-Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + com.emmoco.${PRODUCT_NAME:rfc1034identifier} + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/DUREX Vendor Control/FirstAppExampleTests/TestAppExampleTests.m b/DUREX Vendor Control/FirstAppExampleTests/TestAppExampleTests.m new file mode 100644 index 0000000..334ae3f --- /dev/null +++ b/DUREX Vendor Control/FirstAppExampleTests/TestAppExampleTests.m @@ -0,0 +1,34 @@ +// +// TestAppExampleTests.m +// TestAppExampleTests +// +// Created by Dexter Weiss on 10/10/13. +// Copyright (c) 2013 Emmoco. All rights reserved. +// + +#import + +@interface TestAppExampleTests : XCTestCase + +@end + +@implementation TestAppExampleTests + +- (void)setUp +{ + [super setUp]; + // Put setup code here. This method is called before the invocation of each test method in the class. +} + +- (void)tearDown +{ + // Put teardown code here. This method is called after the invocation of each test method in the class. + [super tearDown]; +} + +- (void)testExample +{ + XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); +} + +@end diff --git a/DUREX Vendor Control/FirstAppExampleTests/en.lproj/InfoPlist.strings b/DUREX Vendor Control/FirstAppExampleTests/en.lproj/InfoPlist.strings new file mode 100644 index 0000000..477b28f --- /dev/null +++ b/DUREX Vendor Control/FirstAppExampleTests/en.lproj/InfoPlist.strings @@ -0,0 +1,2 @@ +/* Localized versions of Info.plist keys */ + diff --git a/DUREX Vendor Control/durex.json b/DUREX Vendor Control/durex.json new file mode 100644 index 0000000..5bd3423 --- /dev/null +++ b/DUREX Vendor Control/durex.json @@ -0,0 +1,221 @@ +{ + "resources": { + "$schemaHash": { + "id": -6, + "align": 1, + "attributes": {"readonly": true}, + "type": "A20:u1", + "access": "r", + "size": 20 + }, + "$eapProtocolLevel": { + "id": -3, + "align": 2, + "attributes": {"readonly": true}, + "type": "u2", + "access": "r", + "size": 2 + }, + "$mcmProtocolLevel": { + "id": -2, + "align": 2, + "attributes": {"readonly": true}, + "type": "u2", + "access": "r", + "size": 2 + }, + "messageAvailable": { + "id": 4, + "align": 1, + "attributes": {"indicator": true}, + "type": "E:@emmoco.com.DUREX/BOOLEAN", + "access": "irw", + "size": 1 + }, + "numBytes": { + "id": 1, + "align": 1, + "attributes": {}, + "type": "u1", + "access": "rw", + "size": 1 + }, + "$mobileRssi": { + "id": -8, + "align": 1, + "attributes": {"readonly": true}, + "type": "i1", + "access": "r", + "size": 1 + }, + "data": { + "id": 2, + "align": 1, + "attributes": {}, + "type": "C:229", + "access": "rw", + "size": 229 + }, + "$mcmDisconnect": { + "id": -9, + "align": 1, + "attributes": {"writeonly": true}, + "type": "u1", + "access": "w", + "size": 1 + }, + "$eapBuildDate": { + "id": -4, + "align": 1, + "attributes": {"readonly": true}, + "type": "A8:u1", + "access": "r", + "size": 8 + }, + "$resourceCount": { + "id": -7, + "align": 1, + "attributes": {"readonly": true}, + "type": "S:system@emmoco.com.System/ResourceCount", + "access": "r", + "size": 2 + }, + "numPackets": { + "id": 3, + "align": 1, + "attributes": {}, + "type": "u1", + "access": "rw", + "size": 1 + }, + "$fileIndexReset": { + "id": -5, + "align": 2, + "attributes": {"writeonly": true}, + "type": "i2", + "access": "w", + "size": 2 + } + }, + "resourceNamesSys": [ + "$eapBuildDate", + "$eapProtocolLevel", + "$fileIndexReset", + "$mcmDisconnect", + "$mcmProtocolLevel", + "$mobileRssi", + "$resourceCount", + "$schemaHash" + ], + "manifest": { + "protocolLevel": 12, + "hash": [ + 245, + 13, + 216, + 92, + 22, + 189, + 34, + 32, + 16, + 124, + 194, + 50, + 87, + 152, + 227, + 110 + ], + "toolVersion": "12.0.0.201211010336", + "name": "DUREX", + "$$md5": "f316f8e8839db2a2939bf3e0120a1fdf", + "build": [ + 61, + 15, + 116, + 250, + 69, + 1, + 0, + 0 + ], + "date": "2014-05-14T13:18:01T", + "maxAlign": 2, + "maxSize": 229, + "version": "1.0.0" + }, + "resourceNames": [ + "numBytes", + "data", + "numPackets", + "messageAvailable", + "$mcmProtocolLevel", + "$eapProtocolLevel", + "$eapBuildDate", + "$fileIndexReset", + "$schemaHash", + "$resourceCount", + "$mobileRssi", + "$mcmDisconnect" + ], + "attributes": { + "description": "", + "version": "1.0.0" + }, + "types": { + "system@emmoco.com.System/ResourceCount": { + "align": 1, + "type": "S:system@emmoco.com.System/ResourceCount", + "size": 2, + "fields": [ + { + "pad": 0, + "align": 1, + "name": "app", + "type": "u1", + "size": 1 + }, + { + "pad": 0, + "align": 1, + "name": "sys", + "type": "u1", + "size": 1 + } + ] + }, + "std:i2": { + "align": 2, + "size": 2 + }, + "std:i1": { + "align": 1, + "size": 1 + }, + "@emmoco.com.DUREX/BOOLEAN": { + "values": [ + "TRUE", + "FALSE" + ], + "align": 1, + "type": "E:@emmoco.com.DUREX/BOOLEAN", + "size": 1 + }, + "std:u1": { + "align": 1, + "size": 1 + }, + "std:u2": { + "align": 2, + "size": 2 + } + }, + "resourceNamesApp": [ + "data", + "messageAvailable", + "numBytes", + "numPackets" + ], + "imports": {"@emmoco.com.DUREX": true} +} \ No newline at end of file diff --git a/DUREXLaunchpad/.settings/org.eclipse.ltk.core.refactoring.prefs b/DUREXLaunchpad/.settings/org.eclipse.ltk.core.refactoring.prefs new file mode 100644 index 0000000..b196c64 --- /dev/null +++ b/DUREXLaunchpad/.settings/org.eclipse.ltk.core.refactoring.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false