From 930075cd752694f173605fccde1bac1f2bc1e8e7 Mon Sep 17 00:00:00 2001 From: Patrick Benavoli Date: Wed, 31 Aug 2011 17:09:06 +0200 Subject: parameter-framework: Enabling remote control from Windows BZ: 8740 Used cygwin environment to build remote-process exe and remote-processor library Created also an installer Change-Id: I1cd487262bd85f4376c93bd8150aba492f81b602 Signed-off-by: Patrick Benavoli Reviewed-on: http://android.intel.com:8080/22313 Reviewed-by: Centelles, Sylvain Tested-by: Barthes, FabienX Reviewed-by: buildbot Tested-by: buildbot Reviewed-on: http://android.intel.com:8080/26776 Reviewed-by: Barthes, FabienX --- .gitignore | 3 + .../remote-process-SetupFiles/remote-process.msi | Bin 0 -> 1413632 bytes remote-process/remote-process.aip | 106 ++++++++ remote-process/remote-process.dev | 71 ++++++ remote-processor/Message.cpp | 2 +- remote-processor/remote-processor.dev | 271 +++++++++++++++++++++ 6 files changed, 452 insertions(+), 1 deletion(-) create mode 100644 .gitignore create mode 100644 remote-process/remote-process-SetupFiles/remote-process.msi create mode 100644 remote-process/remote-process.aip create mode 100644 remote-process/remote-process.dev create mode 100644 remote-processor/remote-processor.dev 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 Binary files /dev/null and b/remote-process/remote-process-SetupFiles/remote-process.msi 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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= + -- cgit v1.1