Commit cd9f3184c2ea5f18339477cfd476f549a18d0d2c

Authored by Imanol-Mikel Barba Sabariego
1 parent 90effadf

--no commit message

Showing 38 changed files with 457 additions and 2355 deletions
DUREX Vendor Control/Base.lproj/Localizable.strings 0 → 100644
  1 +/*
  2 + Localizable.strings
  3 + DUREX test
  4 +
  5 + Created by Imanol Barba on 8/11/14.
  6 + Copyright (c) 2014 Emmoco. All rights reserved.
  7 +*/
  8 +
  9 +"PIECE OF CRAP 2000 PRO ULTRA" = "PIECE OF CRAP 2000 PRO ULTRA";
  10 +"FUCKING ONLINE" = "FUCKING ONLINE";
  11 +"Maintenance" = "Maintenance";
  12 +"Basic Configuration" = "Basic Configuration";
  13 +"Sending a Report" = "Sending a Report";
  14 +"Sensors" = "Sensors";
  15 +"Commands" = "Commands";
  16 +"CH1 presence" = "CH1 presence";
  17 +"CH2 presence" = "CH2 presence";
  18 +"CH3 presence" = "CH3 presence";
  19 +"CH4 presence" = "CH4 presence";
  20 +"CH5 presence" = "CH5 presence";
  21 +"CH6 presence" = "CH6 presence";
  22 +"CH7 presence" = "CH7 presence";
  23 +"CH8 presence" = "CH8 presence";
  24 +"CH1 spin" = "CH1 spin";
  25 +"CH2 spin" = "CH2 spin";
  26 +"CH3 spin" = "CH3 spin";
  27 +"CH4 spin" = "CH4 spin";
  28 +"CH5 spin" = "CH5 spin";
  29 +"CH6 spin" = "CH6 spin";
  30 +"CH7 spin" = "CH7 spin";
  31 +"CH8 spin" = "CH8 spin";
  32 +"Door sensor" = "Door sensor";
  33 +"Wall sensor" = "Wall sensor";
  34 +"Oscillator" = "Oscillator";
  35 +"1€ Coin presence" = "1€ Coin presence";
  36 +"50c Coin presence" = "50c Coin presence";
  37 +"1€ Coin spin" = "1€ Coin spin";
  38 +"50c Coin spin" = "50c Coin spin";
  39 +"Sales log" = "Sales log";
  40 +"Incident report" = "Incident report";
  41 +"Send report" = "Send report";
  42 +"Communication error" = "Communication error";
  43 +"Error while trying to connect to the device" = "Error while trying to connect to the device";
  44 +"Signal Strength: %0.0f" = "Signal Strength: %0.0f";
  45 +"Searching for devices..." = "Searching for devices...";
  46 +"Connection Failed" = "Connection Failed";
  47 +"An error occurred while trying to connect to the selected device" = "An error occurred while trying to connect to the selected device";
  48 +"Close" = "Close";
0 49 \ No newline at end of file
... ...
DUREX Vendor Control/Base.lproj/back_arrow.png 0 → 100644

5.25 KB

DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.pbxproj
... ... @@ -16,18 +16,18 @@
16 16 347186A618070E7200FA0FB2 /* libEMFramework.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 347186A518070E7200FA0FB2 /* libEMFramework.a */; };
17 17 347186AC18070FAB00FA0FB2 /* CoreBluetooth.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */; };
18 18 34AAB883189804FF0019860D /* DUREXAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB877189804FF0019860D /* DUREXAppDelegate.m */; };
19   - 34AAB884189804FF0019860D /* EMConnectingView.xib in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB878189804FF0019860D /* EMConnectingView.xib */; };
20 19 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */; };
21 20 34AAB889189804FF0019860D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB880189804FF0019860D /* main.m */; };
22   - 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB881189804FF0019860D /* MainStoryboard.storyboard */; };
23 21 34AAB88D189805300019860D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB88C189805300019860D /* Images.xcassets */; };
24   - F9127C8B19951B3500040C52 /* back_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = F9127C8A19951B3500040C52 /* back_arrow.png */; };
  22 + F961D804199A5F1000E9282C /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F961D806199A5F1000E9282C /* MainStoryboard.storyboard */; };
  23 + F961D80C199A5F2D00E9282C /* back_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = F961D80E199A5F2D00E9282C /* back_arrow.png */; };
  24 + F961D816199A5FA000E9282C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F961D814199A5FA000E9282C /* Localizable.strings */; };
  25 + F961D819199A711300E9282C /* EMConnectingView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F961D81B199A711300E9282C /* EMConnectingView.xib */; };
25 26 F98356D6192E835F00EA6821 /* InitialViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356D5192E835F00EA6821 /* InitialViewController.m */; };
26 27 F98356D8192E906600EA6821 /* bluetooth.png in Resources */ = {isa = PBXBuildFile; fileRef = F98356D7192E906600EA6821 /* bluetooth.png */; };
27 28 F98356DB192EAFD400EA6821 /* CommunicationProtocol.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356DA192EAFD400EA6821 /* CommunicationProtocol.m */; };
28 29 F98356E1192EC84700EA6821 /* MenuTableViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356E0192EC84700EA6821 /* MenuTableViewController.m */; };
29 30 F9A8EF7C192FE201009E7532 /* Stack.m in Sources */ = {isa = PBXBuildFile; fileRef = F9A8EF7B192FE201009E7532 /* Stack.m */; };
30   - F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */; };
31 31 F9C77F50192CDE30002DBE8A /* durex.json in Resources */ = {isa = PBXBuildFile; fileRef = F9C77F4F192CDE30002DBE8A /* durex.json */; };
32 32 /* End PBXBuildFile section */
33 33  
... ... @@ -66,15 +66,24 @@
66 66 347186AB18070FAB00FA0FB2 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = System/Library/Frameworks/CoreBluetooth.framework; sourceTree = SDKROOT; };
67 67 34AAB876189804FF0019860D /* DUREXAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DUREXAppDelegate.h; path = FirstAppExample/DUREXAppDelegate.h; sourceTree = SOURCE_ROOT; };
68 68 34AAB877189804FF0019860D /* DUREXAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = DUREXAppDelegate.m; path = FirstAppExample/DUREXAppDelegate.m; sourceTree = SOURCE_ROOT; };
69   - 34AAB878189804FF0019860D /* EMConnectingView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; name = EMConnectingView.xib; path = FirstAppExample/EMConnectingView.xib; sourceTree = SOURCE_ROOT; };
70 69 34AAB879189804FF0019860D /* EMDevicePickerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = EMDevicePickerViewController.h; path = FirstAppExample/EMDevicePickerViewController.h; sourceTree = SOURCE_ROOT; };
71 70 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = EMDevicePickerViewController.m; path = FirstAppExample/EMDevicePickerViewController.m; sourceTree = SOURCE_ROOT; };
72 71 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; };
73 72 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; };
74 73 34AAB880189804FF0019860D /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = FirstAppExample/main.m; sourceTree = SOURCE_ROOT; };
75   - 34AAB881189804FF0019860D /* MainStoryboard.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = MainStoryboard.storyboard; path = FirstAppExample/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; };
76 74 34AAB88C189805300019860D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FirstAppExample/Images.xcassets; sourceTree = SOURCE_ROOT; };
77   - F9127C8A19951B3500040C52 /* back_arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = back_arrow.png; sourceTree = SOURCE_ROOT; };
  75 + F961D807199A5F1800E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; };
  76 + F961D809199A5F2200E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/MainStoryboard.strings; sourceTree = "<group>"; };
  77 + F961D80B199A5F2300E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/MainStoryboard.strings; sourceTree = "<group>"; };
  78 + F961D80D199A5F2D00E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Base; path = Base.lproj/back_arrow.png; sourceTree = "<group>"; };
  79 + F961D80F199A5F3100E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = en; path = en.lproj/back_arrow.png; sourceTree = "<group>"; };
  80 + F961D810199A5F3100E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = es; path = es.lproj/back_arrow.png; sourceTree = "<group>"; };
  81 + F961D815199A5FA000E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
  82 + F961D817199A5FA300E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
  83 + F961D818199A5FA500E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = SOURCE_ROOT; };
  84 + F961D81A199A711300E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/EMConnectingView.xib; sourceTree = "<group>"; };
  85 + F961D81D199A711600E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/EMConnectingView.strings; sourceTree = "<group>"; };
  86 + F961D81F199A711700E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/EMConnectingView.strings; sourceTree = "<group>"; };
78 87 F98356D4192E835F00EA6821 /* InitialViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InitialViewController.h; sourceTree = SOURCE_ROOT; };
79 88 F98356D5192E835F00EA6821 /* InitialViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = InitialViewController.m; sourceTree = SOURCE_ROOT; };
80 89 F98356D7192E906600EA6821 /* bluetooth.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = bluetooth.png; sourceTree = SOURCE_ROOT; };
... ... @@ -84,7 +93,6 @@
84 93 F98356E0192EC84700EA6821 /* MenuTableViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MenuTableViewController.m; sourceTree = SOURCE_ROOT; };
85 94 F9A8EF7A192FE201009E7532 /* Stack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Stack.h; sourceTree = SOURCE_ROOT; };
86 95 F9A8EF7B192FE201009E7532 /* Stack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Stack.m; sourceTree = SOURCE_ROOT; };
87   - F9C77F4D192CDE18002DBE8A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = FirstAppExample/en.lproj/InfoPlist.strings; sourceTree = SOURCE_ROOT; };
88 96 F9C77F4F192CDE30002DBE8A /* durex.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = durex.json; sourceTree = SOURCE_ROOT; };
89 97 /* End PBXFileReference section */
90 98  
... ... @@ -147,7 +155,8 @@
147 155 3471866618070D9300FA0FB2 /* FirstApp */ = {
148 156 isa = PBXGroup;
149 157 children = (
150   - 34AAB881189804FF0019860D /* MainStoryboard.storyboard */,
  158 + F961D814199A5FA000E9282C /* Localizable.strings */,
  159 + F961D806199A5F1000E9282C /* MainStoryboard.storyboard */,
151 160 34AAB876189804FF0019860D /* DUREXAppDelegate.h */,
152 161 34AAB877189804FF0019860D /* DUREXAppDelegate.m */,
153 162 F98356D4192E835F00EA6821 /* InitialViewController.h */,
... ... @@ -171,12 +180,11 @@
171 180 3471866718070D9300FA0FB2 /* Supporting Files */ = {
172 181 isa = PBXGroup;
173 182 children = (
174   - F9127C8A19951B3500040C52 /* back_arrow.png */,
  183 + F961D80E199A5F2D00E9282C /* back_arrow.png */,
175 184 F98356D7192E906600EA6821 /* bluetooth.png */,
176 185 34AAB87E189804FF0019860D /* DUREX Vendor Control-Info.plist */,
177 186 34AAB87F189804FF0019860D /* DUREX Vendor Control-Prefix.pch */,
178 187 34AAB880189804FF0019860D /* main.m */,
179   - F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */,
180 188 );
181 189 name = "Supporting Files";
182 190 sourceTree = "<group>";
... ... @@ -215,7 +223,7 @@
215 223 347186A718070F7F00FA0FB2 /* Device Picker */ = {
216 224 isa = PBXGroup;
217 225 children = (
218   - 34AAB878189804FF0019860D /* EMConnectingView.xib */,
  226 + F961D81B199A711300E9282C /* EMConnectingView.xib */,
219 227 34AAB879189804FF0019860D /* EMDevicePickerViewController.h */,
220 228 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */,
221 229 );
... ... @@ -289,6 +297,8 @@
289 297 hasScannedForEncodings = 0;
290 298 knownRegions = (
291 299 en,
  300 + es,
  301 + Base,
292 302 );
293 303 mainGroup = 3471865418070D9300FA0FB2;
294 304 productRefGroup = 3471865E18070D9300FA0FB2 /* Products */;
... ... @@ -307,12 +317,12 @@
307 317 buildActionMask = 2147483647;
308 318 files = (
309 319 F98356D8192E906600EA6821 /* bluetooth.png in Resources */,
310   - 34AAB884189804FF0019860D /* EMConnectingView.xib in Resources */,
  320 + F961D819199A711300E9282C /* EMConnectingView.xib in Resources */,
311 321 F9C77F50192CDE30002DBE8A /* durex.json in Resources */,
312   - F9C77F4E192CDE18002DBE8A /* InfoPlist.strings in Resources */,
313   - F9127C8B19951B3500040C52 /* back_arrow.png in Resources */,
  322 + F961D80C199A5F2D00E9282C /* back_arrow.png in Resources */,
  323 + F961D816199A5FA000E9282C /* Localizable.strings in Resources */,
314 324 34AAB88D189805300019860D /* Images.xcassets in Resources */,
315   - 34AAB88A189804FF0019860D /* MainStoryboard.storyboard in Resources */,
  325 + F961D804199A5F1000E9282C /* MainStoryboard.storyboard in Resources */,
316 326 );
317 327 runOnlyForDeploymentPostprocessing = 0;
318 328 };
... ... @@ -358,14 +368,48 @@
358 368 /* End PBXTargetDependency section */
359 369  
360 370 /* Begin PBXVariantGroup section */
361   - F9C77F4C192CDE18002DBE8A /* InfoPlist.strings */ = {
  371 + F961D806199A5F1000E9282C /* MainStoryboard.storyboard */ = {
362 372 isa = PBXVariantGroup;
363 373 children = (
364   - F9C77F4D192CDE18002DBE8A /* en */,
  374 + F961D807199A5F1800E9282C /* Base */,
  375 + F961D809199A5F2200E9282C /* en */,
  376 + F961D80B199A5F2300E9282C /* es */,
365 377 );
366   - name = InfoPlist.strings;
  378 + name = MainStoryboard.storyboard;
  379 + path = FirstAppExample;
  380 + sourceTree = SOURCE_ROOT;
  381 + };
  382 + F961D80E199A5F2D00E9282C /* back_arrow.png */ = {
  383 + isa = PBXVariantGroup;
  384 + children = (
  385 + F961D80D199A5F2D00E9282C /* Base */,
  386 + F961D80F199A5F3100E9282C /* en */,
  387 + F961D810199A5F3100E9282C /* es */,
  388 + );
  389 + name = back_arrow.png;
  390 + sourceTree = SOURCE_ROOT;
  391 + };
  392 + F961D814199A5FA000E9282C /* Localizable.strings */ = {
  393 + isa = PBXVariantGroup;
  394 + children = (
  395 + F961D815199A5FA000E9282C /* Base */,
  396 + F961D817199A5FA300E9282C /* en */,
  397 + F961D818199A5FA500E9282C /* es */,
  398 + );
  399 + name = Localizable.strings;
367 400 sourceTree = "<group>";
368 401 };
  402 + F961D81B199A711300E9282C /* EMConnectingView.xib */ = {
  403 + isa = PBXVariantGroup;
  404 + children = (
  405 + F961D81A199A711300E9282C /* Base */,
  406 + F961D81D199A711600E9282C /* en */,
  407 + F961D81F199A711700E9282C /* es */,
  408 + );
  409 + name = EMConnectingView.xib;
  410 + path = FirstAppExample;
  411 + sourceTree = SOURCE_ROOT;
  412 + };
369 413 /* End PBXVariantGroup section */
370 414  
371 415 /* Begin XCBuildConfiguration section */
... ...
DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
DUREX Vendor Control/FirstAppExample/Base.lproj/EMConnectingView.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4510" systemVersion="13A598" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="EMDevicePickerViewController">
  8 + <connections>
  9 + <outlet property="activityIndicator" destination="TXV-o5-q4O" id="3kP-HD-UKe"/>
  10 + <outlet property="connectingView" destination="1" id="h9b-Dw-6WU"/>
  11 + <outlet property="popoverView" destination="6C5-kv-hwn" id="0IJ-WM-inw"/>
  12 + </connections>
  13 + </placeholder>
  14 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15 + <view contentMode="scaleToFill" id="1">
  16 + <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
  17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18 + <subviews>
  19 + <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6C5-kv-hwn">
  20 + <rect key="frame" x="10" y="102" width="300" height="123"/>
  21 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  22 + <subviews>
  23 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connecting to device" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vOa-V6-aku">
  24 + <rect key="frame" x="34" y="15" width="232" height="43"/>
  25 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  26 + <fontDescription key="fontDescription" type="system" pointSize="22"/>
  27 + <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  28 + <nil key="highlightedColor"/>
  29 + </label>
  30 + <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="TXV-o5-q4O">
  31 + <rect key="frame" x="132" y="66" width="37" height="37"/>
  32 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  33 + </activityIndicatorView>
  34 + </subviews>
  35 + <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  36 + </view>
  37 + </subviews>
  38 + <color key="backgroundColor" white="0.0" alpha="0.5" colorSpace="calibratedWhite"/>
  39 + <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
  40 + </view>
  41 + </objects>
  42 +</document>
0 43 \ No newline at end of file
... ...
DUREX Vendor Control/FirstAppExample/Base.lproj/MainStoryboard.storyboard 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="kWw-Rk-wD6">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <scenes>
  7 + <!--Device Picker View Controller - Select device-->
  8 + <scene sceneID="ZOj-VY-rze">
  9 + <objects>
  10 + <tableViewController id="0dd-lZ-pDC" customClass="EMDevicePickerViewController" sceneMemberID="viewController">
  11 + <tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="jWc-kM-kFO">
  12 + <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
  13 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  14 + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  15 + <prototypes>
  16 + <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="DeviceCell" textLabel="W3U-nk-SlV" detailTextLabel="0cU-st-98u" style="IBUITableViewCellStyleSubtitle" id="BYV-PN-HtB">
  17 + <rect key="frame" x="0.0" y="86" width="320" height="44"/>
  18 + <autoresizingMask key="autoresizingMask"/>
  19 + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="BYV-PN-HtB" id="rT7-eh-vVf">
  20 + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
  21 + <autoresizingMask key="autoresizingMask"/>
  22 + <subviews>
  23 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="W3U-nk-SlV">
  24 + <rect key="frame" x="15" y="3" width="34" height="22"/>
  25 + <autoresizingMask key="autoresizingMask"/>
  26 + <fontDescription key="fontDescription" type="system" pointSize="18"/>
  27 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  28 + <nil key="highlightedColor"/>
  29 + </label>
  30 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Subtitle" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="0cU-st-98u">
  31 + <rect key="frame" x="15" y="25" width="43" height="15"/>
  32 + <autoresizingMask key="autoresizingMask"/>
  33 + <fontDescription key="fontDescription" type="system" pointSize="12"/>
  34 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  35 + <nil key="highlightedColor"/>
  36 + </label>
  37 + </subviews>
  38 + </tableViewCellContentView>
  39 + </tableViewCell>
  40 + </prototypes>
  41 + <connections>
  42 + <outlet property="dataSource" destination="0dd-lZ-pDC" id="cvb-TS-jTZ"/>
  43 + <outlet property="delegate" destination="0dd-lZ-pDC" id="xbT-YH-9tN"/>
  44 + </connections>
  45 + </tableView>
  46 + <navigationItem key="navigationItem" title="Select device" id="exc-MP-jDa"/>
  47 + <connections>
  48 + <segue destination="iNx-eR-wSX" kind="push" identifier="ConnectionSegue" id="3oK-BK-2Qs"/>
  49 + </connections>
  50 + </tableViewController>
  51 + <placeholder placeholderIdentifier="IBFirstResponder" id="MD6-l6-Rrg" userLabel="First Responder" sceneMemberID="firstResponder"/>
  52 + </objects>
  53 + <point key="canvasLocation" x="342" y="-9"/>
  54 + </scene>
  55 + <!--Menu Table View Controller - Connected to: -->
  56 + <scene sceneID="uT2-Qs-t9O">
  57 + <objects>
  58 + <tableViewController id="iNx-eR-wSX" customClass="MenuTableViewController" sceneMemberID="viewController">
  59 + <tableView key="view" opaque="NO" clipsSubviews="YES" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" id="Ovd-l7-PYp">
  60 + <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
  61 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  62 + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  63 + <prototypes>
  64 + <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="MenuCell" textLabel="iCG-eW-H8x" style="IBUITableViewCellStyleDefault" id="dlr-pm-ct7">
  65 + <rect key="frame" x="0.0" y="86" width="320" height="44"/>
  66 + <autoresizingMask key="autoresizingMask"/>
  67 + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="dlr-pm-ct7" id="ohH-UH-dvu">
  68 + <rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
  69 + <autoresizingMask key="autoresizingMask"/>
  70 + <subviews>
  71 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="iCG-eW-H8x">
  72 + <rect key="frame" x="15" y="0.0" width="270" height="43"/>
  73 + <autoresizingMask key="autoresizingMask"/>
  74 + <fontDescription key="fontDescription" type="system" pointSize="18"/>
  75 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  76 + <nil key="highlightedColor"/>
  77 + </label>
  78 + </subviews>
  79 + </tableViewCellContentView>
  80 + </tableViewCell>
  81 + <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="MaintenanceCell" textLabel="C5J-Ml-IpR" detailTextLabel="2Zv-NQ-q8W" style="IBUITableViewCellStyleValue1" id="tNx-4C-IjZ">
  82 + <rect key="frame" x="0.0" y="130" width="320" height="44"/>
  83 + <autoresizingMask key="autoresizingMask"/>
  84 + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="tNx-4C-IjZ" id="YyS-Ug-Lg0">
  85 + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
  86 + <autoresizingMask key="autoresizingMask"/>
  87 + <subviews>
  88 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="C5J-Ml-IpR">
  89 + <rect key="frame" x="15" y="11" width="33" height="21"/>
  90 + <autoresizingMask key="autoresizingMask"/>
  91 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  92 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  93 + <nil key="highlightedColor"/>
  94 + </label>
  95 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Detail" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="2Zv-NQ-q8W">
  96 + <rect key="frame" x="261" y="11" width="44" height="21"/>
  97 + <autoresizingMask key="autoresizingMask"/>
  98 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  99 + <color key="textColor" red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="calibratedRGB"/>
  100 + <nil key="highlightedColor"/>
  101 + </label>
  102 + </subviews>
  103 + </tableViewCellContentView>
  104 + </tableViewCell>
  105 + </prototypes>
  106 + <sections/>
  107 + <connections>
  108 + <outlet property="dataSource" destination="iNx-eR-wSX" id="RrI-xM-BHG"/>
  109 + <outlet property="delegate" destination="iNx-eR-wSX" id="cfg-Zn-vZq"/>
  110 + </connections>
  111 + </tableView>
  112 + <navigationItem key="navigationItem" title="Connected to: " id="2rA-9H-FRE"/>
  113 + </tableViewController>
  114 + <placeholder placeholderIdentifier="IBFirstResponder" id="R4Z-ct-4GF" userLabel="First Responder" sceneMemberID="firstResponder"/>
  115 + </objects>
  116 + <point key="canvasLocation" x="834" y="-9"/>
  117 + </scene>
  118 + <!--Navigation Controller-->
  119 + <scene sceneID="Ker-Z3-hzQ">
  120 + <objects>
  121 + <navigationController definesPresentationContext="YES" id="kWw-Rk-wD6" sceneMemberID="viewController">
  122 + <navigationBar key="navigationBar" contentMode="scaleToFill" id="fTx-P1-hLO">
  123 + <autoresizingMask key="autoresizingMask"/>
  124 + </navigationBar>
  125 + <connections>
  126 + <segue destination="fM1-5w-fRr" kind="relationship" relationship="rootViewController" id="2aM-Mt-gu0"/>
  127 + </connections>
  128 + </navigationController>
  129 + <placeholder placeholderIdentifier="IBFirstResponder" id="dsv-q5-bXD" userLabel="First Responder" sceneMemberID="firstResponder"/>
  130 + </objects>
  131 + <point key="canvasLocation" x="-587" y="-9"/>
  132 + </scene>
  133 + <!--Initial View Controller-->
  134 + <scene sceneID="j5L-Mq-Nck">
  135 + <objects>
  136 + <viewController id="fM1-5w-fRr" customClass="InitialViewController" sceneMemberID="viewController">
  137 + <layoutGuides>
  138 + <viewControllerLayoutGuide type="top" id="K1W-Vd-VIX"/>
  139 + <viewControllerLayoutGuide type="bottom" id="zNe-Ob-WsU"/>
  140 + </layoutGuides>
  141 + <view key="view" contentMode="scaleToFill" id="Psa-QF-ZdS">
  142 + <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
  143 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  144 + <subviews>
  145 + <button opaque="NO" contentMode="scaleAspectFit" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bXZ-vt-REt">
  146 + <rect key="frame" x="96" y="161" width="128" height="128"/>
  147 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  148 + <state key="normal" backgroundImage="bluetooth.png">
  149 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  150 + </state>
  151 + <connections>
  152 + <action selector="connectPressed:" destination="fM1-5w-fRr" eventType="touchDown" id="yhT-cP-LLA"/>
  153 + </connections>
  154 + </button>
  155 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connect to Device" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oyW-sA-Lfb">
  156 + <rect key="frame" x="86" y="297" width="149" height="21"/>
  157 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  158 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  159 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  160 + <nil key="highlightedColor"/>
  161 + </label>
  162 + </subviews>
  163 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  164 + </view>
  165 + <navigationItem key="navigationItem" id="VgB-ne-yWx"/>
  166 + <connections>
  167 + <outlet property="connectButton" destination="bXZ-vt-REt" id="I34-aB-fJh"/>
  168 + <outlet property="label" destination="oyW-sA-Lfb" id="sLP-91-lfp"/>
  169 + <segue destination="0dd-lZ-pDC" kind="push" identifier="ShowDevices" id="MVz-xF-9GY"/>
  170 + </connections>
  171 + </viewController>
  172 + <placeholder placeholderIdentifier="IBFirstResponder" id="xI2-bK-Kvc" userLabel="First Responder" sceneMemberID="firstResponder"/>
  173 + </objects>
  174 + <point key="canvasLocation" x="-129" y="-9"/>
  175 + </scene>
  176 + </scenes>
  177 + <resources>
  178 + <image name="bluetooth.png" width="512" height="512"/>
  179 + </resources>
  180 + <simulatedMetricsContainer key="defaultSimulatedMetrics">
  181 + <simulatedStatusBarMetrics key="statusBar"/>
  182 + <simulatedOrientationMetrics key="orientation"/>
  183 + <simulatedScreenMetrics key="destination" type="retina4"/>
  184 + </simulatedMetricsContainer>
  185 +</document>
... ...
DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m
... ... @@ -87,7 +87,7 @@
87 87 if (description)
88 88 {
89 89 [[deviceCell textLabel] setText:[description name]];
90   - [[deviceCell detailTextLabel] setText:[NSString stringWithFormat:@"Signal Strength: %0.0f", [description signalStrength]]];
  90 + [[deviceCell detailTextLabel] setText:[NSString stringWithFormat:NSLocalizedString(@"Signal Strength: %0.0f",nil), [description signalStrength]]];
91 91 }
92 92 else
93 93 {
... ... @@ -100,7 +100,7 @@
100 100  
101 101 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
102 102 {
103   - if([[[[tableView cellForRowAtIndexPath:indexPath] textLabel] text] isEqualToString:@"Searching for devices..."])
  103 + if([[[[tableView cellForRowAtIndexPath:indexPath] textLabel] text] isEqualToString:NSLocalizedString(@"Searching for devices...",nil)])
104 104 {
105 105 return;
106 106 }
... ...
DUREX Vendor Control/InitialViewController.h
... ... @@ -11,7 +11,9 @@
11 11 @interface InitialViewController : UIViewController
12 12  
13 13 @property (nonatomic,strong) IBOutlet UIButton *connectButton;
  14 +@property (nonatomic,strong) IBOutlet UILabel *label;
14 15  
15 16 - (IBAction) connectPressed:(UIButton*)button;
16 17  
  18 +
17 19 @end
... ...
DUREX Vendor Control/InitialViewController.m
... ... @@ -27,6 +27,7 @@
27 27 {
28 28 [super viewDidLoad];
29 29 // Do any additional setup after loading the view.
  30 + [[self label] sizeToFit];
30 31 }
31 32  
32 33 - (void)didReceiveMemoryWarning
... ...
DUREX Vendor Control/MenuTableViewController.h
... ... @@ -17,9 +17,9 @@
17 17 #define MENU_CELLS_PER_SECTION num(3)
18 18 #define MENU_HEADERS nil
19 19  
20   -#define MAINTENANCE_ELEMENTS @"Time",@"20€ Notes",@"10€ Notes",@"5€ Notes",@"2€ Coins",@"1€ Coins",@"50c Coins",@"CPP_TABLE",@"1€ Change",@"50c Change"
21   -#define MAINTENANCE_CELLS_PER_SECTION num(10),num(0)
22   -#define MAINTENANCE_HEADERS @"Status",@"Sensors"
  20 +#define MAINTENANCE_ELEMENTS @"CH1 presence",@"CH2 presence",@"CH3 presence",@"CH4 presence",@"CH5 presence",@"CH6 presence",@"CH7 presence",@"CH8 presence",@"CH1 spin",@"CH2 spin",@"CH3 spin",@"CH4 spin",@"CH5 spin",@"CH6 spin",@"CH7 spin",@"CH8 spin",@"Door sensor",@"Wall sensor",@"Oscillator",@"1€ Coin presence",@"50c Coin presence",@"1€ Coin spin",@"50c Coin spin",@"Sales log",@"Incident report",@"Send report"
  21 +#define MAINTENANCE_CELLS_PER_SECTION num(23),num(3)
  22 +#define MAINTENANCE_HEADERS NSLocalizedString(@"Sensors", nil),NSLocalizedString(@"Commands", nil)
23 23  
24 24 #define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"ConfigCell",@"ReportCell"
25 25  
... ...
DUREX Vendor Control/MenuTableViewController.m
... ... @@ -89,6 +89,7 @@
89 89 }
90 90 else if([self currentNavLevel] == MAINTENANCE)
91 91 {
  92 + [[self navigationItem] setTitle:NSLocalizedString(@"Maintenance", nil)];
92 93 [self setCurrentElements:[self maintenanceElements]];
93 94 [self setCurrentStructure:[self maintenanceStructure]];
94 95 [self setCurrentHeaders:[self maintenanceHeaders]];
... ... @@ -142,9 +143,7 @@
142 143 backButton.frame = CGRectMake(0, 0, backImage.size.width/2, backImage.size.height/2);
143 144  
144 145 [backButton setImage:backImage forState:UIControlStateNormal];
145   - [backButton setTitle:@"Back" forState:UIControlStateNormal];
146 146 [backButton addTarget:self action:@selector(backButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
147   -
148 147 UIBarButtonItem *backBarButtonItem = [[UIBarButtonItem alloc] initWithCustomView:backButton];
149 148  
150 149 self.navigationItem.hidesBackButton = YES;
... ... @@ -159,7 +158,7 @@
159 158 [_protocol setMessageAvailable:false];
160 159 if(![_protocol establishConnection])
161 160 {
162   - UIAlertView* alert = [[UIAlertView alloc] initWithTitle:@"Communication error" message:@"Error while trying to connect to the device." delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
  161 + UIAlertView* alert = [[UIAlertView alloc] initWithTitle:@"Communication error" message:@"Error while trying to connect to the device" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil];
163 162 [alert show];
164 163 UIViewController *previous = [[[self navigationController] viewControllers] objectAtIndex:[[[self navigationController] viewControllers] count]-2];
165 164 [[self navigationController] popToViewController:previous animated:YES];
... ... @@ -236,7 +235,7 @@
236 235 NSLog(@"Section: %ld Row: %ld",(long)[indexPath section],(long)[indexPath row]);
237 236 [tableView deselectRowAtIndexPath:indexPath animated:YES];
238 237 NSString *cellName = [[[[self tableView] cellForRowAtIndexPath:indexPath]textLabel]text];
239   - if([cellName isEqualToString:@"Maintenance"])
  238 + if([cellName isEqualToString:NSLocalizedString(@"Maintenance", nil)])
240 239 {
241 240 NSLog(@"[MenuTableViewController.m]: Changing to navLevel: MAINTENANCE");
242 241  
... ... @@ -281,13 +280,12 @@
281 280 offset += [[[self currentStructure] objectAtIndex:i] unsignedCharValue];
282 281 }
283 282 }
284   - [[cell textLabel] setText:[[self currentElements] objectAtIndex:[indexPath row]+offset]];
  283 + [[cell textLabel] setText:NSLocalizedString([[self currentElements] objectAtIndex:[indexPath row]+offset],nil)];
285 284 if([self currentNavLevel] == MAINTENANCE)
286 285 {
287   - NSLog(@"[MenuTableViewController.m]: Customizing cell for navLevel MAINTENANCE");
288 286 [[cell detailTextLabel] setText:@"VALUE"];
289 287 [cell setAccessoryView: [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_checkmark"]]];
290   - if( [[[cell textLabel] text] isEqualToString:@"5€ Notes"])
  288 + if( [[[cell textLabel] text] isEqualToString:NSLocalizedString(@"CH4 presence",nil)])
291 289 {
292 290 [cell setAccessoryView: [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_delete"]]];
293 291 }
... ...
DUREX tests/Base.lproj/Localizable.strings
... ... @@ -7,4 +7,35 @@
7 7 */
8 8  
9 9 "PIECE OF CRAP 2000 PRO ULTRA" = "PIECE OF CRAP 2000 PRO ULTRA";
10   -"FUCKING ONLINE" = "FUCKING ONLINE";
11 10 \ No newline at end of file
  11 +"FUCKING ONLINE" = "FUCKING ONLINE";
  12 +"Maintenance" = "Maintenance";
  13 +"Basic Configuration" = "Basic Configuration";
  14 +"Sending a Report" = "Sending a Report";
  15 +"Sensors" = "Sensors";
  16 +"Commands" = "Commands";
  17 +"CH1 presence" = "CH1 presence";
  18 +"CH2 presence" = "CH2 presence";
  19 +"CH3 presence" = "CH3 presence";
  20 +"CH4 presence" = "CH4 presence";
  21 +"CH5 presence" = "CH5 presence";
  22 +"CH6 presence" = "CH6 presence";
  23 +"CH7 presence" = "CH7 presence";
  24 +"CH8 presence" = "CH8 presence";
  25 +"CH1 spin" = "CH1 spin";
  26 +"CH2 spin" = "CH2 spin";
  27 +"CH3 spin" = "CH3 spin";
  28 +"CH4 spin" = "CH4 spin";
  29 +"CH5 spin" = "CH5 spin";
  30 +"CH6 spin" = "CH6 spin";
  31 +"CH7 spin" = "CH7 spin";
  32 +"CH8 spin" = "CH8 spin";
  33 +"Door sensor" = "Door sensor";
  34 +"Wall sensor" = "Wall sensor";
  35 +"Oscillator" = "Oscillator";
  36 +"1€ Coin presence" = "1€ Coin presence";
  37 +"50c Coin presence" = "50c Coin presence";
  38 +"1€ Coin spin" = "1€ Coin spin";
  39 +"50c Coin spin" = "50c Coin spin";
  40 +"Sales log" = "Sales log";
  41 +"Incident report" = "Incident report";
  42 +"Send report" = "Send report";
12 43 \ No newline at end of file
... ...
DUREX tests/Base.lproj/MainStoryboard.storyboard
1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="kWw-Rk-wD6">
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="5056" systemVersion="13B42" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" initialViewController="kWw-Rk-wD6">
3 3 <dependencies>
4 4 <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
5 5 </dependencies>
... ... @@ -152,8 +152,8 @@
152 152 <action selector="connectPressed:" destination="fM1-5w-fRr" eventType="touchDown" id="yhT-cP-LLA"/>
153 153 </connections>
154 154 </button>
155   - <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connect to device" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oyW-sA-Lfb">
156   - <rect key="frame" x="86" y="273" width="149" height="21"/>
  155 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connect to device" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="143" translatesAutoresizingMaskIntoConstraints="NO" id="oyW-sA-Lfb">
  156 + <rect key="frame" x="89" y="273" width="143" height="21"/>
157 157 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
158 158 <fontDescription key="fontDescription" type="system" pointSize="17"/>
159 159 <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
... ... @@ -165,12 +165,13 @@
165 165 <navigationItem key="navigationItem" id="VgB-ne-yWx"/>
166 166 <connections>
167 167 <outlet property="connectButton" destination="bXZ-vt-REt" id="I34-aB-fJh"/>
  168 + <outlet property="label" destination="oyW-sA-Lfb" id="TFh-oC-BmM"/>
168 169 <segue destination="0dd-lZ-pDC" kind="push" identifier="ShowDevices" id="MVz-xF-9GY"/>
169 170 </connections>
170 171 </viewController>
171 172 <placeholder placeholderIdentifier="IBFirstResponder" id="xI2-bK-Kvc" userLabel="First Responder" sceneMemberID="firstResponder"/>
172 173 </objects>
173   - <point key="canvasLocation" x="-129" y="-9"/>
  174 + <point key="canvasLocation" x="-128" y="-9"/>
174 175 </scene>
175 176 </scenes>
176 177 <resources>
... ...
DUREX tests/DUREX test.xcodeproj/project.pbxproj
... ... @@ -18,11 +18,11 @@
18 18 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */; };
19 19 34AAB889189804FF0019860D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 34AAB880189804FF0019860D /* main.m */; };
20 20 34AAB88D189805300019860D /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 34AAB88C189805300019860D /* Images.xcassets */; };
21   - F9127C891995144E00040C52 /* back_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = F9127C881995144E00040C52 /* back_arrow.png */; };
22 21 F92B0B6C19993D3F00CAEF3E /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F92B0B6E19993D3F00CAEF3E /* Localizable.strings */; };
23   - F92B0B7219993E9300CAEF3E /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F92B0B7019993E9300CAEF3E /* MainStoryboard.storyboard */; };
24 22 F9469169193015EE006DACD3 /* icon_checkmark.png in Resources */ = {isa = PBXBuildFile; fileRef = F9469167193015EE006DACD3 /* icon_checkmark.png */; };
25 23 F946916A193015EE006DACD3 /* icon_delete.png in Resources */ = {isa = PBXBuildFile; fileRef = F9469168193015EE006DACD3 /* icon_delete.png */; };
  24 + F961D7F5199A4A4800E9282C /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F961D7F3199A4A4800E9282C /* MainStoryboard.storyboard */; };
  25 + F961D7FE199A5B4700E9282C /* back_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = F961D800199A5B4700E9282C /* back_arrow.png */; };
26 26 F962A233192FCA8A00E4324A /* Stack.m in Sources */ = {isa = PBXBuildFile; fileRef = F962A232192FCA8A00E4324A /* Stack.m */; };
27 27 F98356D6192E835F00EA6821 /* InitialViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356D5192E835F00EA6821 /* InitialViewController.m */; };
28 28 F98356D8192E906600EA6821 /* bluetooth.png in Resources */ = {isa = PBXBuildFile; fileRef = F98356D7192E906600EA6821 /* bluetooth.png */; };
... ... @@ -57,13 +57,17 @@
57 57 34AAB87F189804FF0019860D /* DUREX test-Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "DUREX test-Prefix.pch"; path = "FirstAppExample/DUREX test-Prefix.pch"; sourceTree = SOURCE_ROOT; };
58 58 34AAB880189804FF0019860D /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = FirstAppExample/main.m; sourceTree = SOURCE_ROOT; };
59 59 34AAB88C189805300019860D /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = FirstAppExample/Images.xcassets; sourceTree = SOURCE_ROOT; };
60   - F9127C881995144E00040C52 /* back_arrow.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = back_arrow.png; sourceTree = SOURCE_ROOT; };
61 60 F92B0B6D19993D3F00CAEF3E /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/Localizable.strings; sourceTree = "<group>"; };
62 61 F92B0B6F19993D4400CAEF3E /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/Localizable.strings; sourceTree = "<group>"; };
63   - F92B0B7119993E9300CAEF3E /* es */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = es; path = es.lproj/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; };
64   - F92B0B7319993E9B00CAEF3E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; };
65 62 F9469167193015EE006DACD3 /* icon_checkmark.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_checkmark.png; sourceTree = SOURCE_ROOT; };
66 63 F9469168193015EE006DACD3 /* icon_delete.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_delete.png; sourceTree = SOURCE_ROOT; };
  64 + F961D7F4199A4A4800E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainStoryboard.storyboard; sourceTree = SOURCE_ROOT; };
  65 + F961D7FB199A4B3400E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/MainStoryboard.strings; sourceTree = SOURCE_ROOT; };
  66 + F961D7FC199A512700E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/MainStoryboard.strings; sourceTree = SOURCE_ROOT; };
  67 + F961D7FD199A512700E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/Localizable.strings; sourceTree = "<group>"; };
  68 + F961D7FF199A5B4700E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Base; path = Base.lproj/back_arrow.png; sourceTree = "<group>"; };
  69 + F961D801199A5B5A00E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = es; path = es.lproj/back_arrow.png; sourceTree = "<group>"; };
  70 + F961D802199A5B5C00E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = en; path = en.lproj/back_arrow.png; sourceTree = "<group>"; };
67 71 F962A231192FCA8A00E4324A /* Stack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Stack.h; sourceTree = SOURCE_ROOT; };
68 72 F962A232192FCA8A00E4324A /* Stack.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Stack.m; sourceTree = SOURCE_ROOT; };
69 73 F98356D4192E835F00EA6821 /* InitialViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InitialViewController.h; sourceTree = SOURCE_ROOT; };
... ... @@ -134,7 +138,7 @@
134 138 3471866618070D9300FA0FB2 /* FirstApp */ = {
135 139 isa = PBXGroup;
136 140 children = (
137   - F92B0B7019993E9300CAEF3E /* MainStoryboard.storyboard */,
  141 + F961D7F3199A4A4800E9282C /* MainStoryboard.storyboard */,
138 142 34AAB876189804FF0019860D /* DUREXAppDelegate.h */,
139 143 34AAB877189804FF0019860D /* DUREXAppDelegate.m */,
140 144 F98356D4192E835F00EA6821 /* InitialViewController.h */,
... ... @@ -159,7 +163,7 @@
159 163 isa = PBXGroup;
160 164 children = (
161 165 F92B0B6E19993D3F00CAEF3E /* Localizable.strings */,
162   - F9127C881995144E00040C52 /* back_arrow.png */,
  166 + F961D800199A5B4700E9282C /* back_arrow.png */,
163 167 F9469167193015EE006DACD3 /* icon_checkmark.png */,
164 168 F9469168193015EE006DACD3 /* icon_delete.png */,
165 169 F98356D7192E906600EA6821 /* bluetooth.png */,
... ... @@ -276,9 +280,9 @@
276 280 F9C77F50192CDE30002DBE8A /* durex.json in Resources */,
277 281 34AAB88D189805300019860D /* Images.xcassets in Resources */,
278 282 F92B0B6C19993D3F00CAEF3E /* Localizable.strings in Resources */,
279   - F9127C891995144E00040C52 /* back_arrow.png in Resources */,
  283 + F961D7FE199A5B4700E9282C /* back_arrow.png in Resources */,
280 284 F9469169193015EE006DACD3 /* icon_checkmark.png in Resources */,
281   - F92B0B7219993E9300CAEF3E /* MainStoryboard.storyboard in Resources */,
  285 + F961D7F5199A4A4800E9282C /* MainStoryboard.storyboard in Resources */,
282 286 F946916A193015EE006DACD3 /* icon_delete.png in Resources */,
283 287 );
284 288 runOnlyForDeploymentPostprocessing = 0;
... ... @@ -330,19 +334,31 @@
330 334 children = (
331 335 F92B0B6D19993D3F00CAEF3E /* Base */,
332 336 F92B0B6F19993D4400CAEF3E /* es */,
  337 + F961D7FD199A512700E9282C /* en */,
333 338 );
334 339 name = Localizable.strings;
335 340 sourceTree = SOURCE_ROOT;
336 341 };
337   - F92B0B7019993E9300CAEF3E /* MainStoryboard.storyboard */ = {
  342 + F961D7F3199A4A4800E9282C /* MainStoryboard.storyboard */ = {
338 343 isa = PBXVariantGroup;
339 344 children = (
340   - F92B0B7119993E9300CAEF3E /* es */,
341   - F92B0B7319993E9B00CAEF3E /* Base */,
  345 + F961D7F4199A4A4800E9282C /* Base */,
  346 + F961D7FB199A4B3400E9282C /* es */,
  347 + F961D7FC199A512700E9282C /* en */,
342 348 );
343 349 name = MainStoryboard.storyboard;
344 350 sourceTree = "<group>";
345 351 };
  352 + F961D800199A5B4700E9282C /* back_arrow.png */ = {
  353 + isa = PBXVariantGroup;
  354 + children = (
  355 + F961D7FF199A5B4700E9282C /* Base */,
  356 + F961D801199A5B5A00E9282C /* es */,
  357 + F961D802199A5B5C00E9282C /* en */,
  358 + );
  359 + name = back_arrow.png;
  360 + sourceTree = SOURCE_ROOT;
  361 + };
346 362 /* End PBXVariantGroup section */
347 363  
348 364 /* Begin XCBuildConfiguration section */
... ... @@ -379,6 +395,7 @@
379 395 GCC_WARN_UNINITIALIZED_AUTOS = YES;
380 396 GCC_WARN_UNUSED_FUNCTION = YES;
381 397 GCC_WARN_UNUSED_VARIABLE = YES;
  398 + "INFOPLIST_FILE[sdk=*]" = "DUREX test-Info.plist";
382 399 IPHONEOS_DEPLOYMENT_TARGET = 7.1;
383 400 ONLY_ACTIVE_ARCH = YES;
384 401 SDKROOT = iphoneos;
... ... @@ -413,6 +430,7 @@
413 430 GCC_WARN_UNINITIALIZED_AUTOS = YES;
414 431 GCC_WARN_UNUSED_FUNCTION = YES;
415 432 GCC_WARN_UNUSED_VARIABLE = YES;
  433 + "INFOPLIST_FILE[sdk=*]" = "DUREX test-Info.plist";
416 434 IPHONEOS_DEPLOYMENT_TARGET = 7.1;
417 435 SDKROOT = iphoneos;
418 436 TARGETED_DEVICE_FAMILY = "1,2";
... ...
DUREX tests/DUREX test.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
DUREX tests/InitialViewController.h
... ... @@ -11,6 +11,7 @@
11 11 @interface InitialViewController : UIViewController
12 12  
13 13 @property (nonatomic,strong) IBOutlet UIButton *connectButton;
  14 +@property (nonatomic,strong) IBOutlet UILabel *label;
14 15  
15 16 - (IBAction) connectPressed:(UIButton*)button;
16 17  
... ...
DUREX tests/InitialViewController.m
... ... @@ -27,6 +27,7 @@
27 27 {
28 28 [super viewDidLoad];
29 29 // Do any additional setup after loading the view.
  30 + [[self label] sizeToFit];
30 31 }
31 32  
32 33 - (void)didReceiveMemoryWarning
... ...
DUREX tests/MenuTableViewController.h
... ... @@ -18,7 +18,7 @@
18 18  
19 19 #define MAINTENANCE_ELEMENTS @"CH1 presence",@"CH2 presence",@"CH3 presence",@"CH4 presence",@"CH5 presence",@"CH6 presence",@"CH7 presence",@"CH8 presence",@"CH1 spin",@"CH2 spin",@"CH3 spin",@"CH4 spin",@"CH5 spin",@"CH6 spin",@"CH7 spin",@"CH8 spin",@"Door sensor",@"Wall sensor",@"Oscillator",@"1€ Coin presence",@"50c Coin presence",@"1€ Coin spin",@"50c Coin spin",@"Sales log",@"Incident report",@"Send report"
20 20 #define MAINTENANCE_CELLS_PER_SECTION num(23),num(3)
21   -#define MAINTENANCE_HEADERS @"Sensors",@"Commands"
  21 +#define MAINTENANCE_HEADERS NSLocalizedString(@"Sensors", nil),NSLocalizedString(@"Commands", nil)
22 22  
23 23 #define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"ConfigCell",@"ReportCell"
24 24  
... ...
DUREX tests/MenuTableViewController.m
... ... @@ -90,7 +90,7 @@
90 90 }
91 91 else if([self currentNavLevel] == MAINTENANCE)
92 92 {
93   - [[self navigationItem] setTitle:@"Maintenance"];
  93 + [[self navigationItem] setTitle:NSLocalizedString(@"Maintenance", nil)];
94 94 [self setCurrentElements:[self maintenanceElements]];
95 95 [self setCurrentStructure:[self maintenanceStructure]];
96 96 [self setCurrentHeaders:[self maintenanceHeaders]];
... ... @@ -207,7 +207,7 @@
207 207 NSLog(@"[MenuTableViewController.m]: Section: %d Row: %d",[indexPath section],[indexPath row]);
208 208 [tableView deselectRowAtIndexPath:indexPath animated:YES];
209 209 NSString *cellName = [[[[self tableView] cellForRowAtIndexPath:indexPath]textLabel]text];
210   - if([cellName isEqualToString:@"Maintenance"])
  210 + if([cellName isEqualToString:NSLocalizedString(@"Maintenance", nil)])
211 211 {
212 212 NSLog(@"[MenuTableViewController.m]: Changing to navLevel: MAINTENANCE");
213 213 [self changeNavLevel:MAINTENANCE:TRUE];
... ... @@ -253,12 +253,12 @@
253 253 offset += [[[self currentStructure] objectAtIndex:i] unsignedCharValue];
254 254 }
255 255 }
256   - [[cell textLabel] setText:[[self currentElements] objectAtIndex:[indexPath row]+offset]];
  256 + [[cell textLabel] setText:NSLocalizedString([[self currentElements] objectAtIndex:[indexPath row]+offset],nil)];
257 257 if([self currentNavLevel] == MAINTENANCE)
258 258 {
259 259 [[cell detailTextLabel] setText:@"VALUE"];
260 260 [cell setAccessoryView: [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_checkmark"]]];
261   - if( [[[cell textLabel] text] isEqualToString:@"CH4 presence"])
  261 + if( [[[cell textLabel] text] isEqualToString:NSLocalizedString(@"CH4 presence",nil)])
262 262 {
263 263 [cell setAccessoryView: [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"icon_delete"]]];
264 264 }
... ...
DUREX tests/es.lproj/Localizable.strings
... ... @@ -7,4 +7,35 @@
7 7 */
8 8  
9 9 "PIECE OF CRAP 2000 PRO ULTRA" = "CACHARRACO DE LA MUERTE";
10   -"FUCKING ONLINE" = "A TOPE";
11 10 \ No newline at end of file
  11 +"FUCKING ONLINE" = "A TOPE";
  12 +"Maintenance" = "Mantenimiento";
  13 +"Basic Configuration" = "Configuración Básica";
  14 +"Sending a Report" = "Mandar un Informe";
  15 +"Sensors" = "Sensores";
  16 +"Commands" = "Comandos";
  17 +"CH1 presence" = "Presencia CH1";
  18 +"CH2 presence" = "Presencia CH2";
  19 +"CH3 presence" = "Presencia CH3";
  20 +"CH4 presence" = "Presencia CH4";
  21 +"CH5 presence" = "Presencia CH5";
  22 +"CH6 presence" = "Presencia CH6";
  23 +"CH7 presence" = "Presencia CH7";
  24 +"CH8 presence" = "Presencia CH8";
  25 +"CH1 spin" = "Giro CH1";
  26 +"CH2 spin" = "Giro CH2";
  27 +"CH3 spin" = "Giro CH3";
  28 +"CH4 spin" = "Giro CH4";
  29 +"CH5 spin" = "Giro CH5";
  30 +"CH6 spin" = "Giro CH6";
  31 +"CH7 spin" = "Giro CH7";
  32 +"CH8 spin" = "Giro CH8";
  33 +"Door sensor" = "Sensor de puerta";
  34 +"Wall sensor" = "Sensor de pared";
  35 +"Oscillator" = "Oscilador";
  36 +"1€ Coin presence" = "Presencia 1€";
  37 +"50c Coin presence" = "Presencia 50c";
  38 +"1€ Coin spin" = "Giro 1€";
  39 +"50c Coin spin" = "Giro 50c";
  40 +"Sales log" = "Registro de ventas";
  41 +"Incident report" = "Registro de incidencias";
  42 +"Send report" = "Mandar informe";
... ...
DUREX/.project deleted
1   -<?xml version="1.0" encoding="UTF-8"?>
2   -<projectDescription>
3   - <name>FirstApp-MSP-EXP430G2</name>
4   - <comment></comment>
5   - <projects>
6   - </projects>
7   - <buildSpec>
8   - <buildCommand>
9   - <name>com.emmoco.mcmtooling.core.mcmToolingBuilder</name>
10   - <arguments>
11   - </arguments>
12   - </buildCommand>
13   - <buildCommand>
14   - <name>com.emmoco.mcmtooling.example.mcmToolingBuilder</name>
15   - <arguments>
16   - </arguments>
17   - </buildCommand>
18   - </buildSpec>
19   - <natures>
20   - <nature>com.emmoco.mcmtooling.example.mcmToolingExampleNature</nature>
21   - <nature>com.emmoco.mcmtooling.core.mcmToolingNature</nature>
22   - </natures>
23   - <linkedResources>
24   - <link>
25   - <name>Hal</name>
26   - <type>2</type>
27   - <locationURI>EM_PLATFORM_LOC/Hal</locationURI>
28   - </link>
29   - </linkedResources>
30   - <variableList>
31   - <variable>
32   - <name>EM_PLATFORM_LOC</name>
33   - <value>$%7BWORKSPACE_LOC%7D/Platform-MSP-EXP430G2</value>
34   - </variable>
35   - </variableList>
36   -</projectDescription>
DUREX/DUREX-Prog.c deleted
1   -#include "DUREX.h"
2   -#include "Hal.h"
3   -
4   -DUREX_numBytes_t numBytes = 0;
5   -DUREX_data_t data = "";
6   -DUREX_numPackets_t numPackets = 0;
7   -DUREX_messageAvailable_t messageAvailable = 0;
8   -uint8_t lastMessageAck = 1;
9   -
10   -void main() {
11   - Hal_init();
12   - DUREX_start();
13   - Hal_idleLoop();
14   -}
15   -
16   -/* -------- SCHEMA CALLBACKS -------- */
17   -
18   -void processMessage()
19   -{
20   - if(!strcmp(data,"Hello"))
21   - {
22   - memcpy(data,"Hello",6);
23   - numBytes = 6;
24   - numPackets = 1;
25   - }
26   -}
27   -
28   -void DUREX_connectHandler(void)
29   -{
30   - Hal_connected();
31   -}
32   -
33   -void DUREX_disconnectHandler(void)
34   -{
35   - Hal_disconnected();
36   -}
37   -
38   -void DUREX_numBytes_fetch(DUREX_numBytes_t* const output)
39   -{
40   - *output = numBytes;
41   -}
42   -
43   -void DUREX_numBytes_store(DUREX_numBytes_t* const input)
44   -{
45   - numBytes = *input;
46   -}
47   -
48   -void DUREX_data_fetch(DUREX_data_t output)
49   -{
50   - memcpy(output,data,numBytes);
51   -}
52   -
53   -void DUREX_data_store(DUREX_data_t input)
54   -{
55   - memcpy(data,input,numBytes);
56   -}
57   -
58   -void DUREX_numPackets_fetch(DUREX_numPackets_t* const output)
59   -{
60   - *output = numPackets;
61   -}
62   -
63   -void DUREX_numPackets_store(DUREX_numPackets_t* const input)
64   -{
65   - numPackets = *input;
66   -}
67   -
68   -void DUREX_messageAvailable_fetch(DUREX_messageAvailable_t* const output)
69   -{
70   - *output = messageAvailable;
71   -}
72   -
73   -void DUREX_messageAvailable_store(DUREX_messageAvailable_t* const input)
74   -{
75   - messageAvailable = *input;
76   - if(messageAvailable == DUREX_TRUE)
77   - {
78   - led1_on();
79   - lastMessageAck = 0;
80   - messageAvailable = DUREX_FALSE;
81   - DUREX_messageAvailable_indicate();
82   - processMessage();
83   - messageAvailable = DUREX_TRUE;
84   - DUREX_messageAvailable_indicate();
85   - }
86   - else if(messageAvailable == DUREX_FALSE)
87   - {
88   - led1_off();
89   - lastMessageAck = 1;
90   - }
91   -}
92   -
DUREX/DUREX.ems deleted
1   -version = "1.0.0"
2   -description = ""
3   -
4   -schema DUREX
5   -{
6   - enum BOOLEAN{ TRUE, FALSE };
7   - typedef string<200> String; //MAXIMUM SIZE AVAILABLE
8   -
9   - uint8 numBytes;
10   - String data;
11   - uint8 numPackets;
12   - BOOLEAN messageAvailable
13   - {
14   - indicator
15   - }
16   -}
DUREX/Em/DUREX-STUBS.c deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-08-07T19:28:56T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#include "DUREX.h"
5   -
6   -#ifdef DUREX_STUBS_ /* enables optional inclusion of application stubs */
7   -
8   -/* Copy the function skeletons below into your own application source file */
9   -
10   -void DUREX_connectHandler(void) {
11   - /* TODO: application is now connected */
12   -}
13   -
14   -void DUREX_disconnectHandler(void) {
15   - /* TODO: application is now disconnected */
16   -}
17   -
18   -void DUREX_numBytes_fetch(DUREX_numBytes_t* output) {
19   - /* TODO: read resource 'numBytes' into 'output' */
20   -}
21   -
22   -void DUREX_numBytes_store(DUREX_numBytes_t* input) {
23   - /* TODO: write resource 'numBytes' from 'input' */
24   -}
25   -
26   -void DUREX_data_fetch(DUREX_data_t output) {
27   - /* TODO: read resource 'data' into 'output' */
28   -}
29   -
30   -void DUREX_data_store(DUREX_data_t input) {
31   - /* TODO: write resource 'data' from 'input' */
32   -}
33   -
34   -void DUREX_numPackets_fetch(DUREX_numPackets_t* output) {
35   - /* TODO: read resource 'numPackets' into 'output' */
36   -}
37   -
38   -void DUREX_numPackets_store(DUREX_numPackets_t* input) {
39   - /* TODO: write resource 'numPackets' from 'input' */
40   -}
41   -
42   -void DUREX_messageAvailable_fetch(DUREX_messageAvailable_t* output) {
43   - /* TODO: read resource 'messageAvailable' into 'output' */
44   -}
45   -
46   -#endif /* application stubs */
DUREX/Em/DUREX.c deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-08-07T19:28:56T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#include "Em_Message.h"
5   -#include "DUREX.h"
6   -
7   -#ifdef __cplusplus
8   -extern "C" {
9   -#endif
10   -
11   -#define Em_Message_protocolLevel 13
12   -
13   -typedef struct Em_App_Message {
14   - uint8_t dummy[3];
15   - uint8_t sot;
16   - Em_Message_Header hdr;
17   - uint8_t data[201];
18   -} Em_App_Message;
19   -
20   -const uint8_t Em_App_hash[] = {0, 164, 192, 32, 22, 163, 114, 239, 91, 240, 123, 128, 206, 12, 50, 148, 13, 0, ((sizeof(struct{uint8_t f1; uint16_t f2;}) - sizeof(uint16_t)) << 4) | (sizeof(struct{uint8_t f1; uint32_t f2;}) - sizeof(uint32_t))};
21   -
22   -const uint8_t Em_App_build[] = {131, 51, 132, 177, 71, 1, 0, 0};
23   -
24   -#define Em_App_APP_RESOURCE_COUNT 4
25   -#define Em_App_SYS_RESOURCE_COUNT 9
26   -
27   -#define Em_App_ACCEPT DUREX_accept
28   -#define Em_App_ACTIVATEPARAMETERS DUREX_activateParameters
29   -#define Em_App_BROADCASTOFF DUREX_broadcastOff
30   -#define Em_App_DISCONNECT DUREX_disconnect
31   -#define Em_App_PAIRINGON DUREX_pairingOn
32   -#define Em_App_PAIRINGOFF DUREX_pairingOff
33   -#define Em_App_RESET DUREX_reset
34   -#define Em_App_SETDEVICENAME DUREX_setDeviceName
35   -#define Em_App_START DUREX_start
36   -
37   -#define Em_App_CONNECTHANDLER DUREX_connectHandler
38   -#define Em_App_DISCONNECTHANDLER DUREX_disconnectHandler
39   -
40   -#define Em_App_MAX_INDICATOR 2
41   -
42   -/* BEGIN common code */
43   -
44   -enum {Em_App_IDLE, Em_App_STARTING, Em_App_DISCONNECTED, Em_App_CONNECTED};
45   -
46   -typedef struct Em_App_Indicator {
47   - uint8_t dummy[3];
48   - uint8_t sot;
49   - Em_Message_Header hdr;
50   - uint8_t data[Em_Message_INDSIZE];
51   -} Em_App_Indicator;
52   -
53   -union { uint32_t align; Em_App_Message msg; } Em_App_msg_u;
54   -union { uint32_t align; Em_App_Indicator ind; } Em_App_ind_u;
55   -#define Em_App_msg Em_App_msg_u.msg
56   -#define Em_App_ind Em_App_ind_u.ind
57   -
58   -void (*Em_App_pdHdlr)(void);
59   -
60   -const uint16_t Em_App_endian = 0x0100;
61   -
62   -Em_Message_Size Em_App_recvIdx;
63   -Em_Message_Size Em_App_recvSize;
64   -Em_Message_Size Em_App_xmitIdx;
65   -Em_Message_Size Em_App_xmitSize;
66   -
67   -uint8_t Em_App_state = Em_App_IDLE;
68   -int32_t Em_App_fileIndex = 0;
69   -uint32_t Em_App_xmitMask = 0;
70   -
71   -uint8_t* Em_App_valp;
72   -uint8_t* Em_App_bufp;
73   -const char* Em_App_desc;
74   -
75   -uint8_t* Em_App_inBuf = (uint8_t*)&Em_App_msg.hdr;
76   -uint8_t* Em_App_outBuf = 0;
77   -
78   -uint8_t* _Em_Message_rxBuf = 0;
79   -uint8_t _Em_Message_rxCnt = 0;
80   -
81   -uint8_t* _Em_Message_txBuf = 0;
82   -uint8_t _Em_Message_txCnt = 0;
83   -
84   -#define Em_App_DEVNAME_LEN 9
85   -const char* Em_App_devName = 0;
86   -
87   -void Em_App_fetchDispatch(void);
88   -void Em_Message_marshallToBuf(uint8_t* valp, uint8_t* bufp, const char* desc);
89   -void Em_Message_marshallToVal(uint8_t* valp, uint8_t* bufp, const char* desc);
90   -void Em_App_storeDispatch(void);
91   -void Em_App_sendIndicator(Em_Message_ResId indId);
92   -void Em_App_sendResponse(Em_Message_Kind kind, Em_Message_Size size);
93   -void Em_App_startIndSend(void);
94   -void Em_App_startResSend(void);
95   -void Em_App_sysFetchDispatch(void);
96   -void Em_App_sysStoreDispatch(void);
97   -bool Em_App_xmitReady(Em_Message_ResId indId);
98   -
99   -void Em_Message_nextXmit(void) {
100   - uint8_t key = Em_Hal_lock();
101   - if (Em_App_xmitMask != 0) {
102   - uint8_t i;
103   - uint32_t m;
104   - for (i = 0, m = 0x1; i < Em_App_MAX_INDICATOR; i++, m <<= 1) {
105   - if (Em_App_xmitMask & m) {
106   - Em_App_xmitMask &= ~m;
107   - if (i == 0) {
108   - Em_App_startResSend();
109   - }
110   - else {
111   - Em_App_sendIndicator(i - 1);
112   - }
113   - break;
114   - }
115   - }
116   - }
117   - Em_Hal_unlock(key);
118   -}
119   -
120   -void Em_Message_restart(void) {
121   - Em_App_START();
122   -}
123   -
124   -void Em_App_ACCEPT(bool enable) {
125   - if (Em_App_state == Em_App_CONNECTED) {
126   - return;
127   - }
128   - Em_App_ind.sot = 0;
129   - Em_App_ind.hdr.kind = Em_Message_ACCEPT;
130   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
131   - Em_App_ind.hdr.resId = enable;
132   - Em_App_startIndSend();
133   -}
134   -
135   -void Em_App_ACTIVATEPARAMETERS(uint8_t group) {
136   - if (Em_App_state == Em_App_IDLE || Em_App_state == Em_App_STARTING) {
137   - return;
138   - }
139   - Em_App_ind.sot = 0;
140   - Em_App_ind.hdr.kind = Em_Message_ACTIVE_PARAMS;
141   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
142   - Em_App_ind.hdr.resId = group;
143   - Em_App_startIndSend();
144   -}
145   -
146   -void Em_App_BROADCASTOFF(void) {
147   - Em_App_ind.sot = 0;
148   - Em_App_ind.hdr.kind = Em_Message_INDICATOR;
149   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
150   - Em_App_ind.hdr.resId = 0;
151   - Em_App_startIndSend();
152   -}
153   -
154   -void Em_App_DISCONNECT(void) {
155   - if (Em_App_state != Em_App_CONNECTED) {
156   - return;
157   - }
158   - Em_App_state = Em_App_DISCONNECTED;
159   - Em_App_ind.sot = 0;
160   - Em_App_ind.hdr.kind = Em_Message_DISCONNECT;
161   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
162   - Em_App_ind.hdr.resId = 0;
163   - Em_App_startIndSend();
164   -}
165   -
166   -void Em_Message_dispatch(void) {
167   - if (Em_App_state == Em_App_IDLE) {
168   - return;
169   - }
170   - switch (Em_App_msg.hdr.kind) {
171   - case Em_Message_CONNECT:
172   - Em_App_state = Em_App_CONNECTED;
173   - Em_App_CONNECTHANDLER();
174   - break;
175   - case Em_Message_DISCONNECT:
176   - Em_App_state = Em_App_DISCONNECTED;
177   - Em_App_DISCONNECTHANDLER();
178   - break;
179   - case Em_Message_PAIRING_DONE:
180   - if (Em_App_pdHdlr) {
181   - (*Em_App_pdHdlr)();
182   - }
183   - break;
184   - case Em_Message_FETCH:
185   - if (Em_App_msg.hdr.resId < 0x80) {
186   - Em_App_fetchDispatch();
187   - }
188   - else {
189   - Em_App_sysFetchDispatch();
190   - }
191   - break;
192   - case Em_Message_STORE:
193   - if (Em_App_msg.hdr.resId < 0x80) {
194   - Em_App_storeDispatch();
195   - }
196   - else {
197   - Em_App_sysStoreDispatch();
198   - }
199   - break;
200   - }
201   -}
202   -
203   -void Em_App_marshallToBuf() {
204   - char ch;
205   - while ((ch = *Em_App_desc++)) {
206   - switch (ch) {
207   - case '0' : {
208   - *Em_App_bufp++ = 0;
209   - break;
210   - }
211   - case '1' : {
212   - *Em_App_bufp++ = *Em_App_valp & 0xFF;
213   - break;
214   - }
215   - case '2' : {
216   - uint16_t v16 = *(uint16_t*)Em_App_valp;
217   - *Em_App_bufp++ = v16 & 0xFF;
218   - *Em_App_bufp++ = (v16 >> 8) & 0xFF;
219   - break;
220   - }
221   - case '4' : {
222   - if (((uint32_t)Em_App_valp & 0x1)) Em_App_valp++;
223   - uint32_t v32 = *(uint32_t*)Em_App_valp++;
224   - *Em_App_bufp++ = v32 & 0xFF;
225   - *Em_App_bufp++ = (v32 >> 8) & 0xFF;
226   - *Em_App_bufp++ = (v32 >> 16) & 0xFF;
227   - *Em_App_bufp++ = (v32 >> 24) & 0xFF;
228   - break;
229   - }
230   - }
231   - Em_App_valp += 1;
232   - }
233   -}
234   -
235   -void Em_App_marshallToVal() {
236   - char ch;
237   - while ((ch = *Em_App_desc++)) {
238   - switch (ch) {
239   - case '0' : {
240   - *Em_App_valp = 0;
241   - Em_App_bufp += 1;
242   - break;
243   - }
244   - case '1' : {
245   - *Em_App_valp = *Em_App_bufp++ & 0xFF;
246   - break;
247   - }
248   - case '2' : {
249   - uint16_t v16 = *Em_App_bufp++ & 0xFF;
250   - v16 |= (*Em_App_bufp++ << 8);
251   - *(uint16_t*)Em_App_valp = v16;
252   - break;
253   - }
254   - case '4' : {
255   - if (((uint32_t)Em_App_valp & 0x1)) Em_App_valp++;
256   - uint32_t v32 = (uint32_t)*Em_App_bufp++ & 0xFF;
257   - v32 |= ((uint32_t)*Em_App_bufp++ << 8);
258   - v32 |= ((uint32_t)*Em_App_bufp++ << 16);
259   - v32 |= ((uint32_t)*Em_App_bufp++ << 24);
260   - *(uint32_t*)Em_App_valp++ = v32;
261   - break;
262   - }
263   - }
264   - Em_App_valp += 1;
265   - }
266   -}
267   -
268   -void Em_App_PAIRINGOFF(void(*handler)(void)) {
269   - Em_App_PAIRINGON(0, handler);
270   -}
271   -
272   -void Em_App_PAIRINGON(uint8_t secs, void(*handler)(void)) {
273   - if (Em_App_state != Em_App_DISCONNECTED) {
274   - return;
275   - }
276   - Em_App_pdHdlr = handler;
277   - Em_App_ind.sot = 0;
278   - Em_App_ind.hdr.kind = Em_Message_PAIRING;
279   - Em_App_ind.hdr.size = sizeof (Em_Message_Header);
280   - Em_App_ind.hdr.resId = secs;
281   - Em_App_startIndSend();
282   -}
283   -
284   -void Em_App_RESET(void) {
285   - Em_Hal_reset();
286   - _Em_Message_rxBuf = _Em_Message_txBuf = 0;
287   - _Em_Message_rxCnt = _Em_Message_txCnt = 0;
288   - Em_App_recvIdx = Em_App_recvSize = Em_App_xmitIdx = Em_App_xmitSize = 0;
289   - Em_App_state = Em_App_IDLE;
290   - Em_App_fileIndex = 0;
291   - Em_App_xmitMask = 0;
292   -}
293   -
294   -void Em_App_SETDEVICENAME(const char* name) {
295   - Em_App_devName = name;
296   -}
297   -
298   -void Em_App_START(void) {
299   - Em_App_RESET();
300   - Em_App_state = Em_App_STARTING;
301   -}
302   -
303   -void Em_App_sendResponse(Em_Message_Kind kind, Em_Message_Size size) {
304   - if (Em_App_state != Em_App_IDLE) {
305   - Em_App_msg.sot = 0;
306   - Em_App_msg.hdr.kind = kind;
307   - Em_App_msg.hdr.size = size + sizeof (Em_Message_Header);
308   - if (Em_App_xmitReady(0)) {
309   - Em_App_startResSend();
310   - }
311   - }
312   -}
313   -
314   -void Em_App_startIndSend(void) {
315   - Em_App_outBuf = (uint8_t*)&Em_App_ind.sot;
316   - Em_App_xmitSize = Em_App_ind.hdr.size + 1;
317   - Em_App_xmitIdx = 0;
318   - Em_Hal_startSend();
319   -}
320   -
321   -void Em_App_startResSend(void) {
322   - Em_App_outBuf = (uint8_t*)&Em_App_msg.sot;
323   - Em_App_xmitSize = Em_App_msg.hdr.size + 1;
324   - Em_App_xmitIdx = 0;
325   - Em_Hal_startSend();
326   -}
327   -
328   -void Em_App_sysFetchDispatch(void) {
329   - uint8_t size = 0;
330   - int i, j;
331   - switch (Em_App_msg.hdr.resId) {
332   - case Em_Message_SYS_SCHEMA_HASH:
333   - for (i = 0; i < sizeof (Em_App_hash); i++) {
334   - Em_App_msg.data[i] = Em_App_hash[i];
335   - }
336   - Em_App_msg.data[sizeof (Em_App_hash)] = *((uint8_t*)&Em_App_endian);
337   - size = sizeof (Em_App_hash) + 1;
338   - break;
339   - case Em_Message_SYS_MCM_NAME:
340   - if (Em_App_devName) {
341   - for (i = 0; i < Em_App_DEVNAME_LEN; i++) {
342   - if ((Em_App_msg.data[i] = Em_App_devName[i]) == 0) {
343   - break;
344   - }
345   - }
346   - for (j = i; j < Em_App_DEVNAME_LEN; j++) {
347   - Em_App_msg.data[j] = 0;
348   - }
349   - size = Em_App_DEVNAME_LEN;
350   - }
351   - break;
352   - case Em_Message_SYS_EAP_PROTOCOL_LEVEL:
353   - *((Em_Message_protocolLevel_t*)Em_App_msg.data) = Em_Message_protocolLevel;
354   - size = sizeof (Em_Message_protocolLevel_t);
355   - break;
356   - case Em_Message_SYS_EAP_BUILD_DATE:
357   - for (i = 0; i < sizeof (Em_App_build); i++) {
358   - Em_App_msg.data[i] = Em_App_build[i];
359   - }
360   - size = sizeof (Em_App_build);
361   - break;
362   - case Em_Message_SYS_RESOURCE_COUNT:
363   - Em_App_msg.data[0] = Em_App_APP_RESOURCE_COUNT;
364   - Em_App_msg.data[1] = Em_App_SYS_RESOURCE_COUNT;
365   - size = 2;
366   - break;
367   - }
368   - Em_App_sendResponse(Em_Message_FETCH_DONE, size);
369   -}
370   -
371   -void Em_App_sysStoreDispatch(void) {
372   - switch (Em_App_msg.hdr.resId) {
373   - case Em_Message_SYS_FILE_INDEX_RESET:
374   - Em_App_fileIndex = 0;
375   - break;
376   - }
377   - Em_App_sendResponse(Em_Message_STORE_DONE, 0);
378   -}
379   -
380   -bool Em_App_xmitReady(Em_Message_ResId indId) {
381   - uint8_t key = Em_Hal_lock();
382   - bool res = _Em_Message_txBuf == 0 && Em_App_xmitMask == 0;
383   - if (!res) {
384   - Em_App_xmitMask |= (1 << indId);
385   - }
386   - Em_Hal_unlock(key);
387   - return res;
388   -}
389   -
390   -/* END common code */
391   -
392   -void Em_App_fetchDispatch(void) {
393   - uint8_t size = 0;
394   - switch (Em_App_msg.hdr.resId) {
395   - case 0: {
396   - break;
397   - }
398   - case 1: {
399   -#ifdef Em_16BIT
400   - DUREX_numBytes_t val;
401   - Em_App_valp = (uint8_t*)&val;
402   - Em_App_bufp = Em_App_msg.data;
403   - Em_App_desc = "1";
404   - DUREX_numBytes_fetch(&val);
405   - Em_App_marshallToBuf();
406   -#else
407   - DUREX_numBytes_fetch((void*)Em_App_msg.data);
408   -#endif
409   - size = 1;
410   - break;
411   - }
412   - case 2: {
413   -#ifdef Em_16BIT
414   - DUREX_data_t val;
415   - Em_App_valp = (uint8_t*)&val;
416   - Em_App_bufp = Em_App_msg.data;
417   - Em_App_desc = "*\xc9[1]";
418   - DUREX_data_fetch(&val);
419   - Em_App_marshallToBuf();
420   -#else
421   - DUREX_data_fetch((void*)Em_App_msg.data);
422   -#endif
423   - size = 201;
424   - break;
425   - }
426   - case 3: {
427   -#ifdef Em_16BIT
428   - DUREX_numPackets_t val;
429   - Em_App_valp = (uint8_t*)&val;
430   - Em_App_bufp = Em_App_msg.data;
431   - Em_App_desc = "1";
432   - DUREX_numPackets_fetch(&val);
433   - Em_App_marshallToBuf();
434   -#else
435   - DUREX_numPackets_fetch((void*)Em_App_msg.data);
436   -#endif
437   - size = 1;
438   - break;
439   - }
440   - case 4: {
441   -#ifdef Em_16BIT
442   - DUREX_messageAvailable_t val;
443   - Em_App_valp = (uint8_t*)&val;
444   - Em_App_bufp = Em_App_msg.data;
445   - Em_App_desc = "1";
446   - DUREX_messageAvailable_fetch(&val);
447   - Em_App_marshallToBuf();
448   -#else
449   - DUREX_messageAvailable_fetch((void*)Em_App_msg.data);
450   -#endif
451   - size = 1;
452   - break;
453   - }
454   - }
455   - Em_App_sendResponse(Em_Message_FETCH_DONE, size);
456   -}
457   -
458   -void Em_App_storeDispatch(void) {
459   - switch (Em_App_msg.hdr.resId) {
460   - case 0: {
461   - break;
462   - }
463   - case 1: {
464   -#ifdef Em_16BIT
465   - DUREX_numBytes_t val;
466   - Em_App_valp = (uint8_t*)&val;
467   - Em_App_bufp = Em_App_msg.data;
468   - Em_App_desc = "1";
469   - Em_App_marshallToVal();
470   - DUREX_numBytes_store(&val);
471   -#else
472   - DUREX_numBytes_store((void*)Em_App_msg.data);
473   -#endif
474   - break;
475   - }
476   - case 2: {
477   -#ifdef Em_16BIT
478   - DUREX_data_t val;
479   - Em_App_valp = (uint8_t*)&val;
480   - Em_App_bufp = Em_App_msg.data;
481   - Em_App_desc = "*\xc9[1]";
482   - Em_App_marshallToVal();
483   - DUREX_data_store(&val);
484   -#else
485   - DUREX_data_store((void*)Em_App_msg.data);
486   -#endif
487   - break;
488   - }
489   - case 3: {
490   -#ifdef Em_16BIT
491   - DUREX_numPackets_t val;
492   - Em_App_valp = (uint8_t*)&val;
493   - Em_App_bufp = Em_App_msg.data;
494   - Em_App_desc = "1";
495   - Em_App_marshallToVal();
496   - DUREX_numPackets_store(&val);
497   -#else
498   - DUREX_numPackets_store((void*)Em_App_msg.data);
499   -#endif
500   - break;
501   - }
502   - }
503   - Em_App_sendResponse(Em_Message_STORE_DONE, 0);
504   -}
505   -
506   -void Em_App_sendIndicator(Em_Message_ResId indId) {
507   - Em_Message_Size resId = 0;
508   - Em_Message_Size size = 0;
509   - switch (indId) {
510   - case 1: {
511   -#ifdef Em_16BIT
512   - DUREX_messageAvailable_t val;
513   - Em_App_valp = (uint8_t*)&val;
514   - Em_App_bufp = Em_App_ind.data;
515   - Em_App_desc = "1";
516   - DUREX_messageAvailable_fetch(&val);
517   - Em_App_marshallToBuf();
518   -#else
519   - DUREX_messageAvailable_fetch((DUREX_messageAvailable_t*)&Em_App_ind.data);
520   -#endif
521   - resId = 4;
522   - size = 1;
523   - break;
524   - }
525   - }
526   - Em_App_ind.sot = 0;
527   - Em_App_ind.hdr.kind = Em_Message_INDICATOR;
528   - Em_App_ind.hdr.size = sizeof (Em_Message_Header) + size;
529   - Em_App_ind.hdr.resId = resId;
530   - Em_App_startIndSend();
531   -}
532   -
533   -void DUREX_messageAvailable_indicate(void) {
534   - if (Em_App_state == Em_App_CONNECTED && Em_App_xmitReady(1 + 1)) Em_App_sendIndicator(1);
535   -}
536   -
537   -#ifdef __cplusplus
538   -}
539   -#endif
540   -
DUREX/Em/DUREX.h deleted
1   -/**** DO NOT EDIT -- this file has been automatically generated from @emmoco.com.DUREX on 2014-08-07T19:28:56T ****/
2   -/**** protocolLevel = 13, toolsVersion = 13.4.1.201311121909 ****/
3   -
4   -#ifndef DUREX__H
5   -#define DUREX__H
6   -
7   -#include "Em_Types.h"
8   -#include "Em_Message.h"
9   -
10   -#ifdef __cplusplus
11   -extern "C" {
12   -#endif
13   -
14   -/* -------- connection callback functions implemented by the application -------- */
15   -
16   -void DUREX_connectHandler(void);
17   -void DUREX_disconnectHandler(void);
18   -
19   -/* -------- resource types defined in the schema -------- */
20   -
21   -/* typedef String */
22   -typedef char DUREX_String[201];
23   -#define DUREX_String_length 201
24   -
25   -/* enum BOOLEAN */
26   -typedef uint8_t DUREX_BOOLEAN;
27   -#define DUREX_TRUE 0
28   -#define DUREX_FALSE 1
29   -
30   -/* -------- resource callback functions implemented by the application -------- */
31   -
32   -/* resource numBytes */
33   -typedef uint8_t DUREX_numBytes_t;
34   -extern void DUREX_numBytes_fetch(DUREX_numBytes_t* output);
35   -extern void DUREX_numBytes_store(DUREX_numBytes_t* input);
36   -
37   -/* resource data */
38   -typedef DUREX_String DUREX_data_t;
39   -extern void DUREX_data_fetch(DUREX_data_t output);
40   -extern void DUREX_data_store(DUREX_data_t input);
41   -
42   -/* resource numPackets */
43   -typedef uint8_t DUREX_numPackets_t;
44   -extern void DUREX_numPackets_fetch(DUREX_numPackets_t* output);
45   -extern void DUREX_numPackets_store(DUREX_numPackets_t* input);
46   -
47   -/* resource messageAvailable */
48   -typedef DUREX_BOOLEAN DUREX_messageAvailable_t;
49   -extern void DUREX_messageAvailable_fetch(DUREX_messageAvailable_t* output);
50   -extern void DUREX_messageAvailable_indicate(void); /* called by the application */
51   -
52   -/* -------- application functions implemented in DUREX.c -------- */
53   -
54   -void DUREX_accept(bool enable);
55   -void DUREX_activateParameters(uint8_t group);
56   -void DUREX_broadcastOff(void);
57   -void DUREX_disconnect(void);
58   -void DUREX_pairingOn(uint8_t secs, void(*handler)(void));
59   -void DUREX_pairingOff(void(*handler)(void));
60   -void DUREX_reset(void);
61   -void DUREX_setDeviceName(const char* name);
62   -void DUREX_start(void);
63   -
64   -#ifdef __cplusplus
65   -}
66   -#endif
67   -
68   -#endif /* DUREX__H */
DUREX/Em/Em_Message.h deleted
1   -#ifndef Em_Message_H_
2   -#define Em_Message_H_
3   -
4   -#include "Em_Types.h"
5   -
6   -#ifdef __cplusplus
7   -extern "C" {
8   -#endif
9   -
10   -/* -------- SRT FUNCTIONS CALLED BY HAL -------- */
11   -
12   -static inline bool Em_Message_addByte(uint8_t b);
13   -extern void Em_Message_dispatch(void);
14   -static inline bool Em_Message_getByte(uint8_t* bp);
15   -extern void Em_Message_restart(void);
16   -static inline bool Em_Message_startRx(void);
17   -static inline uint8_t Em_Message_startTx(void);
18   -
19   -
20   -/* -------- HAL FUNCTIONS CALLED BY SRT -------- */
21   -
22   -extern uint8_t Em_Hal_lock(void);
23   -extern void Em_Hal_reset(void);
24   -extern void Em_Hal_startSend(void);
25   -extern void Em_Hal_unlock(uint8_t key);
26   -extern void Em_Hal_watchOff(void);
27   -extern void Em_Hal_watchOn(void);
28   -
29   -
30   -/* -------- MESSAGE FORMAT -------- */
31   -
32   -/* protocolLevel #4 */
33   -#define Em_Message_INDSIZE 4
34   -
35   -typedef uint8_t Em_Message_Size;
36   -typedef uint8_t Em_Message_Kind;
37   -/* protocolLevel #12 -- split 16-bit resId into <resId, chan> */
38   -typedef uint8_t Em_Message_ResId;
39   -typedef uint8_t Em_Message_Chan;
40   -
41   -#define Em_Message_NOP 0
42   -#define Em_Message_FETCH 1
43   -#define Em_Message_FETCH_DONE 2
44   -#define Em_Message_STORE 3
45   -#define Em_Message_STORE_DONE 4
46   -#define Em_Message_INDICATOR 5
47   -#define Em_Message_CONNECT 6
48   -#define Em_Message_DISCONNECT 7
49   -#define Em_Message_ECHO 8
50   -/* protocolLevel #3 */
51   -/* protocolLevel #6 -- rename from BROADCAST to PAIRING */
52   -#define Em_Message_PAIRING 9
53   -#define Em_Message_PAIRING_DONE 10
54   -/* protocolLevel #7 */
55   -#define Em_Message_OFFLINE 11
56   -/* protocolLevel #8 */
57   -#define Em_Message_ACCEPT 12
58   -/* protocolLevel #13 */
59   -#define Em_Message_START 13
60   -#define Em_Message_ACTIVE_PARAMS 14
61   -
62   -typedef struct Em_Message_Header {
63   - Em_Message_Size size;
64   - Em_Message_Kind kind;
65   - Em_Message_ResId resId;
66   - Em_Message_Chan chan;
67   -} Em_Message_Header;
68   -
69   -typedef uint16_t Em_Message_protocolLevel_t;
70   -
71   -/* protocolLevel #1 */
72   -
73   -/* protocolLevel #10 */
74   -/* #define Em_Message_SYS_SCHEMA_UUID 0xFF */
75   -
76   -#define Em_Message_SYS_MCM_PROTOCOL_LEVEL 0xFE
77   -#define Em_Message_SYS_EAP_PROTOCOL_LEVEL 0xFD
78   -#define Em_Message_SYS_EAP_BUILD_DATE 0xFC
79   -
80   -/* protocolLevel #2 */
81   -#define Em_Message_SYS_FILE_INDEX_RESET 0xFB
82   -
83   -/* protocolLevel #5 */
84   -#define Em_Message_SYS_SCHEMA_HASH 0xFA
85   -
86   -/* protocolLevel #7 */
87   -#define Em_Message_SYS_RESOURCE_COUNT 0xF9
88   -
89   -/* protocolLevel #9 */
90   -#define Em_Message_SYS_MOBILE_RSSI 0xF8
91   -
92   -/* protocolLevel #11 */
93   -#define Em_Message_SYS_MCM_DISCONNECT 0xF7
94   -
95   -/* protocolLevel #13a */
96   -#define Em_Message_SYS_MCM_NAME 0xF5
97   -
98   -
99   -/* -------- PRIVATE -------- */
100   -
101   -extern void Em_Message_nextXmit(void);
102   -
103   -extern uint8_t* Em_App_inBuf;
104   -extern uint8_t* Em_App_outBuf;
105   -extern Em_Message_Size Em_App_xmitSize;
106   -
107   -extern uint8_t* _Em_Message_rxBuf;
108   -extern uint8_t _Em_Message_rxCnt;
109   -
110   -extern uint8_t* _Em_Message_txBuf;
111   -extern uint8_t _Em_Message_txCnt;
112   -
113   -static inline bool Em_Message_addByte(uint8_t b) {
114   - if (_Em_Message_rxCnt == 0) {
115   - if (b == 0) {
116   - return false;
117   - }
118   - _Em_Message_rxCnt = b;
119   - }
120   - *_Em_Message_rxBuf++ = b;
121   - if (--_Em_Message_rxCnt == 0) {
122   - _Em_Message_rxBuf = 0;
123   - if (_Em_Message_txBuf == 0) {
124   - Em_Hal_watchOff();
125   - }
126   - return true;
127   - }
128   - else {
129   - return false;
130   - }
131   -}
132   -
133   -static inline bool Em_Message_getByte(uint8_t* bp) {
134   - if (_Em_Message_txBuf == 0) {
135   - return false;
136   - }
137   - if (_Em_Message_txCnt == 0) {
138   - _Em_Message_txCnt = *_Em_Message_txBuf + 1;
139   - }
140   - if (--_Em_Message_txCnt > 0) {
141   - *bp = *_Em_Message_txBuf++;
142   - return true;
143   - }
144   - else {
145   - _Em_Message_txBuf = 0;
146   - Em_App_xmitSize = 0;
147   - Em_Message_nextXmit();
148   - if (_Em_Message_rxBuf == 0) {
149   - Em_Hal_watchOff();
150   - }
151   - return false;
152   - }
153   -}
154   -
155   -static inline bool Em_Message_startRx(void) {
156   - if (_Em_Message_rxBuf == 0) {
157   - _Em_Message_rxBuf = Em_App_inBuf;
158   - if (_Em_Message_txBuf == 0) {
159   - Em_Hal_watchOn();
160   - }
161   - return true;
162   - }
163   - else {
164   - return false;
165   - }
166   -}
167   -
168   -static inline uint8_t Em_Message_startTx(void) {
169   - _Em_Message_txBuf = Em_App_outBuf + 1;
170   - _Em_Message_txCnt = 0;
171   - if (_Em_Message_rxBuf == 0) {
172   - Em_Hal_watchOn();
173   - }
174   - return 0;
175   -}
176   -
177   -
178   -#ifdef __cplusplus
179   -}
180   -#endif
181   -
182   -#endif /*Em_Message_H_*/
DUREX/Em/Em_Types.h deleted
1   -#ifndef Em_Types_H_
2   -#define Em_Types_H_
3   -
4   -#ifndef Em_NOSTDBOOL
5   -#include <stdbool.h>
6   -#endif
7   -
8   -#ifndef Em_NOSTDINT
9   -#include <stdint.h>
10   -#endif
11   -
12   -#ifdef Em_16BIT
13   -typedef signed char int8_t;
14   -typedef unsigned char uint8_t;
15   -#endif
16   -
17   -#endif /*Em_Types_H_*/
DUREX/Em/durex.json deleted
1   -{
2   - "resources": {
3   - "$eapProtocolLevel": {
4   - "id": -3,
5   - "align": 2,
6   - "attributes": {"readonly": true},
7   - "type": "u2",
8   - "access": "r",
9   - "size": 2
10   - },
11   - "numBytes": {
12   - "id": 1,
13   - "align": 1,
14   - "attributes": {},
15   - "type": "u1",
16   - "access": "rw",
17   - "size": 1
18   - },
19   - "data": {
20   - "id": 2,
21   - "align": 1,
22   - "attributes": {},
23   - "type": "C:201",
24   - "access": "rw",
25   - "size": 201
26   - },
27   - "$activeGroup": {
28   - "id": -10,
29   - "align": 1,
30   - "pack": 1,
31   - "attributes": {"readwrite": true},
32   - "type": "E:system@emmoco.com.System/ParameterGroup",
33   - "access": "rw",
34   - "size": 1
35   - },
36   - "$mcmDisconnect": {
37   - "id": -9,
38   - "align": 1,
39   - "attributes": {"writeonly": true},
40   - "type": "u1",
41   - "access": "w",
42   - "size": 1
43   - },
44   - "$eapBuildDate": {
45   - "dim": 8,
46   - "id": -4,
47   - "align": 1,
48   - "attributes": {"readonly": true},
49   - "type": "A8:u1",
50   - "access": "r",
51   - "size": 8
52   - },
53   - "numPackets": {
54   - "id": 3,
55   - "align": 1,
56   - "attributes": {},
57   - "type": "u1",
58   - "access": "rw",
59   - "size": 1
60   - },
61   - "$resourceCount": {
62   - "id": -7,
63   - "align": 1,
64   - "attributes": {"readonly": true},
65   - "type": "S:system@emmoco.com.System/ResourceCount",
66   - "access": "r",
67   - "size": 2
68   - },
69   - "$schemaHash": {
70   - "dim": 20,
71   - "id": -6,
72   - "align": 1,
73   - "attributes": {"readonly": true},
74   - "type": "A20:u1",
75   - "access": "r",
76   - "size": 20
77   - },
78   - "messageAvailable": {
79   - "id": 4,
80   - "align": 1,
81   - "pack": 1,
82   - "attributes": {"indicator": true},
83   - "type": "E:@emmoco.com.DUREX/BOOLEAN",
84   - "access": "ir",
85   - "size": 1
86   - },
87   - "$mcmProtocolLevel": {
88   - "id": -2,
89   - "align": 2,
90   - "attributes": {"readonly": true},
91   - "type": "u2",
92   - "access": "r",
93   - "size": 2
94   - },
95   - "$mobileRssi": {
96   - "id": -8,
97   - "align": 1,
98   - "attributes": {"readonly": true},
99   - "type": "i1",
100   - "access": "r",
101   - "size": 1
102   - },
103   - "$fileIndexReset": {
104   - "id": -5,
105   - "align": 2,
106   - "attributes": {"writeonly": true},
107   - "type": "i2",
108   - "access": "w",
109   - "size": 2
110   - }
111   - },
112   - "resourceNamesSys": [
113   - "$activeGroup",
114   - "$eapBuildDate",
115   - "$eapProtocolLevel",
116   - "$fileIndexReset",
117   - "$mcmDisconnect",
118   - "$mcmProtocolLevel",
119   - "$mobileRssi",
120   - "$resourceCount",
121   - "$schemaHash"
122   - ],
123   - "manifest": {
124   - "protocolLevel": 13,
125   - "hash": [
126   - 0,
127   - 164,
128   - 192,
129   - 32,
130   - 22,
131   - 163,
132   - 114,
133   - 239,
134   - 91,
135   - 240,
136   - 123,
137   - 128,
138   - 206,
139   - 12,
140   - 50,
141   - 148
142   - ],
143   - "toolVersion": "13.4.1.201311121909",
144   - "name": "DUREX",
145   - "$$md5": "00a4c02016a372ef5bf07b80ce0c3294",
146   - "build": [
147   - 131,
148   - 51,
149   - 132,
150   - 177,
151   - 71,
152   - 1,
153   - 0,
154   - 0
155   - ],
156   - "date": "2014-08-07T19:28:56T",
157   - "maxAlign": 2,
158   - "maxSize": 201,
159   - "version": "1.0.0"
160   - },
161   - "resourceNames": [
162   - "numBytes",
163   - "data",
164   - "numPackets",
165   - "messageAvailable",
166   - "$mcmProtocolLevel",
167   - "$eapProtocolLevel",
168   - "$eapBuildDate",
169   - "$fileIndexReset",
170   - "$schemaHash",
171   - "$resourceCount",
172   - "$mobileRssi",
173   - "$mcmDisconnect",
174   - "$activeGroup"
175   - ],
176   - "attributes": {
177   - "description": "",
178   - "version": "1.0.0"
179   - },
180   - "resourceNamesApp": [
181   - "numBytes",
182   - "data",
183   - "numPackets",
184   - "messageAvailable"
185   - ],
186   - "types": {
187   - "system@emmoco.com.System/ResourceCount": {
188   - "packed": false,
189   - "align": 1,
190   - "type": "S:system@emmoco.com.System/ResourceCount",
191   - "size": 2,
192   - "fields": [
193   - {
194   - "pad": 0,
195   - "align": 1,
196   - "name": "app",
197   - "type": "u1",
198   - "size": 1
199   - },
200   - {
201   - "pad": 0,
202   - "align": 1,
203   - "name": "sys",
204   - "type": "u1",
205   - "size": 1
206   - }
207   - ]
208   - },
209   - "std:i2": {
210   - "align": 2,
211   - "size": 2
212   - },
213   - "std:i1": {
214   - "align": 1,
215   - "size": 1
216   - },
217   - "std:u1": {
218   - "align": 1,
219   - "size": 1
220   - },
221   - "@emmoco.com.DUREX/BOOLEAN": {
222   - "values": [
223   - "TRUE",
224   - "FALSE"
225   - ],
226   - "align": 1,
227   - "pack": 1,
228   - "type": "E:@emmoco.com.DUREX/BOOLEAN",
229   - "size": 1
230   - },
231   - "system@emmoco.com.System/ParameterGroup": {
232   - "values": [
233   - "GROUP_A",
234   - "GROUP_B"
235   - ],
236   - "align": 1,
237   - "pack": 1,
238   - "type": "E:system@emmoco.com.System/ParameterGroup",
239   - "size": 1
240   - },
241   - "std:u2": {
242   - "align": 2,
243   - "size": 2
244   - }
245   - },
246   - "imports": {"@emmoco.com.DUREX": true}
247   -}
248 0 \ No newline at end of file
DUREX/Output/DUREX-Prog.hex deleted
1   -:10C000005542200135D0085A8245DA0331400004F8
2   -:10C010003F4002000F9308249242DA0320012F834D
3   -:10C020009F4FF4C80002F8233F40D8010F93072424
4   -:10C030009242DA0320011F83CF430202F923B01298
5   -:10C040008CC4B012DCC0B0125CC532D0F000FD3F31
6   -:10C050003040ACC8B0127EC43041B01284C430410C
7   -:10C06000DF42CD0200003041E24FCD0230415D425F
8   -:10C07000CD023E400402B012B0C730415D42CD0255
9   -:10C080000E4F3F400402B012B0C73041DF420302FE
10   -:10C0900000003041E24F03023041DF420202000063
11   -:10C0A0003041B012A6C58243D2028243D602C243B7
12   -:10C0B000D002C243D402C243EF02C243D603C243FA
13   -:10C0C000FE02C243EE02C243E2028243DE02824328
14   -:10C0D000E0028243DA028243DC023041B012A2C0A5
15   -:10C0E000D243E2023041B012DCC03041B240F5022E
16   -:10C0F000D8025F42F6025F53C24FEF02C243D6033B
17   -:10C10000B012FCC53041B2400303D8025F420403C1
18   -:10C110005F53C24FEF02C243D603B012FCC5304199
19   -:10C120000B120A1209120812484FB0129CC5494F4F
20   -:10C130001A42DA021B42DC028293D20224241E43FA
21   -:10C140004F487FF00F0018200C4E8E108E118E106D
22   -:10C150008E110D4E0E4A0F4B0EDC0FDD824EDA02B1
23   -:10C16000824FDC024A434F49B0122EC64F4A384133
24   -:10C1700039413A413B4130410E5E7F53E5270E5E27
25   -:10C180007F53FA23E13F0A93DA230B93D8235A43D0
26   -:10C19000EA3FC293E20201203041C2430303C24F8F
27   -:10C1A00005036E52C24E04034F43B01220C14F9399
28   -:10C1B000F327B01206C13041F290FBFF06030420C2
29   -:10C1C0008243DE028243E0024E436F42B01292C1CC
30   -:10C1D00030415F4206037F500B007F900900052825
31   -:10C1E0004E436F43B01292C130414F4F0F5F104F1B
32   -:10C1F000AEC81C42CE020C93F3273F4008030E4307
33   -:10C200000D4C0D5E6D4DCF4D00004D9340241E53DF
34   -:10C210001F533E900900F4234E4E6F43B01292C15B
35   -:10C220003041E2420803F240090009036E436F43C4
36   -:10C23000B01292C130413F40E0C83E400803FE4F7B
37   -:10C2400000001E533F90F3C8FA23D242D6C81B0306
38   -:10C250007E4014006F43B01292C130413F40D8C8B5
39   -:10C260003E400803FE4F00001E533F90E0C8FA23F3
40   -:10C270007E426F43B01292C13041F2400D0008037C
41   -:10C28000C24309036E436F43B01292C130410F4E57
42   -:10C290003F523F500003CF4300001F533F90110314
43   -:10C2A000FA237E4009006F43B01292C130415F42D1
44   -:10C2B00006036F9321247F9003000A287F900300D8
45   -:10C2C00025246F9210244E436F43B01292C1304127
46   -:10C2D0005F93F9233F400803B01260C05E436F4391
47   -:10C2E000B01292C130413F400803B0129AC05E4381
48   -:10C2F0006F43B01292C130413F400803B0126EC08C
49   -:10C300007E40C9FF6F43B01292C130413F400803E5
50   -:10C31000B0128CC05E436F43B01292C130415F4295
51   -:10C3200006036F931C247F90030010245F93052461
52   -:10C330004E436F42B01292C130413F400803B012E9
53   -:10C3400068C04E436F42B01292C130413F40080373
54   -:10C35000B01294C04E436F42B01292C130413F4080
55   -:10C360000803B0127CC04E436F42B01292C13041FC
56   -:10C37000C293E2020424F2900B000503012830412D
57   -:10C380005F4205030F5F104FC0C81F42D2030F93D7
58   -:10C39000F6278F123041E243E202B0125AC0304118
59   -:10C3A000F2400300E202B01254C03041C2930603CF
60   -:10C3B0000938B0121EC33041C29306030638B012CA
61   -:10C3C000AEC23041B012B8C13041B012D2C130411A
62   -:10C3D0005F930E246E424F43C243F502F2400500C4
63   -:10C3E000F702C24EF602C24FF802B012ECC0304162
64   -:10C3F0003F40FA02B0129AC07E4005006F42EC3F07
65   -:10C400000B12B0129CC54B4F1E42DA021F42DC02D7
66   -:10C410000E9307200F9305204F4BB0122EC63B41C1
67   -:10C4200030410C4E0D4F1CF30DF30C930C240C4EAD
68   -:10C430000D4F3CF0FEFF3DF3824CDA02824DDC02F0
69   -:10C44000B01206C1E93F0D93F2230C4E0D4F2CF3B1
70   -:10C450000DF30C930D240C4E0D4F3CF0FDFF3DF3FE
71   -:10C46000824CDA02824DDC024F43B012D0C3D43F7B
72   -:10C470000D93F1234F4BB0122EC63B413041D2D326
73   -:10C4800021003041F2F0FEFF21003041B240805ADD
74   -:10C490002001C24358005F42FF107F930824C2432B
75   -:10C4A0005600D242FF105700D242FE105600F2D082
76   -:10C4B00080FF5700F24024005300F2D040002200D9
77   -:10C4C000F2F0BFFF2100D2D32200F2F0FEFF2100E4
78   -:10C4D000F2D22A00F2F0F7FF2900F2D010002A0071
79   -:10C4E000F2F0EFFF2900F2D22900F2F0F7FF290065
80   -:10C4F000B240200180011F4290013F50B80B824F93
81   -:10C500009401B24010008401D2D36100E2D326002E
82   -:10C51000E2D34100E2D22600E2D24100D2D32A0087
83   -:10C52000D2D32900F2F0FDFF2A00E2D32C00F2F072
84   -:10C53000FDFF2B00E2D32D00F2F0FEFF2900F240B8
85   -:10C5400081FF6100F2400C006400F2426200F2F0F0
86   -:10C55000FEFF6100B24070C3EA0230410B120A12C2
87   -:10C56000091232D232C203431942E4028243E40286
88   -:10C570000993032032D0D800F53F32D23A40E60288
89   -:10C580001B430F4B0FF904242F4A0F9301248F12E2
90   -:10C590000B5B2A533A90EC02F423E43F0F4232C281
91   -:10C5A00003437FF230410D427DF232C20343F2F089
92   -:10C5B000FEFF29003E4064003F404C011F83FE23E4
93   -:10C5C000034303433E53F823D2D329003E40F401F2
94   -:10C5D0003F404C011F83FE23034303433E53F82394
95   -:10C5E000F2F0FEFF0300F2F0FDFF0300F2F0FDFFAA
96   -:10C5F0002B00D2D301004F4D02DF30411F42D80241
97   -:10C600001F53824FD202C243D0028293D602032428
98   -:10C61000C243670030411F4290013F50B80B824F28
99   -:10C620009401B24010008401C243670030414F4F73
100   -:10C6300002DF30410F120E120E4232C2034392D378
101   -:10C64000E4024F4E7FF24F4F02DFF2F0F7FF23007C
102   -:10C65000F2D22500B1C0D00004003E413F4100139A
103   -:10C660000F120E125E4266008293D6023324F2F05D
104   -:10C67000FEFF2900D2D32900C293D4020A204E9390
105   -:10C680000620B1C0D00004003E413F410013C24E1D
106   -:10C69000D4021F42D602CF4E00001F53824FD60253
107   -:10C6A0005F42D4027F53C24FD402EB238243D602AF
108   -:10C6B0008293D2021F240E4232C20343A2D2E4026A
109   -:10C6C0004F4E7FF24F4F02DFB1C0D00004003E4119
110   -:10C6D0003F41001392420002D6028293D202C72346
111   -:10C6E0001F4290013F50B80B824F9401B24010009E
112   -:10C6F0008401BD3F82438401DE3F0F120E1292522D
113   -:10C70000EC0292010E4232C20343A2D3E4024F4E26
114   -:10C710007FF24F4F02DFB1C0D00004003E413F41E5
115   -:10C7200000130F120E120D120C125F422B002FF38A
116   -:10C7300017241F42D2020F9310245E42D0024E9360
117   -:10C7400002206E4F5E537E53C24ED00211246E4FB4
118   -:10C750001F53824FD202C24E6700F2F0FDFF2B0042
119   -:10C76000B1C0D00008003C413D413E413F41001373
120   -:10C770008243D202C243EF02B01200C48293D602B7
121   -:10C78000EC2382438401E93F0F120E120D120C12AA
122   -:10C790001F421E012F93072082438401B012E6C07E
123   -:10C7A000B1C0D00008003C413D413E413F41001333
124   -:10C7B0000B120A120912081207120D9371240F9E10
125   -:10C7C0006F240F9E342C0C4E0CDF1CF31B240C4EDC
126   -:10C7D0000CEF1CF307202D9307280B4E1BF32C4363
127   -:10C7E0000C8B033C0C4D013C1C430D8C0A4C094E38
128   -:10C7F0000B4FFB4900001B533A53FB230A4F0A5CC3
129   -:10C800000E5C013C0A4F0B4D12C30B100B24094B5D
130   -:10C81000084E0C4ABC4800002C533953FB230B5BD9
131   -:10C820000E5B0A5B1DF33C24EA4E0000393C0E5DB2
132   -:10C830000C4F0C5D0B4C0BDE1BF31B240B4C0BEE57
133   -:10C840001BF306203D90030003280B4E1BF3013C15
134   -:10C850000B4D0D8B094E0A4C084B088C3A5339533B
135   -:10C86000EA490000074A0758F9233BE31B530C5BD6
136   -:10C870000E5B0B4D12C30B100E240A4B084E094CD5
137   -:10C8800028832983A94800003A53FA230A8B0B4ACC
138   -:10C890000B5B0E5B0C5B1DF30324DC4EFFFFFFFF05
139   -:0EC8A0003741384139413A413B4130410013A4
140   -:10C8AE00F2C1E0C1E0C1E0C122C236C2E0C15CC249
141   -:10C8BE007AC27EC3B8C37EC3ACC37EC37EC3A0C3DD
142   -:10C8CE0096C37EC37EC38AC30001AB1ECC874701CD
143   -:10C8DE00000000A4C02016A372EF5BF07B80CE0C8C
144   -:06C8EE0032940D00110060
145   -:02C8F40004033B
146   -:02C8F600000040
147   -:10FFE00050C050C034C622C750C050C050C060C6B8
148   -:10FFF00050C050C050C050C088C7FAC650C000C0E2
149   -:040000030000C00039
150   -:00000001FF
DUREX/Output/DUREX-Prog.map deleted
1   -Archive member included because of file (symbol)
2   -
3   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
4   - Output/DUREX-Prog.obj (strcmp)
5   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
6   - Output/DUREX-Prog.obj (memcpy)
7   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
8   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o (_reset_vector__)
9   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
10   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__watchdog_support)
11   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
12   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__init_stack)
13   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
14   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__low_level_init)
15   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
16   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__do_copy_data)
17   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
18   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__do_clear_bss)
19   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
20   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (__stop_progExec__)
21   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
22   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o) (_endless_loop__)
23   -/Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
24   - /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o (_unexpected_)
25   -
26   -Allocating common symbols
27   -Common symbol size file
28   -
29   -Em_App_recvIdx 0x1 Output/DUREX.obj
30   -Em_App_xmitSize 0x1 Output/DUREX.obj
31   -Em_App_valp 0x2 Output/DUREX.obj
32   -Em_App_ind_u 0xc Output/DUREX.obj
33   -Em_App_recvSize 0x1 Output/DUREX.obj
34   -Em_App_msg_u 0xd1 Output/DUREX.obj
35   -Em_App_pdHdlr 0x2 Output/DUREX.obj
36   -Em_App_bufp 0x2 Output/DUREX.obj
37   -Em_App_xmitIdx 0x1 Output/DUREX.obj
38   -Em_App_desc 0x2 Output/DUREX.obj
39   -
40   -Discarded input sections
41   -
42   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
43   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
44   - .text.crt0 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
45   - .text 0x0000000000000000 0x0 Output/DUREX-Prog.obj
46   - .data 0x0000000000000000 0x0 Output/DUREX-Prog.obj
47   - .bss 0x0000000000000000 0x0 Output/DUREX-Prog.obj
48   - .rodata.processMessage
49   - 0x0000000000000000 0x6 Output/DUREX-Prog.obj
50   - .text.processMessage
51   - 0x0000000000000000 0x40 Output/DUREX-Prog.obj
52   - .text.DUREX_messageAvailable_store
53   - 0x0000000000000000 0x38 Output/DUREX-Prog.obj
54   - .data.lastMessageAck
55   - 0x0000000000000000 0x1 Output/DUREX-Prog.obj
56   - .text 0x0000000000000000 0x0 Output/DUREX.obj
57   - .data 0x0000000000000000 0x0 Output/DUREX.obj
58   - .bss 0x0000000000000000 0x0 Output/DUREX.obj
59   - .text.Em_App_marshallToBuf
60   - 0x0000000000000000 0xd4 Output/DUREX.obj
61   - .text.Em_App_marshallToVal
62   - 0x0000000000000000 0x11a Output/DUREX.obj
63   - .text.DUREX_setDeviceName
64   - 0x0000000000000000 0x6 Output/DUREX.obj
65   - .text.DUREX_pairingOn
66   - 0x0000000000000000 0x24 Output/DUREX.obj
67   - .text.DUREX_pairingOff
68   - 0x0000000000000000 0xa Output/DUREX.obj
69   - .text.DUREX_disconnect
70   - 0x0000000000000000 0x26 Output/DUREX.obj
71   - .text.DUREX_broadcastOff
72   - 0x0000000000000000 0x1c Output/DUREX.obj
73   - .text.DUREX_activateParameters
74   - 0x0000000000000000 0x1e Output/DUREX.obj
75   - .text.DUREX_accept
76   - 0x0000000000000000 0x20 Output/DUREX.obj
77   - .text.DUREX_messageAvailable_indicate
78   - 0x0000000000000000 0x1c Output/DUREX.obj
79   - .text 0x0000000000000000 0x0 Output/Hal.obj
80   - .data 0x0000000000000000 0x0 Output/Hal.obj
81   - .bss 0x0000000000000000 0x0 Output/Hal.obj
82   - .text.buttonHandler
83   - 0x0000000000000000 0x28 Output/Hal.obj
84   - .text.Hal_buttonEnable
85   - 0x0000000000000000 0x3c Output/Hal.obj
86   - .text.Hal_debugOn
87   - 0x0000000000000000 0x18 Output/Hal.obj
88   - .text.Hal_debugOff
89   - 0x0000000000000000 0x1a Output/Hal.obj
90   - .text.Hal_debugPulse
91   - 0x0000000000000000 0x24 Output/Hal.obj
92   - .text.Hal_delay
93   - 0x0000000000000000 0x16 Output/Hal.obj
94   - .text.Hal_ledOn
95   - 0x0000000000000000 0x8 Output/Hal.obj
96   - .text.Hal_ledOff
97   - 0x0000000000000000 0x8 Output/Hal.obj
98   - .text.Hal_ledRead
99   - 0x0000000000000000 0x12 Output/Hal.obj
100   - .text.Hal_ledToggle
101   - 0x0000000000000000 0x8 Output/Hal.obj
102   - .text.Hal_tickStart
103   - 0x0000000000000000 0x24 Output/Hal.obj
104   - .text.Em_Hal_watchOff
105   - 0x0000000000000000 0x6 Output/Hal.obj
106   - .text.Em_Hal_watchOn
107   - 0x0000000000000000 0x14 Output/Hal.obj
108   - .bss.appButtonHandler
109   - 0x0000000000000000 0x2 Output/Hal.obj
110   - .text 0x0000000000000000 0x1e /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
111   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
112   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
113   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
114   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
115   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
116   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
117   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
118   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
119   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
120   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
121   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
122   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
123   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
124   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
125   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
126   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
127   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
128   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
129   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
130   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
131   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
132   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
133   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
134   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
135   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
136   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
137   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
138   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
139   - .text 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
140   - .data 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
141   - .bss 0x0000000000000000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
142   -
143   -Memory Configuration
144   -
145   -Name Origin Length Attributes
146   -sfr 0x0000000000000000 0x0000000000000010
147   -peripheral_8bit 0x0000000000000010 0x00000000000000f0
148   -peripheral_16bit 0x0000000000000100 0x0000000000000100
149   -ram 0x0000000000000200 0x0000000000000200 xw
150   -infomem 0x0000000000001000 0x0000000000000100
151   -infod 0x0000000000001000 0x0000000000000040
152   -infoc 0x0000000000001040 0x0000000000000040
153   -infob 0x0000000000001080 0x0000000000000040
154   -infoa 0x00000000000010c0 0x0000000000000040
155   -rom 0x000000000000c000 0x0000000000003fe0 xr
156   -vectors 0x000000000000ffe0 0x0000000000000020
157   -bsl 0x0000000000000000 0x0000000000000000
158   -far_rom 0x0000000000000000 0x0000000000000000
159   -*default* 0x0000000000000000 0xffffffffffffffff
160   -
161   -Linker script and memory map
162   -
163   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
164   -LOAD Output/DUREX-Prog.obj
165   -LOAD Output/DUREX.obj
166   -LOAD Output/Hal.obj
167   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a
168   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a
169   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libgcc.a
170   -LOAD /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a
171   - 0x0000000000000040 PROVIDE (__info_segment_size, 0x40)
172   - 0x0000000000001000 PROVIDE (__infod, 0x1000)
173   - 0x0000000000001040 PROVIDE (__infoc, 0x1040)
174   - 0x0000000000001080 PROVIDE (__infob, 0x1080)
175   - 0x00000000000010c0 PROVIDE (__infoa, 0x10c0)
176   - 0x0000000000000000 __IE1 = 0x0
177   - 0x0000000000000002 __IFG1 = 0x2
178   - 0x0000000000000001 __IE2 = 0x1
179   - 0x0000000000000003 __IFG2 = 0x3
180   - 0x0000000000000048 __ADC10DTC0 = 0x48
181   - 0x0000000000000049 __ADC10DTC1 = 0x49
182   - 0x000000000000004a __ADC10AE0 = 0x4a
183   - 0x00000000000001b0 __ADC10CTL0 = 0x1b0
184   - 0x00000000000001b2 __ADC10CTL1 = 0x1b2
185   - 0x00000000000001b4 __ADC10MEM = 0x1b4
186   - 0x00000000000001bc __ADC10SA = 0x1bc
187   - 0x0000000000000056 __DCOCTL = 0x56
188   - 0x0000000000000057 __BCSCTL1 = 0x57
189   - 0x0000000000000058 __BCSCTL2 = 0x58
190   - 0x0000000000000053 __BCSCTL3 = 0x53
191   - 0x0000000000000059 __CACTL1 = 0x59
192   - 0x000000000000005a __CACTL2 = 0x5a
193   - 0x000000000000005b __CAPD = 0x5b
194   - 0x0000000000000128 __FCTL1 = 0x128
195   - 0x000000000000012a __FCTL2 = 0x12a
196   - 0x000000000000012c __FCTL3 = 0x12c
197   - 0x0000000000000020 __P1IN = 0x20
198   - 0x0000000000000021 __P1OUT = 0x21
199   - 0x0000000000000022 __P1DIR = 0x22
200   - 0x0000000000000023 __P1IFG = 0x23
201   - 0x0000000000000024 __P1IES = 0x24
202   - 0x0000000000000025 __P1IE = 0x25
203   - 0x0000000000000026 __P1SEL = 0x26
204   - 0x0000000000000041 __P1SEL2 = 0x41
205   - 0x0000000000000027 __P1REN = 0x27
206   - 0x0000000000000028 __P2IN = 0x28
207   - 0x0000000000000029 __P2OUT = 0x29
208   - 0x000000000000002a __P2DIR = 0x2a
209   - 0x000000000000002b __P2IFG = 0x2b
210   - 0x000000000000002c __P2IES = 0x2c
211   - 0x000000000000002d __P2IE = 0x2d
212   - 0x000000000000002e __P2SEL = 0x2e
213   - 0x0000000000000042 __P2SEL2 = 0x42
214   - 0x000000000000002f __P2REN = 0x2f
215   - 0x0000000000000018 __P3IN = 0x18
216   - 0x0000000000000019 __P3OUT = 0x19
217   - 0x000000000000001a __P3DIR = 0x1a
218   - 0x000000000000001b __P3SEL = 0x1b
219   - 0x0000000000000043 __P3SEL2 = 0x43
220   - 0x0000000000000010 __P3REN = 0x10
221   - 0x000000000000012e __TA0IV = 0x12e
222   - 0x0000000000000160 __TA0CTL = 0x160
223   - 0x0000000000000162 __TA0CCTL0 = 0x162
224   - 0x0000000000000164 __TA0CCTL1 = 0x164
225   - 0x0000000000000166 __TA0CCTL2 = 0x166
226   - 0x0000000000000170 __TA0R = 0x170
227   - 0x0000000000000172 __TA0CCR0 = 0x172
228   - 0x0000000000000174 __TA0CCR1 = 0x174
229   - 0x0000000000000176 __TA0CCR2 = 0x176
230   - 0x000000000000011e __TA1IV = 0x11e
231   - 0x0000000000000180 __TA1CTL = 0x180
232   - 0x0000000000000182 __TA1CCTL0 = 0x182
233   - 0x0000000000000184 __TA1CCTL1 = 0x184
234   - 0x0000000000000186 __TA1CCTL2 = 0x186
235   - 0x0000000000000190 __TA1R = 0x190
236   - 0x0000000000000192 __TA1CCR0 = 0x192
237   - 0x0000000000000194 __TA1CCR1 = 0x194
238   - 0x0000000000000196 __TA1CCR2 = 0x196
239   - 0x0000000000000060 __UCA0CTL0 = 0x60
240   - 0x0000000000000061 __UCA0CTL1 = 0x61
241   - 0x0000000000000062 __UCA0BR0 = 0x62
242   - 0x0000000000000063 __UCA0BR1 = 0x63
243   - 0x0000000000000064 __UCA0MCTL = 0x64
244   - 0x0000000000000065 __UCA0STAT = 0x65
245   - 0x0000000000000066 __UCA0RXBUF = 0x66
246   - 0x0000000000000067 __UCA0TXBUF = 0x67
247   - 0x000000000000005d __UCA0ABCTL = 0x5d
248   - 0x000000000000005e __UCA0IRTCTL = 0x5e
249   - 0x000000000000005f __UCA0IRRCTL = 0x5f
250   - 0x0000000000000068 __UCB0CTL0 = 0x68
251   - 0x0000000000000069 __UCB0CTL1 = 0x69
252   - 0x000000000000006a __UCB0BR0 = 0x6a
253   - 0x000000000000006b __UCB0BR1 = 0x6b
254   - 0x000000000000006c __UCB0I2CIE = 0x6c
255   - 0x000000000000006d __UCB0STAT = 0x6d
256   - 0x000000000000006e __UCB0RXBUF = 0x6e
257   - 0x000000000000006f __UCB0TXBUF = 0x6f
258   - 0x0000000000000118 __UCB0I2COA = 0x118
259   - 0x000000000000011a __UCB0I2CSA = 0x11a
260   - 0x0000000000000120 __WDTCTL = 0x120
261   - 0x00000000000010f8 __CALDCO_16MHZ = 0x10f8
262   - 0x00000000000010f9 __CALBC1_16MHZ = 0x10f9
263   - 0x00000000000010fa __CALDCO_12MHZ = 0x10fa
264   - 0x00000000000010fb __CALBC1_12MHZ = 0x10fb
265   - 0x00000000000010fc __CALDCO_8MHZ = 0x10fc
266   - 0x00000000000010fd __CALBC1_8MHZ = 0x10fd
267   - 0x00000000000010fe __CALDCO_1MHZ = 0x10fe
268   - 0x00000000000010ff __CALBC1_1MHZ = 0x10ff
269   -
270   -.hash
271   - *(.hash)
272   -
273   -.dynsym
274   - *(.dynsym)
275   -
276   -.dynstr
277   - *(.dynstr)
278   -
279   -.gnu.version
280   - *(.gnu.version)
281   -
282   -.gnu.version_d
283   - *(.gnu.version_d)
284   -
285   -.gnu.version_r
286   - *(.gnu.version_r)
287   -
288   -.rel.init
289   - *(.rel.init)
290   -
291   -.rela.init
292   - *(.rela.init)
293   -
294   -.rel.fini
295   - *(.rel.fini)
296   -
297   -.rela.fini
298   - *(.rela.fini)
299   -
300   -.rel.text
301   - *(.rel.text .rel.text.* .rel.gnu.linkonce.t.*)
302   -
303   -.rela.text
304   - *(.rela.text .rela.text.* .rela.gnu.linkonce.t.*)
305   -
306   -.rel.rodata
307   - *(.rel.rodata .rel.rodata.* .rel.gnu.linkonce.r.*)
308   -
309   -.rela.rodata
310   - *(.rela.rodata .rela.rodata.* .rela.gnu.linkonce.r.*)
311   -
312   -.rel.data
313   - *(.rel.data .rel.data.* .rel.gnu.linkonce.d.*)
314   -
315   -.rela.data
316   - *(.rela.data .rela.data.* .rela.gnu.linkonce.d.*)
317   -
318   -.rel.bss
319   - *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*)
320   -
321   -.rela.bss
322   - *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*)
323   -
324   -.rel.ctors
325   - *(.rel.ctors)
326   -
327   -.rela.ctors
328   - *(.rela.ctors)
329   -
330   -.rel.dtors
331   - *(.rel.dtors)
332   -
333   -.rela.dtors
334   - *(.rela.dtors)
335   -
336   -.rel.got
337   - *(.rel.got)
338   -
339   -.rela.got
340   - *(.rela.got)
341   -
342   -.rel.plt
343   - *(.rel.plt)
344   -
345   -.rela.plt
346   - *(.rela.plt)
347   -
348   -.text 0x000000000000c000 0x8ae
349   - 0x000000000000c000 . = ALIGN (0x2)
350   - *(.init .init.*)
351   - *(.init0)
352   - .init0 0x000000000000c000 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_reset_vector__.o)
353   - 0x000000000000c000 _reset_vector__
354   - *(.init1)
355   - .init1 0x000000000000c000 0xc /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
356   - 0x000000000000c000 __watchdog_support
357   - *(.init2)
358   - .init2 0x000000000000c00c 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
359   - 0x000000000000c00c __init_stack
360   - *(.init3)
361   - .init3 0x000000000000c010 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__low_level_init.o)
362   - 0x000000000000c010 __low_level_init
363   - *(.init4)
364   - .init4 0x000000000000c010 0x18 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
365   - 0x000000000000c010 __do_copy_data
366   - .init4 0x000000000000c028 0x16 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
367   - 0x000000000000c028 __do_clear_bss
368   - *(.init5)
369   - *(.init6)
370   - *(.init7)
371   - *(.init8)
372   - *(.init9)
373   - .init9 0x000000000000c03e 0xc Output/DUREX-Prog.obj
374   - 0x000000000000c03e main
375   - *(.fini9)
376   - .fini9 0x000000000000c04a 0x0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__stop_progExec__.o)
377   - 0x000000000000c04a __stop_progExec__
378   - *(.fini8)
379   - *(.fini7)
380   - *(.fini6)
381   - *(.fini5)
382   - *(.fini4)
383   - *(.fini3)
384   - *(.fini2)
385   - *(.fini1)
386   - *(.fini0)
387   - .fini0 0x000000000000c04a 0x6 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
388   - 0x000000000000c04a _endless_loop__
389   - *(.fini .fini.*)
390   - 0x000000000000c050 . = ALIGN (0x2)
391   - 0x000000000000c050 __ctors_start = .
392   - *(.ctors)
393   - 0x000000000000c050 __ctors_end = .
394   - 0x000000000000c050 __dtors_start = .
395   - *(.dtors)
396   - 0x000000000000c050 __dtors_end = .
397   - 0x000000000000c050 . = ALIGN (0x2)
398   - *(.text .text.* .gnu.linkonce.t.*)
399   - .text 0x000000000000c050 0x4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
400   - 0x000000000000c050 __isr_1
401   - 0x000000000000c050 __isr_4
402   - 0x000000000000c050 __isr_11
403   - 0x000000000000c050 __isr_5
404   - 0x000000000000c050 __isr_10
405   - 0x000000000000c050 __isr_0
406   - 0x000000000000c050 __isr_8
407   - 0x000000000000c050 __isr_9
408   - 0x000000000000c050 __isr_6
409   - 0x000000000000c050 __isr_14
410   - .text.DUREX_connectHandler
411   - 0x000000000000c054 0x6 Output/DUREX-Prog.obj
412   - 0x000000000000c054 DUREX_connectHandler
413   - .text.DUREX_disconnectHandler
414   - 0x000000000000c05a 0x6 Output/DUREX-Prog.obj
415   - 0x000000000000c05a DUREX_disconnectHandler
416   - .text.DUREX_numBytes_fetch
417   - 0x000000000000c060 0x8 Output/DUREX-Prog.obj
418   - 0x000000000000c060 DUREX_numBytes_fetch
419   - .text.DUREX_numBytes_store
420   - 0x000000000000c068 0x6 Output/DUREX-Prog.obj
421   - 0x000000000000c068 DUREX_numBytes_store
422   - .text.DUREX_data_fetch
423   - 0x000000000000c06e 0xe Output/DUREX-Prog.obj
424   - 0x000000000000c06e DUREX_data_fetch
425   - .text.DUREX_data_store
426   - 0x000000000000c07c 0x10 Output/DUREX-Prog.obj
427   - 0x000000000000c07c DUREX_data_store
428   - .text.DUREX_numPackets_fetch
429   - 0x000000000000c08c 0x8 Output/DUREX-Prog.obj
430   - 0x000000000000c08c DUREX_numPackets_fetch
431   - .text.DUREX_numPackets_store
432   - 0x000000000000c094 0x6 Output/DUREX-Prog.obj
433   - 0x000000000000c094 DUREX_numPackets_store
434   - .text.DUREX_messageAvailable_fetch
435   - 0x000000000000c09a 0x8 Output/DUREX-Prog.obj
436   - 0x000000000000c09a DUREX_messageAvailable_fetch
437   - .text.DUREX_reset
438   - 0x000000000000c0a2 0x3a Output/DUREX.obj
439   - 0x000000000000c0a2 DUREX_reset
440   - .text.DUREX_start
441   - 0x000000000000c0dc 0xa Output/DUREX.obj
442   - 0x000000000000c0dc DUREX_start
443   - .text.Em_Message_restart
444   - 0x000000000000c0e6 0x6 Output/DUREX.obj
445   - 0x000000000000c0e6 Em_Message_restart
446   - .text.Em_App_startIndSend
447   - 0x000000000000c0ec 0x1a Output/DUREX.obj
448   - 0x000000000000c0ec Em_App_startIndSend
449   - .text.Em_App_startResSend
450   - 0x000000000000c106 0x1a Output/DUREX.obj
451   - 0x000000000000c106 Em_App_startResSend
452   - .text.Em_App_xmitReady
453   - 0x000000000000c120 0x72 Output/DUREX.obj
454   - 0x000000000000c120 Em_App_xmitReady
455   - .text.Em_App_sendResponse
456   - 0x000000000000c192 0x26 Output/DUREX.obj
457   - 0x000000000000c192 Em_App_sendResponse
458   - .text.Em_App_sysStoreDispatch
459   - 0x000000000000c1b8 0x1a Output/DUREX.obj
460   - 0x000000000000c1b8 Em_App_sysStoreDispatch
461   - .text.Em_App_sysFetchDispatch
462   - 0x000000000000c1d2 0xdc Output/DUREX.obj
463   - 0x000000000000c1d2 Em_App_sysFetchDispatch
464   - .text.Em_App_fetchDispatch
465   - 0x000000000000c2ae 0x70 Output/DUREX.obj
466   - 0x000000000000c2ae Em_App_fetchDispatch
467   - .text.Em_App_storeDispatch
468   - 0x000000000000c31e 0x52 Output/DUREX.obj
469   - 0x000000000000c31e Em_App_storeDispatch
470   - .text.Em_Message_dispatch
471   - 0x000000000000c370 0x60 Output/DUREX.obj
472   - 0x000000000000c370 Em_Message_dispatch
473   - .text.Em_App_sendIndicator
474   - 0x000000000000c3d0 0x30 Output/DUREX.obj
475   - 0x000000000000c3d0 Em_App_sendIndicator
476   - .text.Em_Message_nextXmit
477   - 0x000000000000c400 0x7e Output/DUREX.obj
478   - 0x000000000000c400 Em_Message_nextXmit
479   - .text.Hal_connected
480   - 0x000000000000c47e 0x6 Output/Hal.obj
481   - 0x000000000000c47e Hal_connected
482   - .text.Hal_disconnected
483   - 0x000000000000c484 0x8 Output/Hal.obj
484   - 0x000000000000c484 Hal_disconnected
485   - .text.Hal_init
486   - 0x000000000000c48c 0xd0 Output/Hal.obj
487   - 0x000000000000c48c Hal_init
488   - .text.Hal_idleLoop
489   - 0x000000000000c55c 0x40 Output/Hal.obj
490   - 0x000000000000c55c Hal_idleLoop
491   - .text.Em_Hal_lock
492   - 0x000000000000c59c 0xa Output/Hal.obj
493   - 0x000000000000c59c Em_Hal_lock
494   - .text.Em_Hal_reset
495   - 0x000000000000c5a6 0x56 Output/Hal.obj
496   - 0x000000000000c5a6 Em_Hal_reset
497   - .text.Em_Hal_startSend
498   - 0x000000000000c5fc 0x32 Output/Hal.obj
499   - 0x000000000000c5fc Em_Hal_startSend
500   - .text.Em_Hal_unlock
501   - 0x000000000000c62e 0x6 Output/Hal.obj
502   - 0x000000000000c62e Em_Hal_unlock
503   - .text.buttonIsr
504   - 0x000000000000c634 0x2c Output/Hal.obj
505   - 0x000000000000c634 __isr_2
506   - 0x000000000000c634 buttonIsr
507   - .text.rxIsr 0x000000000000c660 0x9a Output/Hal.obj
508   - 0x000000000000c660 rxIsr
509   - 0x000000000000c660 __isr_7
510   - .text.timerIsr
511   - 0x000000000000c6fa 0x28 Output/Hal.obj
512   - 0x000000000000c6fa timerIsr
513   - 0x000000000000c6fa __isr_13
514   - .text.txAckIsr
515   - 0x000000000000c722 0x66 Output/Hal.obj
516   - 0x000000000000c722 txAckIsr
517   - 0x000000000000c722 __isr_3
518   - .text.uartWatchdogIsr
519   - 0x000000000000c788 0x28 Output/Hal.obj
520   - 0x000000000000c788 uartWatchdogIsr
521   - 0x000000000000c788 __isr_12
522   - .text 0x000000000000c7b0 0xfc /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
523   - 0x000000000000c7b0 memcpy
524   - .text.crt0 0x000000000000c8ac 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
525   - 0x000000000000c8ac _unexpected_
526   - 0x000000000000c8ae . = ALIGN (0x2)
527   -
528   -.rodata 0x000000000000c8ae 0x46
529   - 0x000000000000c8ae . = ALIGN (0x2)
530   - *(.rodata .rodata.* .gnu.linkonce.r.*)
531   - .rodata.Em_App_sysFetchDispatch
532   - 0x000000000000c8ae 0x12 Output/DUREX.obj
533   - .rodata.Em_Message_dispatch
534   - 0x000000000000c8c0 0x16 Output/DUREX.obj
535   - .rodata.Em_App_endian
536   - 0x000000000000c8d6 0x2 Output/DUREX.obj
537   - 0x000000000000c8d6 Em_App_endian
538   - .rodata.Em_App_build
539   - 0x000000000000c8d8 0x8 Output/DUREX.obj
540   - 0x000000000000c8d8 Em_App_build
541   - .rodata.Em_App_hash
542   - 0x000000000000c8e0 0x13 Output/DUREX.obj
543   - 0x000000000000c8e0 Em_App_hash
544   - 0x000000000000c8f4 . = ALIGN (0x2)
545   - *fill* 0x000000000000c8f3 0x1 00
546   - 0x000000000000c8f4 _etext = .
547   -
548   -.data 0x0000000000000200 0x2 load address 0x000000000000c8f4
549   - 0x0000000000000200 . = ALIGN (0x2)
550   - 0x0000000000000200 PROVIDE (__data_start, .)
551   - *(.data .data.* .gnu.linkonce.d.*)
552   - .data.Em_App_inBuf
553   - 0x0000000000000200 0x2 Output/DUREX.obj
554   - 0x0000000000000200 Em_App_inBuf
555   - 0x0000000000000202 . = ALIGN (0x2)
556   - 0x0000000000000202 _edata = .
557   - 0x000000000000c8f4 PROVIDE (__data_load_start, LOADADDR (.data))
558   - 0x0000000000000002 PROVIDE (__data_size, SIZEOF (.data))
559   -
560   -.bss 0x0000000000000202 0x1d8 load address 0x000000000000c8f6
561   - 0x0000000000000202 PROVIDE (__bss_start, .)
562   - *(.bss .bss.*)
563   - .bss.messageAvailable
564   - 0x0000000000000202 0x1 Output/DUREX-Prog.obj
565   - 0x0000000000000202 messageAvailable
566   - .bss.numPackets
567   - 0x0000000000000203 0x1 Output/DUREX-Prog.obj
568   - 0x0000000000000203 numPackets
569   - .bss.data 0x0000000000000204 0xc9 Output/DUREX-Prog.obj
570   - 0x0000000000000204 data
571   - .bss.numBytes 0x00000000000002cd 0x1 Output/DUREX-Prog.obj
572   - 0x00000000000002cd numBytes
573   - .bss.Em_App_devName
574   - 0x00000000000002ce 0x2 Output/DUREX.obj
575   - 0x00000000000002ce Em_App_devName
576   - .bss._Em_Message_txCnt
577   - 0x00000000000002d0 0x1 Output/DUREX.obj
578   - 0x00000000000002d0 _Em_Message_txCnt
579   - *fill* 0x00000000000002d1 0x1 00
580   - .bss._Em_Message_txBuf
581   - 0x00000000000002d2 0x2 Output/DUREX.obj
582   - 0x00000000000002d2 _Em_Message_txBuf
583   - .bss._Em_Message_rxCnt
584   - 0x00000000000002d4 0x1 Output/DUREX.obj
585   - 0x00000000000002d4 _Em_Message_rxCnt
586   - *fill* 0x00000000000002d5 0x1 00
587   - .bss._Em_Message_rxBuf
588   - 0x00000000000002d6 0x2 Output/DUREX.obj
589   - 0x00000000000002d6 _Em_Message_rxBuf
590   - .bss.Em_App_outBuf
591   - 0x00000000000002d8 0x2 Output/DUREX.obj
592   - 0x00000000000002d8 Em_App_outBuf
593   - .bss.Em_App_xmitMask
594   - 0x00000000000002da 0x4 Output/DUREX.obj
595   - 0x00000000000002da Em_App_xmitMask
596   - .bss.Em_App_fileIndex
597   - 0x00000000000002de 0x4 Output/DUREX.obj
598   - 0x00000000000002de Em_App_fileIndex
599   - .bss.Em_App_state
600   - 0x00000000000002e2 0x1 Output/DUREX.obj
601   - 0x00000000000002e2 Em_App_state
602   - *fill* 0x00000000000002e3 0x1 00
603   - .bss.handlerEvents
604   - 0x00000000000002e4 0x2 Output/Hal.obj
605   - .bss.handlerTab
606   - 0x00000000000002e6 0x6 Output/Hal.obj
607   - .bss.clockTick
608   - 0x00000000000002ec 0x2 Output/Hal.obj
609   - *(COMMON)
610   - COMMON 0x00000000000002ee 0xec Output/DUREX.obj
611   - 0x00000000000002ee Em_App_recvIdx
612   - 0x00000000000002ef Em_App_xmitSize
613   - 0x00000000000002f0 Em_App_valp
614   - 0x00000000000002f2 Em_App_ind_u
615   - 0x00000000000002fe Em_App_recvSize
616   - 0x0000000000000300 Em_App_msg_u
617   - 0x00000000000003d2 Em_App_pdHdlr
618   - 0x00000000000003d4 Em_App_bufp
619   - 0x00000000000003d6 Em_App_xmitIdx
620   - 0x00000000000003d8 Em_App_desc
621   - 0x00000000000003da . = ALIGN (0x2)
622   - 0x00000000000003da PROVIDE (__bss_end, .)
623   - 0x00000000000001d8 PROVIDE (__bss_size, SIZEOF (.bss))
624   -
625   -.noinit 0x00000000000003da 0x2 load address 0x000000000000c8f6
626   - 0x00000000000003da PROVIDE (__noinit_start, .)
627   - *(.noinit .noinit.*)
628   - .noinit.crt0 0x00000000000003da 0x2 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
629   - 0x00000000000003da __wdt_clear_value
630   - 0x00000000000003dc . = ALIGN (0x2)
631   - 0x00000000000003dc PROVIDE (__noinit_end, .)
632   - 0x00000000000003dc . = ALIGN (0x2)
633   - 0x00000000000003dc _end = .
634   -
635   -.infomem 0x0000000000001000 0x0
636   - *(.infomem)
637   - 0x0000000000001000 . = ALIGN (0x2)
638   - *(.infomem.*)
639   -
640   -.infomemnobits 0x0000000000001000 0x0
641   - *(.infomemnobits)
642   - 0x0000000000001000 . = ALIGN (0x2)
643   - *(.infomemnobits.*)
644   -
645   -.infoa
646   - *(.infoa .infoa.*)
647   -
648   -.infob
649   - *(.infob .infob.*)
650   -
651   -.infoc
652   - *(.infoc .infoc.*)
653   -
654   -.infod
655   - *(.infod .infod.*)
656   -
657   -.vectors 0x000000000000ffe0 0x20
658   - 0x000000000000ffe0 PROVIDE (__vectors_start, .)
659   - *(.vectors*)
660   - .vectors 0x000000000000ffe0 0x20 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/crt0ivtbl16.o
661   - 0x000000000000ffe0 __ivtbl_16
662   - 0x0000000000010000 _vectors_end = .
663   -
664   -.fartext 0x0000000000000000 0x0
665   - 0x0000000000000000 . = ALIGN (0x2)
666   - *(.fartext)
667   - 0x0000000000000000 . = ALIGN (0x2)
668   - *(.fartext.*)
669   - 0x0000000000000000 _efartext = .
670   -
671   -.profiler
672   - *(.profiler)
673   -
674   -.stab
675   - *(.stab)
676   -
677   -.stabstr
678   - *(.stabstr)
679   -
680   -.stab.excl
681   - *(.stab.excl)
682   -
683   -.stab.exclstr
684   - *(.stab.exclstr)
685   -
686   -.stab.index
687   - *(.stab.index)
688   -
689   -.stab.indexstr
690   - *(.stab.indexstr)
691   -
692   -.comment
693   - *(.comment)
694   -
695   -.debug
696   - *(.debug)
697   -
698   -.line
699   - *(.line)
700   -
701   -.debug_srcinfo
702   - *(.debug_srcinfo)
703   -
704   -.debug_sfnames
705   - *(.debug_sfnames)
706   -
707   -.debug_aranges 0x0000000000000000 0x1c8
708   - *(.debug_aranges)
709   - .debug_aranges
710   - 0x0000000000000000 0x40 Output/DUREX-Prog.obj
711   - .debug_aranges
712   - 0x0000000000000040 0x70 Output/DUREX.obj
713   - .debug_aranges
714   - 0x00000000000000b0 0x78 Output/Hal.obj
715   - .debug_aranges
716   - 0x0000000000000128 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
717   - .debug_aranges
718   - 0x000000000000013c 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
719   - .debug_aranges
720   - 0x0000000000000150 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
721   - .debug_aranges
722   - 0x0000000000000164 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
723   - .debug_aranges
724   - 0x0000000000000178 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
725   - .debug_aranges
726   - 0x000000000000018c 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
727   - .debug_aranges
728   - 0x00000000000001a0 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
729   - .debug_aranges
730   - 0x00000000000001b4 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
731   -
732   -.debug_pubnames
733   - *(.debug_pubnames)
734   -
735   -.debug_info 0x0000000000000000 0x1eee
736   - *(.debug_info)
737   - .debug_info 0x0000000000000000 0x44a Output/DUREX-Prog.obj
738   - .debug_info 0x000000000000044a 0x91b Output/DUREX.obj
739   - .debug_info 0x0000000000000d65 0xc78 Output/Hal.obj
740   - .debug_info 0x00000000000019dd 0xa4 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
741   - .debug_info 0x0000000000001a81 0x113 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
742   - .debug_info 0x0000000000001b94 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
743   - .debug_info 0x0000000000001c23 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
744   - .debug_info 0x0000000000001cb2 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
745   - .debug_info 0x0000000000001d41 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
746   - .debug_info 0x0000000000001dd0 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
747   - .debug_info 0x0000000000001e5f 0x8f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
748   - *(.gnu.linkonce.wi.*)
749   -
750   -.debug_abbrev 0x0000000000000000 0x85b
751   - *(.debug_abbrev)
752   - .debug_abbrev 0x0000000000000000 0x152 Output/DUREX-Prog.obj
753   - .debug_abbrev 0x0000000000000152 0x240 Output/DUREX.obj
754   - .debug_abbrev 0x0000000000000392 0x35a Output/Hal.obj
755   - .debug_abbrev 0x00000000000006ec 0x60 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
756   - .debug_abbrev 0x000000000000074c 0x97 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
757   - .debug_abbrev 0x00000000000007e3 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
758   - .debug_abbrev 0x00000000000007f7 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
759   - .debug_abbrev 0x000000000000080b 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
760   - .debug_abbrev 0x000000000000081f 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
761   - .debug_abbrev 0x0000000000000833 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
762   - .debug_abbrev 0x0000000000000847 0x14 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
763   -
764   -.debug_line 0x0000000000000000 0xd16
765   - *(.debug_line)
766   - .debug_line 0x0000000000000000 0x1a8 Output/DUREX-Prog.obj
767   - .debug_line 0x00000000000001a8 0x3bf Output/DUREX.obj
768   - .debug_line 0x0000000000000567 0x3a9 Output/Hal.obj
769   - .debug_line 0x0000000000000910 0x49 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
770   - .debug_line 0x0000000000000959 0x10e /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
771   - .debug_line 0x0000000000000a67 0x72 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__watchdog_support.o)
772   - .debug_line 0x0000000000000ad9 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(__init_stack.o)
773   - .debug_line 0x0000000000000b49 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_copy_data.o)
774   - .debug_line 0x0000000000000bbf 0x76 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_clear_bss.o)
775   - .debug_line 0x0000000000000c35 0x71 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_endless_loop__.o)
776   - .debug_line 0x0000000000000ca6 0x70 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/libcrt0.a(_unexpected_.o)
777   -
778   -.debug_frame 0x0000000000000000 0x412
779   - *(.debug_frame)
780   - .debug_frame 0x0000000000000000 0xa2 Output/DUREX-Prog.obj
781   - .debug_frame 0x00000000000000a2 0x17a Output/DUREX.obj
782   - .debug_frame 0x000000000000021c 0x1a0 Output/Hal.obj
783   - .debug_frame 0x00000000000003bc 0x1e /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
784   - .debug_frame 0x00000000000003da 0x38 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
785   -
786   -.debug_str 0x0000000000000000 0xa89
787   - *(.debug_str)
788   - .debug_str 0x0000000000000000 0x2b6 Output/DUREX-Prog.obj
789   - 0x2ef (size before relaxing)
790   - .debug_str 0x00000000000002b6 0x3d9 Output/DUREX.obj
791   - 0x535 (size before relaxing)
792   - .debug_str 0x000000000000068f 0x367 Output/Hal.obj
793   - 0x593 (size before relaxing)
794   - .debug_str 0x00000000000009f6 0x5f /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
795   - 0xde (size before relaxing)
796   - .debug_str 0x0000000000000a55 0x34 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
797   - 0x100 (size before relaxing)
798   -
799   -.debug_loc 0x0000000000000000 0x868
800   - *(.debug_loc)
801   - .debug_loc 0x0000000000000000 0x28 Output/DUREX-Prog.obj
802   - .debug_loc 0x0000000000000028 0x447 Output/DUREX.obj
803   - .debug_loc 0x000000000000046f 0x1e5 Output/Hal.obj
804   - .debug_loc 0x0000000000000654 0x24 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(strcmp.o)
805   - .debug_loc 0x0000000000000678 0x1f0 /Applications/Development/Em-Builder-IDE/eclipse/emmoco/msptools/bin/../lib/gcc/msp430/4.6.1/../../../../msp430/lib/libc.a(memcpy.o)
806   -
807   -.debug_macinfo
808   - *(.debug_macinfo)
809   -
810   -.debug_pubtypes
811   - *(.debug_pubtypes)
812   -
813   -.debug_ranges 0x0000000000000000 0x1a4
814   - *(.debug_ranges)
815   - .debug_ranges 0x0000000000000000 0x34 Output/DUREX-Prog.obj
816   - .debug_ranges 0x0000000000000034 0x64 Output/DUREX.obj
817   - .debug_ranges 0x0000000000000098 0x10c Output/Hal.obj
818   - 0x0000000000000400 PROVIDE (__stack, (ORIGIN (ram) + 0x200))
819   - 0x000000000000c8f4 PROVIDE (__data_start_rom, _etext)
820   - 0x000000000000c8f6 PROVIDE (__data_end_rom, (_etext + SIZEOF (.data)))
821   -OUTPUT(Output/DUREX-Prog.out elf32-msp430)
DUREX/Output/DUREX-Prog.obj deleted
No preview for this file type
DUREX/Output/DUREX-Prog.out deleted
No preview for this file type
DUREX/Output/DUREX.obj deleted
No preview for this file type
DUREX/Output/Hal.obj deleted
No preview for this file type
DUREX/Schema-Imports/system@emmoco.com/System.ems deleted
1   -owner = "system@emmoco.com"
2   -
3   -schema System {
4   -
5   - // protocolLevel #13
6   -
7   - enum ParameterGroup {
8   - GROUP_A, GROUP_B
9   - }
10   -
11   - // protocolLevel #1
12   -
13   - uint8 $schemaUuid[16] { // protocolLevel #10 -- invisible to applications
14   - readonly
15   - }
16   -
17   - uint16 $mcmProtocolLevel {
18   - readonly
19   - }
20   -
21   - uint16 $eapProtocolLevel {
22   - readonly
23   - }
24   -
25   - uint8 $eapBuildDate[8] { // protocolLevel #5 -- rename from $eapBuildNumber
26   - readonly
27   - }
28   -
29   - // protocolLevel #2
30   -
31   - int16 $fileIndexReset {
32   - writeonly
33   - }
34   -
35   - // protocolLevel #5
36   -
37   - // protocolLevel #12 -- increase size to 20
38   -
39   - uint8 $schemaHash[20] {
40   - readonly
41   - }
42   -
43   - // protocolLevel #7
44   -
45   - struct ResourceCount {
46   - uint8 app
47   - uint8 sys
48   - }
49   -
50   - ResourceCount $resourceCount {
51   - readonly
52   - }
53   -
54   - // protocolLevel #9
55   -
56   - int8 $mobileRssi {
57   - readonly
58   - }
59   -
60   - // protocolLevel #11
61   -
62   - uint8 $mcmDisconnect {
63   - writeonly
64   - }
65   -
66   - // protocolLevel #13
67   -
68   - ParameterGroup $activeGroup {
69   - readwrite
70   - }
71   -
72   -}
DUREX/bundle.properties deleted
1   -# generated file - do not edit
2   -
3   -bundle.requires = com.emmoco.schema.translator
4   -com.emmoco.framework.Properties.applicationDirectory = Em
5   -com.emmoco.framework.Properties.schemaDestinationDirectory = Em
6   -com.emmoco.framework.Properties.serverAPIToken =
7   -com.emmoco.framework.Properties.align16 = 2
8   -com.emmoco.framework.Properties.align32 = 4
9   -com.emmoco.framework.Properties.schemaFile = /Users/imanol/devel/durex/DUREX/DUREX.ems
10   -com.emmoco.framework.Properties.toolVersion = 13.4.1.201311121909
DUREX/makefile deleted
1   -APPNAME = DUREX
2   -PLATFORM = ../Platform-MSP-EXP430G2
3   -
4   -include $(PLATFORM)/rules.mk