summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--remote-process/remote-process-SetupFiles/remote-process.msibin0 -> 1413632 bytes
-rw-r--r--remote-process/remote-process.aip106
-rw-r--r--remote-process/remote-process.dev71
-rw-r--r--remote-processor/Message.cpp2
-rw-r--r--remote-processor/remote-processor.dev271
6 files changed, 452 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a3f55cc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+
+*.win
+*.layout \ No newline at end of file
diff --git a/remote-process/remote-process-SetupFiles/remote-process.msi b/remote-process/remote-process-SetupFiles/remote-process.msi
new file mode 100644
index 0000000..9054313
--- /dev/null
+++ b/remote-process/remote-process-SetupFiles/remote-process.msi
Binary files differ
diff --git a/remote-process/remote-process.aip b/remote-process/remote-process.aip
new file mode 100644
index 0000000..b2627ab
--- /dev/null
+++ b/remote-process/remote-process.aip
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<DOCUMENT Type="Advanced Installer" CreateVersion="8.4" version="8.4" Modules="simple" RootPath="." Language="en" Id="{DF8C210E-8203-42B3-952D-37C25C847E40}">
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
+ <ROW Property="ALLUSERS" Value="2"/>
+ <ROW Property="ARPCOMMENTS" Value="This installer database contains the logic and data required to install [|ProductName]." ValueLocId="*"/>
+ <ROW Property="Manufacturer" Value="Intel" ValueLocId="*"/>
+ <ROW Property="ProductCode" Value="1033:{AF2B7CC8-4839-474B-9EDC-C6DF403A6E06} " Type="16"/>
+ <ROW Property="ProductLanguage" Value="1033"/>
+ <ROW Property="ProductName" Value="remote-process" ValueLocId="*"/>
+ <ROW Property="ProductVersion" Value="1.0.0"/>
+ <ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
+ <ROW Property="UpgradeCode" Value="{3625D1F7-8052-480A-A478-4F7EF0F14086}"/>
+ <ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
+ <ROW Property="WindowsType9XDisplay" MultiBuildValue="DefaultBuild:Windows 9x/ME" ValueLocId="-"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">
+ <ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR:." IsPseudoRoot="1"/>
+ <ROW Directory="TARGETDIR" DefaultDir="SourceDir"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiCompsComponent">
+ <ROW Component="cygwin1.dll" ComponentId="{3D0DD481-F3F9-4604-80A6-E3BDCF89EE07}" Directory_="APPDIR" Attributes="0" KeyPath="cygwin1.dll"/>
+ <ROW Component="remote_process.exe" ComponentId="{5501B612-760F-414A-BDDB-C8792519F574}" Directory_="APPDIR" Attributes="0" KeyPath="remote_process.exe"/>
+ <ROW Component="remote_processor.dll" ComponentId="{8C46DBF0-DAF8-45CC-8EBA-4D1C58D866EF}" Directory_="APPDIR" Attributes="0" KeyPath="remote_processor.dll"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiFeatsComponent">
+ <ROW Feature="MainFeature" Title="MainFeature" Description="Description" Display="1" Level="1" Directory_="APPDIR" Attributes="0" Components="cygwin1.dll remote_process.exe remote_processor.dll"/>
+ <ATTRIBUTE name="CurrentFeature" value="MainFeature"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiFilesComponent">
+ <ROW File="cygwin1.dll" Component_="cygwin1.dll" FileName="cygwin1.dll" Attributes="0" SourcePath="..\..\..\..\..\..\..\..\cygwin\bin\cygwin1.dll" SelfReg="false" NextFile="remote_processor.dll"/>
+ <ROW File="remote_process.exe" Component_="remote_process.exe" FileName="remote~1.exe|remote-process.exe" Attributes="0" SourcePath="..\..\parameter-framework-build-windows\remote-process.exe" SelfReg="false"/>
+ <ROW File="remote_processor.dll" Component_="remote_processor.dll" FileName="remote~1.dll|remote-processor.dll" Attributes="0" SourcePath="..\..\parameter-framework-build-windows\remote-processor.dll" SelfReg="false" NextFile="remote_process.exe"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
+ <ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" Languages="en" InstallationType="4"/>
+ <ATTRIBUTE name="CurrentBuild" value="DefaultBuild"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
+ <ROW Path="&lt;AI_DICTS&gt;ui.ail"/>
+ <ROW Path="&lt;AI_DICTS&gt;ui_en.ail"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.FragmentComponent">
+ <ROW Fragment="CommonUI.aip" Path="&lt;AI_FRAGS&gt;CommonUI.aip"/>
+ <ROW Fragment="FolderDlg.aip" Path="&lt;AI_THEMES&gt;classic\fragments\FolderDlg.aip"/>
+ <ROW Fragment="SequenceDialogs.aip" Path="&lt;AI_THEMES&gt;classic\fragments\SequenceDialogs.aip"/>
+ <ROW Fragment="Sequences.aip" Path="&lt;AI_FRAGS&gt;Sequences.aip"/>
+ <ROW Fragment="StaticUIStrings.aip" Path="&lt;AI_FRAGS&gt;StaticUIStrings.aip"/>
+ <ROW Fragment="UI.aip" Path="&lt;AI_THEMES&gt;classic\fragments\UI.aip"/>
+ <ROW Fragment="Validation.aip" Path="&lt;AI_FRAGS&gt;Validation.aip"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiBinaryComponent">
+ <ROW Name="aicustact.dll" SourcePath="&lt;AI_CUSTACTS&gt;aicustact.dll"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiControlComponent">
+ <ATTRIBUTE name="FixedSizeBitmaps" value="0"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiControlEventComponent">
+ <ROW Dialog_="FolderDlg" Control_="Back" Event="NewDialog" Argument="WelcomeDlg" Condition="AI_INSTALL" Ordering="1"/>
+ <ROW Dialog_="WelcomeDlg" Control_="Next" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="1"/>
+ <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="FolderDlg" Condition="AI_INSTALL" Ordering="201"/>
+ <ROW Dialog_="FolderDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_INSTALL" Ordering="201"/>
+ <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_INSTALL" Ordering="197"/>
+ <ROW Dialog_="MaintenanceTypeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceWelcomeDlg" Condition="AI_MAINT" Ordering="1"/>
+ <ROW Dialog_="MaintenanceWelcomeDlg" Control_="Next" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="99"/>
+ <ROW Dialog_="CustomizeDlg" Control_="Back" Event="NewDialog" Argument="MaintenanceTypeDlg" Condition="AI_MAINT" Ordering="1"/>
+ <ROW Dialog_="MaintenanceTypeDlg" Control_="ChangeButton" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="301"/>
+ <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="CustomizeDlg" Condition="AI_MAINT" Ordering="202"/>
+ <ROW Dialog_="CustomizeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_MAINT" Ordering="1"/>
+ <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_MAINT" Ordering="198"/>
+ <ROW Dialog_="VerifyReadyDlg" Control_="Back" Event="NewDialog" Argument="PatchWelcomeDlg" Condition="AI_PATCH" Ordering="203"/>
+ <ROW Dialog_="PatchWelcomeDlg" Control_="Next" Event="NewDialog" Argument="VerifyReadyDlg" Condition="AI_PATCH" Ordering="201"/>
+ <ROW Dialog_="VerifyReadyDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_PATCH" Ordering="199"/>
+ <ROW Dialog_="ResumeDlg" Control_="Install" Event="EndDialog" Argument="Return" Condition="AI_RESUME" Ordering="299"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiCustActComponent">
+ <ROW Action="AI_DOWNGRADE" Type="19" Target="4010"/>
+ <ROW Action="AI_PREPARE_UPGRADE" Type="65" Source="aicustact.dll" Target="PrepareUpgrade"/>
+ <ROW Action="AI_RESTORE_LOCATION" Type="65" Source="aicustact.dll" Target="RestoreLocation"/>
+ <ROW Action="AI_ResolveKnownFolders" Type="1" Source="aicustact.dll" Target="AI_ResolveKnownFolders"/>
+ <ROW Action="AI_STORE_LOCATION" Type="51" Source="ARPINSTALLLOCATION" Target="[APPDIR]"/>
+ <ROW Action="SET_APPDIR" Type="307" Source="APPDIR" Target="[ProgramFilesFolder][Manufacturer]\[ProductName]"/>
+ <ROW Action="SET_SHORTCUTDIR" Type="307" Source="SHORTCUTDIR" Target="[ProgramMenuFolder][ProductName]"/>
+ <ROW Action="SET_TARGETDIR_TO_APPDIR" Type="51" Source="TARGETDIR" Target="[APPDIR]"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiInstExSeqComponent">
+ <ROW Action="AI_DOWNGRADE" Condition="AI_NEWERPRODUCTFOUND AND (UILevel &lt;&gt; 5)" Sequence="210"/>
+ <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
+ <ROW Action="AI_STORE_LOCATION" Condition="(Not Installed) OR REINSTALL" Sequence="1501"/>
+ <ROW Action="AI_PREPARE_UPGRADE" Condition="AI_UPGRADE=&quot;No&quot; AND (Not Installed)" Sequence="1399"/>
+ <ROW Action="AI_ResolveKnownFolders" Sequence="51"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiInstallUISequenceComponent">
+ <ROW Action="AI_RESTORE_LOCATION" Condition="APPDIR=&quot;&quot;" Sequence="749"/>
+ <ROW Action="AI_ResolveKnownFolders" Sequence="51"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
+ <ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiThemeComponent">
+ <ATTRIBUTE name="UsedTheme" value="classic"/>
+ </COMPONENT>
+ <COMPONENT cid="caphyon.advinst.msicomp.MsiUpgradeComponent">
+ <ROW UpgradeCode="[|UpgradeCode]" VersionMax="[|ProductVersion]" Attributes="1025" ActionProperty="OLDPRODUCTS"/>
+ <ROW UpgradeCode="[|UpgradeCode]" VersionMin="[|ProductVersion]" Attributes="2" ActionProperty="AI_NEWERPRODUCTFOUND"/>
+ </COMPONENT>
+</DOCUMENT>
diff --git a/remote-process/remote-process.dev b/remote-process/remote-process.dev
new file mode 100644
index 0000000..2269907
--- /dev/null
+++ b/remote-process/remote-process.dev
@@ -0,0 +1,71 @@
+[Project]
+FileName=remote-process.dev
+Name=remote-process
+UnitCount=1
+Type=1
+Ver=3
+IsCpp=1
+Folders=
+CommandLine=
+CompilerSettings=0000000000000000000000
+PchHead=-1
+PchSource=-1
+ProfilesCount=1
+ProfileIndex=0
+
+[Unit1]
+FileName=main.cpp
+CompileCpp=1
+Folder=remote-process
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[VersionInfo]
+Major=0
+Minor=1
+Release=1
+Build=1
+LanguageID=1033
+CharsetID=1252
+CompanyName=
+FileVersion=
+FileDescription=Developed using the Dev-C++ IDE
+InternalName=
+LegalCopyright=
+LegalTrademarks=
+OriginalFilename=
+ProductName=
+ProductVersion=
+AutoIncBuildNrOnRebuild=0
+AutoIncBuildNrOnCompile=0
+
+[Profile1]
+ProfileName=Default Profile
+Type=1
+ObjFiles=
+Includes=../remote-processor
+Libs=..\..\..\Windows\parameter-framework-build-windows
+ResourceIncludes=
+MakeIncludes=
+Compiler=
+CppCompiler=-O2_@@_
+Linker=_@@_../../parameter-framework-build-windows/libremote-processor.a_@@_
+PreprocDefines=
+CompilerSettings=0000000000000000000000
+Icon=
+ExeOutput=..\..\..\Windows\parameter-framework-build-windows
+ObjectOutput=..\..\..\Windows\parameter-framework-build-windows\intemediates
+OverrideOutput=0
+OverrideOutputName=remote-process.exe
+HostApplication=
+CommandLine=
+UseCustomMakefile=0
+CustomMakefile=
+IncludeVersionInfo=0
+SupportXPThemes=0
+CompilerSet=0
+CompilerType=0
+
diff --git a/remote-processor/Message.cpp b/remote-processor/Message.cpp
index 4454b1c..c876b78 100644
--- a/remote-processor/Message.cpp
+++ b/remote-processor/Message.cpp
@@ -39,7 +39,7 @@ CMessage::CMessage(uint8_t ucMsgId) : _ucMsgId(ucMsgId), _pucData(NULL), _uiData
{
}
-CMessage::CMessage() : _ucMsgId(-1), _pucData(NULL), _uiDataSize(0), _uiIndex(0)
+CMessage::CMessage() : _ucMsgId((uint8_t)-1), _pucData(NULL), _uiDataSize(0), _uiIndex(0)
{
}
diff --git a/remote-processor/remote-processor.dev b/remote-processor/remote-processor.dev
new file mode 100644
index 0000000..4860949
--- /dev/null
+++ b/remote-processor/remote-processor.dev
@@ -0,0 +1,271 @@
+[Project]
+FileName=remote-processor.dev
+Name=remote-processor
+UnitCount=19
+Type=3
+Ver=3
+IsCpp=1
+Folders=
+CommandLine=
+CompilerSettings=0000000000000000000000
+PchHead=-1
+PchSource=-1
+ProfilesCount=1
+ProfileIndex=0
+
+[Unit3]
+FileName=ConnectionSocket.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit4]
+FileName=ConnectionSocket.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit5]
+FileName=ListeningSocket.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit6]
+FileName=ListeningSocket.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit7]
+FileName=Message.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit8]
+FileName=Message.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit9]
+FileName=RemoteCommand.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit10]
+FileName=RemoteCommandHandler.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit11]
+FileName=RemoteProcessorProtocol.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit12]
+FileName=RemoteProcessorServer.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit13]
+FileName=RemoteProcessorServer.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit14]
+FileName=RemoteProcessorServerBuilder.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit15]
+FileName=RemoteProcessorServerInterface.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit16]
+FileName=RequestMessage.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit17]
+FileName=RequestMessage.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit18]
+FileName=Socket.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit19]
+FileName=Socket.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit20]
+FileName=Socket.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit21]
+FileName=Socket.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[VersionInfo]
+Major=0
+Minor=1
+Release=1
+Build=1
+LanguageID=1033
+CharsetID=1252
+CompanyName=
+FileVersion=
+FileDescription=Developed using the Dev-C++ IDE
+InternalName=
+LegalCopyright=
+LegalTrademarks=
+OriginalFilename=
+ProductName=
+ProductVersion=
+AutoIncBuildNrOnRebuild=0
+AutoIncBuildNrOnCompile=0
+
+[Profile1]
+ProfileName=Default Profile
+Type=3
+ObjFiles=
+Includes=
+Libs=
+ResourceIncludes=
+MakeIncludes=
+Compiler=-DBUILDING_DLL=1_@@_
+CppCompiler=-DBUILDING_DLL=1 -O2_@@_
+Linker=
+PreprocDefines=
+CompilerSettings=0000000000000000000000
+Icon=
+ExeOutput=..\..\..\Windows\parameter-framework-build-windows
+ObjectOutput=..\..\..\Windows\parameter-framework-build-windows\intemediates
+OverrideOutput=0
+OverrideOutputName=remote-processor.dll
+HostApplication=
+CommandLine=
+UseCustomMakefile=0
+CustomMakefile=
+IncludeVersionInfo=0
+SupportXPThemes=0
+CompilerSet=0
+CompilerType=0
+
+[Unit2]
+FileName=AnswerMessage.h
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+
+[Unit1]
+FileName=AnswerMessage.cpp
+CompileCpp=1
+Folder=remote-processor
+Compile=1
+Link=1
+Priority=1000
+OverrideBuildCmd=0
+BuildCmd=
+