Prepare to build in Tizen Studio 79/155179/1
authorEunyoung Lee <ey928.lee@samsung.com>
Thu, 12 Oct 2017 08:27:57 +0000 (17:27 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Thu, 12 Oct 2017 08:27:57 +0000 (17:27 +0900)
Change-Id: I2f68f03c92abcfd4c30fbf4bdebbbebefc3c29ac

12 files changed:
.cproject [new file with mode: 0644]
.exportMap [new file with mode: 0644]
.gitignore
.package-stamp [new file with mode: 0644]
.project [new file with mode: 0644]
.tproject [new file with mode: 0644]
inc/peripheral_io.h [new file with mode: 0644]
lib/libperipheralio.so [new file with mode: 0755]
project_def.prop [new file with mode: 0644]
src/connectivity.c
src/controller_util.c
tizen-manifest.xml [new file with mode: 0644]

diff --git a/.cproject b/.cproject
new file mode 100644 (file)
index 0000000..bc18f05
--- /dev/null
+++ b/.cproject
@@ -0,0 +1,582 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">\r
+       <storageModule moduleId="org.eclipse.cdt.core.settings">\r
+               <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1421842201">\r
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1421842201" moduleId="org.eclipse.cdt.core.settings" name="Debug">\r
+                               <externalSettings/>\r
+                               <extensions>\r
+                                       <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                               </extensions>\r
+                       </storageModule>\r
+                       <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
+                               <configuration artifactName="position-finder-server" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1421842201" name="Debug" parent="org.tizen.nativecore.config.sbi.gcc45.app.debug">\r
+                                       <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.debug.1421842201." name="/" resourcePath="">\r
+                                               <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug.418442488" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.debug">\r
+                                                       <targetPlatform id="org.tizen.nativeide.target.sbi.gnu.platform.base.1257620205" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>\r
+                                                       <builder autoBuildTarget="all" buildPath="${workspace_loc:/position-finder-server}/Debug" enableAutoBuild="true" id="org.tizen.nativecore.target.sbi.gnu.builder.521036187" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.921340980" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>\r
+                                                       <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.1798664107" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">\r
+                                                               <option id="gnu.cpp.compiler.option.optimization.level.19803654" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.more" valueType="enumerated"/>\r
+                                                               <option defaultValue="gnu.cpp.compiler.debugging.level.max" id="sbi.gnu.cpp.compiler.option.debugging.level.core.584942227" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>\r
+                                                               <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.777571001" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.360737884" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="wearable-3.0-device.core_llvm37.armel.core.app"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.frameworks.core.1607947781" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="Native_API"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.462827356" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/SDL2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-watch&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/chromium-ewk&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/csr&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/nsd/&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/tzsh&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/vulkan&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/yaca&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.1742002390" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value=" -fPIE"/>\r
+                                                                       <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="-mthumb"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.preprocessor.def.deprecation.1224067082" name="Defined symbols (-D)" superClass="sbi.gnu.cpp.compiler.option.preprocessor.def.deprecation" valueType="definedSymbols">\r
+                                                                       <listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/>\r
+                                                                       <listOptionValue builtIn="false" value="DEPRECATION_WARNING"/>\r
+                                                                       <listOptionValue builtIn="false" value="_DEBUG"/>\r
+                                                               </option>\r
+                                                               <option id="gnu.cpp.compiler.option.include.paths.1704677583" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>\r
+                                                               </option>\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.314813354" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>\r
+                                                       </tool>\r
+                                                       <tool command="clang.exe" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.608568592" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">\r
+                                                               <option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.option.optimization.level.1150950205" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>\r
+                                                               <option defaultValue="gnu.c.debugging.level.max" id="sbi.gnu.c.compiler.option.debugging.level.core.1224025778" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>\r
+                                                               <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.839738192" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>\r
+                                                               <option id="sbi.gnu.c.compiler.option.830090930" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="wearable-3.0-device.core_llvm37.armel.core.app"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.c.compiler.option.frameworks.core.891391274" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="Native_API"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.350396953" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/SDL2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-watch&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/chromium-ewk&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/csr&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/nsd/&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/tzsh&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/vulkan&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/yaca&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.834059415" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value=" -fPIE"/>\r
+                                                                       <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="-mthumb"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.c.compiler.option.preprocessor.def.symbols.deprecation.1564534992" name="Defined symbols (-D)" superClass="sbi.gnu.c.compiler.option.preprocessor.def.symbols.deprecation" valueType="definedSymbols">\r
+                                                                       <listOptionValue builtIn="false" value="TIZEN_DEPRECATION"/>\r
+                                                                       <listOptionValue builtIn="false" value="DEPRECATION_WARNING"/>\r
+                                                                       <listOptionValue builtIn="false" value="_DEBUG"/>\r
+                                                               </option>\r
+                                                               <option id="gnu.c.compiler.option.include.paths.1700719214" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>\r
+                                                               </option>\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1970681669" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>\r
+                                                       </tool>\r
+                                                       <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1853500207" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>\r
+                                                       <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.660965699" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">\r
+                                                               <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.1369120686" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>\r
+                                                               <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.953447662" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/>\r
+                                                               <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.1361838955" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="${TC_LINKER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="${RS_LINKER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="-pie -lpthread "/>\r
+                                                                       <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="-Xlinker --version-script=&quot;${PROJ_PATH}/.exportMap&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/>\r
+                                                               </option>\r
+                                                               <option id="gnu.cpp.link.option.paths.1421653883" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/lib}&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="gnu.cpp.link.option.libs.253048613" name="Libraries (-l)" superClass="gnu.cpp.link.option.libs" valueType="libs">\r
+                                                                       <listOptionValue builtIn="false" value="peripheralio"/>\r
+                                                               </option>\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1944427699" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">\r
+                                                                       <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>\r
+                                                                       <additionalInput kind="additionalinput" paths="$(LIBS)"/>\r
+                                                               </inputType>\r
+                                                       </tool>\r
+                                                       <tool command="arm-linux-gnueabi-as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.2096626611" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.assembler.input.2114364742" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>\r
+                                                       </tool>\r
+                                                       <tool id="org.tizen.nativecore.tool.fnmapgen.355559864" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.1481686968" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.ast.146725625" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.ast.cpp.324716454" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.19332872" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1230870289" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1602658278" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>\r
+                                               </toolChain>\r
+                                       </folderInfo>\r
+                                       <sourceEntries>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="shared"/>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>\r
+                                       </sourceEntries>\r
+                               </configuration>\r
+                       </storageModule>\r
+                       <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>\r
+               </cconfiguration>\r
+               <cconfiguration id="org.tizen.nativecore.config.sbi.gcc45.app.release.798665471">\r
+                       <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="org.tizen.nativecore.config.sbi.gcc45.app.release.798665471" moduleId="org.eclipse.cdt.core.settings" name="Release">\r
+                               <externalSettings/>\r
+                               <extensions>\r
+                                       <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.tizen.nativecore.NativeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                                       <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>\r
+                               </extensions>\r
+                       </storageModule>\r
+                       <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
+                               <configuration artifactName="position-finder-server" buildArtefactType="org.tizen.nativecore.buildArtefactType.app" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.tizen.nativecore.buildArtefactType.app,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;" id="org.tizen.nativecore.config.sbi.gcc45.app.release.798665471" name="Release" parent="org.tizen.nativecore.config.sbi.gcc45.app.release">\r
+                                       <folderInfo id="org.tizen.nativecore.config.sbi.gcc45.app.release.798665471." name="/" resourcePath="">\r
+                                               <toolChain id="org.tizen.nativecore.toolchain.sbi.gcc45.app.release.512480384" name="Tizen Native Toolchain" superClass="org.tizen.nativecore.toolchain.sbi.gcc45.app.release">\r
+                                                       <targetPlatform id="org.tizen.nativeide.target.sbi.gnu.platform.base.1518045883" osList="linux,win32" superClass="org.tizen.nativeide.target.sbi.gnu.platform.base"/>\r
+                                                       <builder buildPath="${workspace_loc:/position-finder-server}/Release" id="org.tizen.nativecore.target.sbi.gnu.builder.370284995" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Tizen Application Builder" superClass="org.tizen.nativecore.target.sbi.gnu.builder"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.270353547" name="Archiver" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver"/>\r
+                                                       <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler.724232370" name="C++ Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.compiler">\r
+                                                               <option id="gnu.cpp.compiler.option.optimization.level.1629967802" name="Optimization Level" superClass="gnu.cpp.compiler.option.optimization.level" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>\r
+                                                               <option defaultValue="gnu.cpp.compiler.debugging.level.none" id="sbi.gnu.cpp.compiler.option.debugging.level.core.1158599372" name="Debug level" superClass="sbi.gnu.cpp.compiler.option.debugging.level.core" valueType="enumerated"/>\r
+                                                               <option defaultValue="false" id="sbi.gnu.cpp.compiler.option.misc.pic.core.199620863" name="-fPIC option" superClass="sbi.gnu.cpp.compiler.option.misc.pic.core" valueType="boolean"/>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.311810511" name="Tizen-Target" superClass="sbi.gnu.cpp.compiler.option" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="wearable-3.0-emulator.core_llvm37.i386.core.app"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.frameworks_inc.core.1291453665" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.cpp.compiler.option.frameworks_inc.core" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/SDL2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-watch&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/chromium-ewk&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/csr&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/nsd/&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/tzsh&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/vulkan&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/yaca&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.frameworks_cflags.core.1192497073" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.cpp.compiler.option.frameworks_cflags.core" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value=" -fPIE"/>\r
+                                                                       <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="gnu.cpp.compiler.option.include.paths.192053124" name="Include paths (-I)" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.cpp.compiler.option.frameworks.core.2116967419" name="Tizen-Frameworks" superClass="sbi.gnu.cpp.compiler.option.frameworks.core" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="Native_API"/>\r
+                                                               </option>\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1358320582" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>\r
+                                                       </tool>\r
+                                                       <tool command="clang.exe" id="org.tizen.nativecore.tool.sbi.gnu.c.compiler.1137458090" name="C Compiler" superClass="org.tizen.nativecore.tool.sbi.gnu.c.compiler">\r
+                                                               <option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.option.optimization.level.1363408916" name="Optimization Level" superClass="gnu.c.compiler.option.optimization.level" valueType="enumerated"/>\r
+                                                               <option defaultValue="gnu.c.debugging.level.none" id="sbi.gnu.c.compiler.option.debugging.level.core.506622890" name="Debug level" superClass="sbi.gnu.c.compiler.option.debugging.level.core" valueType="enumerated"/>\r
+                                                               <option defaultValue="false" id="sbi.gnu.c.compiler.option.misc.pic.core.693088435" name="-fPIC option" superClass="sbi.gnu.c.compiler.option.misc.pic.core" valueType="boolean"/>\r
+                                                               <option id="sbi.gnu.c.compiler.option.1169427939" name="Tizen-Target" superClass="sbi.gnu.c.compiler.option" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="wearable-3.0-emulator.core_llvm37.i386.core.app"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.c.compiler.option.frameworks_inc.core.1015995606" name="Tizen-Frameworks-Include-Path" superClass="sbi.gnu.c.compiler.option.frameworks_inc.core" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/libxml2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/SDL2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-agent&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appcore-watch&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/appfw&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/badge&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/base&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/cairo&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/calendar-service2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/chromium-ewk&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ckm&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/contacts-svc&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/context-service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/csr&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dali-toolkit&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dbus-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/device&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/dlog&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-buffer-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-con-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-file-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-imf-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-input-evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ecore-ipc-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ector-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/e_dbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/edje-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efl-extension&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/efreet-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eina-1/eina&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eio-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eldbus-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/elementary-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/embryo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/emile-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eo-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/eom&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ethumb-client-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/evas-1&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/feedback&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/fontconfig&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/freetype2&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/gio-unix-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/glib-2.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/harfbuzz&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/iotcon&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/json-glib-1.0&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/location&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/maps&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/media-content&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/messaging&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/metadata-editor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/minizip&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/network&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/notification&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/nsd/&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/phonenumber-utils&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/sensor&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/storage&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/system&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/telephony&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/tzsh&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/ui&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/vulkan&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_service&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_dali&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/widget_viewer_evas&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/include/yaca&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/dbus-1.0/include&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${SBI_SYSROOT}/usr/lib/glib-2.0/include&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.c.compiler.option.frameworks_cflags.core.805480190" name="Tizen-Frameworks-Other-Cflags" superClass="sbi.gnu.c.compiler.option.frameworks_cflags.core" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="${TC_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="${RS_COMPILER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value=" -fPIE"/>\r
+                                                                       <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="gnu.c.compiler.option.include.paths.910524578" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/inc}&quot;"/>\r
+                                                               </option>\r
+                                                               <option id="sbi.gnu.c.compiler.option.frameworks.core.1631012466" name="Tizen-Frameworks" superClass="sbi.gnu.c.compiler.option.frameworks.core" valueType="userObjs">\r
+                                                                       <listOptionValue builtIn="false" value="Native_API"/>\r
+                                                               </option>\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1937574746" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>\r
+                                                       </tool>\r
+                                                       <tool id="org.tizen.nativeide.tool.sbi.gnu.c.linker.base.1305688345" name="C Linker" superClass="org.tizen.nativeide.tool.sbi.gnu.c.linker.base"/>\r
+                                                       <tool command="clang++.exe" id="org.tizen.nativecore.tool.sbi.gnu.cpp.linker.1525108150" name="C++ Linker" superClass="org.tizen.nativecore.tool.sbi.gnu.cpp.linker">\r
+                                                               <option defaultValue="false" id="sbi.gnu.cpp.linker.option.shared_flag.core.1450296020" name="Linker.Shared" superClass="sbi.gnu.cpp.linker.option.shared_flag.core" valueType="boolean"/>\r
+                                                               <option defaultValue="false" id="sbi.gnu.cpp.linker.option.noundefined.core.1921253777" name="Report unresolved symbol references (-Wl,--no-undefined)" superClass="sbi.gnu.cpp.linker.option.noundefined.core" valueType="boolean"/>\r
+                                                               <option id="sbi.gnu.cpp.linker.option.frameworks_lflags.core.2046897725" name="Tizen-Frameworks-Other-Lflags" superClass="sbi.gnu.cpp.linker.option.frameworks_lflags.core" valueType="stringList">\r
+                                                                       <listOptionValue builtIn="false" value="${TC_LINKER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="${RS_LINKER_MISC}"/>\r
+                                                                       <listOptionValue builtIn="false" value="-pie -lpthread "/>\r
+                                                                       <listOptionValue builtIn="false" value="--sysroot=&quot;${SBI_SYSROOT}&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="-Xlinker --version-script=&quot;${PROJ_PATH}/.exportMap&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="-L&quot;${SBI_SYSROOT}/usr/lib&quot;"/>\r
+                                                                       <listOptionValue builtIn="false" value="$(RS_LIBRARIES)"/>\r
+                                                               </option>\r
+                                                               <option id="gnu.cpp.link.option.paths.1997456943" name="Library search path (-L)" superClass="gnu.cpp.link.option.paths" valueType="libPaths">\r
+                                                                       <listOptionValue builtIn="false" value="&quot;${workspace_loc:/${ProjName}/lib}&quot;"/>\r
+                                                               </option>\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.cpp.linker.input.1919438534" superClass="cdt.managedbuild.tool.gnu.cpp.linker.input">\r
+                                                                       <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>\r
+                                                                       <additionalInput kind="additionalinput" paths="$(LIBS)"/>\r
+                                                               </inputType>\r
+                                                       </tool>\r
+                                                       <tool command="i386-linux-gnueabi-as.exe" id="org.tizen.nativeapp.tool.sbi.gnu.assembler.base.1780457609" name="Assembler" superClass="org.tizen.nativeapp.tool.sbi.gnu.assembler.base">\r
+                                                               <inputType id="cdt.managedbuild.tool.gnu.assembler.input.2108700877" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>\r
+                                                       </tool>\r
+                                                       <tool id="org.tizen.nativecore.tool.fnmapgen.1428007884" name="C FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.fnmapgen.cpp.514022745" name="C++ FN-Map Generator" superClass="org.tizen.nativecore.tool.fnmapgen.cpp"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.ast.1687290759" name="C Static Analyzer" superClass="org.tizen.nativecore.tool.ast"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.ast.cpp.1082433399" name="C++ Static Analyzer" superClass="org.tizen.nativecore.tool.ast.cpp"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib.874518013" name="Archive Generator" superClass="org.tizen.nativecore.tool.sbi.gnu.archiver.mergelib"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.po.compiler.1319388680" name="PO Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.po.compiler"/>\r
+                                                       <tool id="org.tizen.nativecore.tool.sbi.edc.compiler.1702841813" name="EDC Resource Compiler" superClass="org.tizen.nativecore.tool.sbi.edc.compiler"/>\r
+                                               </toolChain>\r
+                                       </folderInfo>\r
+                                       <sourceEntries>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="inc"/>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="res"/>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="shared"/>\r
+                                               <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>\r
+                                       </sourceEntries>\r
+                               </configuration>\r
+                       </storageModule>\r
+                       <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>\r
+               </cconfiguration>\r
+       </storageModule>\r
+       <storageModule moduleId="cdtBuildSystem" version="4.0.0">\r
+               <project id="position-finder-server.org.tizen.nativecore.target.sbi.gcc45.app.383294897" name="Tizen Native Application" projectType="org.tizen.nativecore.target.sbi.gcc45.app"/>\r
+       </storageModule>\r
+       <storageModule moduleId="scannerConfiguration">\r
+               <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>\r
+               <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.release.798665471">\r
+                       <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>\r
+               </scannerConfigBuildInfo>\r
+               <scannerConfigBuildInfo instanceId="org.tizen.nativecore.config.sbi.gcc45.app.debug.1421842201">\r
+                       <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>\r
+               </scannerConfigBuildInfo>\r
+       </storageModule>\r
+       <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>\r
+       <storageModule moduleId="refreshScope"/>\r
+</cproject>\r
diff --git a/.exportMap b/.exportMap
new file mode 100644 (file)
index 0000000..de30516
--- /dev/null
@@ -0,0 +1,5 @@
+{
+       global: main;
+       _IO_*;
+       local: *;
+};
index e7845095bd2aaf80a7b3bfb2aa3cd62a4f420924..02065b4f56b208b9786d85e4a34bbb643fd21049 100644 (file)
@@ -1 +1,5 @@
 .vsproject
+./Debug/
+./SA_Report/
+/Debug/
+/SA_Report/
diff --git a/.package-stamp b/.package-stamp
new file mode 100644 (file)
index 0000000..40cbe59
--- /dev/null
@@ -0,0 +1 @@
+TPK
\ No newline at end of file
diff --git a/.project b/.project
new file mode 100644 (file)
index 0000000..45527b0
--- /dev/null
+++ b/.project
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>position-finder-server</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.tizen.nativecore.apichecker.apicheckerbuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+                       <triggers>full,incremental,</triggers>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.cdt.core.cnature</nature>
+               <nature>org.eclipse.cdt.core.ccnature</nature>
+               <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+               <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+               <nature>org.tizen.nativecore.apichecker.apicheckernature</nature>
+       </natures>
+       <filteredResources>
+               <filter>
+                       <id>1503023742063</id>
+                       <name></name>
+                       <type>26</type>
+                       <matcher>
+                               <id>org.eclipse.ui.ide.multiFilter</id>
+                               <arguments>1.0-projectRelativePath-matches-false-false-*/.tpk</arguments>
+                       </matcher>
+               </filter>
+               <filter>
+                       <id>1503023742075</id>
+                       <name></name>
+                       <type>6</type>
+                       <matcher>
+                               <id>org.eclipse.ui.ide.multiFilter</id>
+                               <arguments>1.0-name-matches-false-false-project_def.prop</arguments>
+                       </matcher>
+               </filter>
+       </filteredResources>
+</projectDescription>
diff --git a/.tproject b/.tproject
new file mode 100644 (file)
index 0000000..de5a150
--- /dev/null
+++ b/.tproject
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<tproject xmlns="http://www.tizen.org/tproject">
+    <platforms>
+        <platform>
+            <name>wearable-3.0</name>
+        </platform>
+    </platforms>
+    <package>
+        <blacklist/>
+        <resFallback autoGen="true"/>
+    </package>
+</tproject>
diff --git a/inc/peripheral_io.h b/inc/peripheral_io.h
new file mode 100644 (file)
index 0000000..dc8f5b4
--- /dev/null
@@ -0,0 +1,1200 @@
+/*\r
+ * Copyright (c) 2016-2017 Samsung Electronics Co., Ltd.\r
+ *\r
+ * Licensed under the Apache License, Version 2.0 (the "License");\r
+ * you may not use this file except in compliance with the License.\r
+ * You may obtain a copy of the License at\r
+ *\r
+ * http://www.apache.org/licenses/LICENSE-2.0\r
+ *\r
+ * Unless required by applicable law or agreed to in writing, software\r
+ * distributed under the License is distributed on an "AS IS" BASIS,\r
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+ * See the License for the specific language governing permissions and\r
+ * limitations under the License.\r
+ */\r
+\r
+#ifndef __TIZEN_SYSTEM_PERIPHERAL_IO_H__\r
+#define __TIZEN_SYSTEM_PERIPHERAL_IO_H__\r
+\r
+#include <stdint.h>\r
+#include <tizen.h>\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+/**\r
+ * @addtogroup CAPI_SYSTEM_PERIPHERAL_IO_MODULE\r
+ * @{\r
+ */\r
+\r
+/**\r
+ * @file peripheral_io.h\r
+ * @brief This file contains the peripheral-io API.\r
+ */\r
+\r
+/**\r
+ * @brief Enumeration for peripheral-io error.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_ERROR_NONE                = TIZEN_ERROR_NONE,                /**< Successful */\r
+       PERIPHERAL_ERROR_IO_ERROR            = TIZEN_ERROR_IO_ERROR,            /**< I/O error */\r
+       PERIPHERAL_ERROR_NO_DEVICE           = TIZEN_ERROR_NO_SUCH_DEVICE,      /**< No such device */\r
+       PERIPHERAL_ERROR_TRY_AGAIN           = TIZEN_ERROR_TRY_AGAIN,           /**< Try again */\r
+       PERIPHERAL_ERROR_OUT_OF_MEMORY       = TIZEN_ERROR_OUT_OF_MEMORY,       /**< Out of memory */\r
+       PERIPHERAL_ERROR_PERMISSION_DENIED   = TIZEN_ERROR_PERMISSION_DENIED,   /**< Permission denied */\r
+       PERIPHERAL_ERROR_RESOURCE_BUSY       = TIZEN_ERROR_RESOURCE_BUSY,       /**< Device or resource busy */\r
+       PERIPHERAL_ERROR_INVALID_PARAMETER   = TIZEN_ERROR_INVALID_PARAMETER,   /**< Invalid parameter */\r
+       PERIPHERAL_ERROR_NOT_SUPPORTED       = TIZEN_ERROR_NOT_SUPPORTED,       /**< Not supported */\r
+       PERIPHERAL_ERROR_UNKNOWN             = TIZEN_ERROR_UNKNOWN,             /**< Unknown error */\r
+} peripheral_error_e;\r
+\r
+/**\r
+* @}\r
+*/\r
+\r
+/**\r
+ * @addtogroup CAPI_SYSTEM_PERIPHERAL_IO_GPIO_MODULE\r
+ * @{\r
+ */\r
+\r
+/**\r
+ * @brief Enumeration of GPIO direction options.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_GPIO_DIRECTION_IN = 0,              /**< Input Mode */\r
+       PERIPHERAL_GPIO_DIRECTION_OUT_INITIALLY_HIGH,  /**< Output mode with high value */\r
+       PERIPHERAL_GPIO_DIRECTION_OUT_INITIALLY_LOW,   /**< Output mode with low value */\r
+} peripheral_gpio_direction_e;\r
+\r
+/**\r
+ * @brief Enumeration of edge types for the GPIO interrupt.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_GPIO_EDGE_NONE = 0,  /**< No interrupt on GPIO */\r
+       PERIPHERAL_GPIO_EDGE_RISING,    /**< Interrupt on rising only */\r
+       PERIPHERAL_GPIO_EDGE_FALLING,   /**< Interrupt on falling only */\r
+       PERIPHERAL_GPIO_EDGE_BOTH,      /**< Interrupt on rising & falling */\r
+} peripheral_gpio_edge_e;\r
+\r
+/**\r
+ * @brief The handle of a GPIO pin.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef struct _peripheral_gpio_s *peripheral_gpio_h;\r
+\r
+/**\r
+ * @platform\r
+ * @brief Opens a GPIO pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ * @remarks @a gpio should be released with peripheral_gpio_close()\r
+ *\r
+ * @param[in] gpio_pin The GPIO pin number\r
+ * @param[out] gpio The GPIO handle is created on success\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_OUT_OF_MEMORY Memory allocation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_RESOURCE_BUSY Device is in use\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @post peripheral_gpio_close()\r
+ */\r
+int peripheral_gpio_open(int gpio_pin, peripheral_gpio_h *gpio);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Closes a GPIO pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @pre peripheral_gpio_open()\r
+ */\r
+int peripheral_gpio_close(peripheral_gpio_h gpio);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the GPIO direction.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ * @param[in] direction The direction of the GPIO pin\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_gpio_direction_e\r
+ */\r
+int peripheral_gpio_set_direction(peripheral_gpio_h gpio, peripheral_gpio_direction_e direction);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the GPIO edge mode.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ * @param[in] edge The edge mode of the GPIO pin\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_gpio_edge_e\r
+ */\r
+int peripheral_gpio_set_edge_mode(peripheral_gpio_h gpio, peripheral_gpio_edge_e edge);\r
+\r
+/**\r
+ * @platform\r
+ * @brief The GPIO interrupted callback called when the GPIO interrupt is triggered.\r
+ * @since_tizen 4.0\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ * @param[in] error The GPIO error\r
+ * @param[in] user_data The user data passed from the callback registration function\r
+ *\r
+ * @see peripheral_gpio_set_interrupted_cb()\r
+ */\r
+typedef void(*peripheral_gpio_interrupted_cb)(peripheral_gpio_h gpio, peripheral_error_e error, void *user_data);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the GPIO interrupted callback to be invoked when the GPIO interrupt is triggered.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ * @param[in] callback The GPIO interrupted callback function to set\r
+ * @param[in] user_data The user data to be passed to the callback function\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ *\r
+ * @post peripheral_gpio_unset_interrupted_cb()\r
+ * @see peripheral_gpio_set_edge_mode()\r
+ */\r
+int peripheral_gpio_set_interrupted_cb(peripheral_gpio_h gpio, peripheral_gpio_interrupted_cb callback, void *user_data);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Unsets the GPIO interrupted callback.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ *\r
+ * @pre peripheral_gpio_set_interrupted_cb()\r
+ */\r
+int peripheral_gpio_unset_interrupted_cb(peripheral_gpio_h gpio);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Gets the current value of the GPIO pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ * @param[out] value The value to get\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_gpio_write()\r
+ */\r
+int peripheral_gpio_read(peripheral_gpio_h gpio, uint32_t *value);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the value of the GPIO pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] gpio The GPIO handle\r
+ * @param[in] value The value to set (must be 0 or 1)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_gpio_read()\r
+ */\r
+int peripheral_gpio_write(peripheral_gpio_h gpio, uint32_t value);\r
+\r
+/**\r
+* @}\r
+*/\r
+\r
+/**\r
+ * @addtogroup CAPI_SYSTEM_PERIPHERAL_IO_I2C_MODULE\r
+ * @{\r
+ */\r
+\r
+/**\r
+ * @brief The handle of the I2C slave device.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef struct _peripheral_i2c_s *peripheral_i2c_h;\r
+\r
+/**\r
+ * @platform\r
+ * @brief Opens an I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ * @remarks @a i2c should be released with peripheral_i2c_close()\r
+ *\r
+ * @param[in] bus The I2C bus number that the slave device is connected\r
+ * @param[in] address The address of the slave device\r
+ * @param[out] i2c The I2C handle is created on success\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_OUT_OF_MEMORY Memory allocation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_RESOURCE_BUSY Device is in use\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @post peripheral_i2c_close()\r
+ */\r
+int peripheral_i2c_open(int bus, int address, peripheral_i2c_h *i2c);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Closes an I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] i2c The I2C handle\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @pre peripheral_i2c_open()\r
+ */\r
+int peripheral_i2c_close(peripheral_i2c_h i2c);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Reads the bytes data from the I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] i2c The I2C handle\r
+ * @param[out] data The data buffer to read\r
+ * @param[in] length The size of data buffer (in bytes)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_i2c_write()\r
+ */\r
+int peripheral_i2c_read(peripheral_i2c_h i2c, uint8_t *data, uint32_t length);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Writes the bytes data to the I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] i2c The I2C handle\r
+ * @param[in] data The data buffer to write\r
+ * @param[in] length The size of data buffer (in bytes)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_i2c_read()\r
+ */\r
+int peripheral_i2c_write(peripheral_i2c_h i2c, uint8_t *data, uint32_t length);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Reads single byte data from the register of the I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] i2c The I2C handle\r
+ * @param[in] reg The register address of the I2C slave device to read\r
+ * @param[out] data The single byte data to read\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_i2c_write_register_byte()\r
+ */\r
+int peripheral_i2c_read_register_byte(peripheral_i2c_h i2c, uint8_t reg, uint8_t *data);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Writes single byte data to the register of the I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] i2c The I2C handle\r
+ * @param[in] reg The register address of the I2C slave device to write\r
+ * @param[in] data The single byte data to write\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_i2c_read_register_byte()\r
+ */\r
+int peripheral_i2c_write_register_byte(peripheral_i2c_h i2c, uint8_t reg, uint8_t data);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Reads word data from the register of the I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] i2c The I2C handle\r
+ * @param[in] reg The register address of the I2C slave device to read\r
+ * @param[out] data The word(2 bytes) data to read\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_i2c_write_register_word()\r
+ */\r
+int peripheral_i2c_read_register_word(peripheral_i2c_h i2c, uint8_t reg, uint16_t *data);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Writes word data to the register of the I2C slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] i2c The I2C handle\r
+ * @param[in] reg The register address of the I2C slave device to write\r
+ * @param[in] data The word(2 bytes) data to write\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_i2c_read_register_word()\r
+ */\r
+int peripheral_i2c_write_register_word(peripheral_i2c_h i2c, uint8_t reg, uint16_t data);\r
+\r
+/**\r
+* @}\r
+*/\r
+\r
+/**\r
+ * @addtogroup CAPI_SYSTEM_PERIPHERAL_IO_PWM_MODULE\r
+ * @{\r
+ */\r
+\r
+/**\r
+ * @brief The handle of the PWM device.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef struct _peripheral_pwm_s *peripheral_pwm_h;\r
+\r
+/**\r
+ * @brief Enumeration for Polarity.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_PWM_POLARITY_ACTIVE_HIGH = 0, /**< PWM signal start in the active high state (Normal) */\r
+       PERIPHERAL_PWM_POLARITY_ACTIVE_LOW,      /**< PWM signal start in the active low state (Inversed) */\r
+} peripheral_pwm_polarity_e;\r
+\r
+/**\r
+ * @platform\r
+ * @brief Opens the PWM pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ * @remarks @a pwm should be released with peripheral_pwm_close()\r
+ *\r
+ * @param[in] chip The PWM chip number\r
+ * @param[in] pin The PWM pin(channel) number to control\r
+ * @param[out] pwm The PWM handle is created on success\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_OUT_OF_MEMORY Memory allocation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_RESOURCE_BUSY Device is in use\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @post peripheral_pwm_close()\r
+ */\r
+int peripheral_pwm_open(int chip, int pin, peripheral_pwm_h *pwm);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Closes the PWM pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] pwm The PWM handle\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @pre peripheral_pwm_open()\r
+ */\r
+int peripheral_pwm_close(peripheral_pwm_h pwm);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets period of the PWM pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] pwm The PWM handle\r
+ * @param[in] period_ns The total period of the PWM pin (in nanoseconds)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ */\r
+int peripheral_pwm_set_period(peripheral_pwm_h pwm, uint32_t period_ns);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets duty cycle of the PWM pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] pwm The PWM handle\r
+ * @param[in] duty_cycle_ns The duty cycle of the PWM pin (in nanoseconds)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ */\r
+int peripheral_pwm_set_duty_cycle(peripheral_pwm_h pwm, uint32_t duty_cycle_ns);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets polarity of the PWM pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] pwm The PWM handle\r
+ * @param[in] polarity The polarity of the PWM pin\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_pwm_polarity_e\r
+ */\r
+int peripheral_pwm_set_polarity(peripheral_pwm_h pwm, peripheral_pwm_polarity_e polarity);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Enables the PWM pin.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] pwm The PWM handle\r
+ * @param[in] enabled Enable/disable the PWM pin\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ */\r
+int peripheral_pwm_set_enabled(peripheral_pwm_h pwm, bool enabled);\r
+\r
+/**\r
+* @}\r
+*/\r
+\r
+/**\r
+ * @addtogroup CAPI_SYSTEM_PERIPHERAL_IO_UART_MODULE\r
+ * @{\r
+ */\r
+\r
+/**\r
+ * @brief The handle to the UART device.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef struct _peripheral_uart_s *peripheral_uart_h;\r
+\r
+/**\r
+ * @brief Enumeration for baud rate.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_UART_BAUD_RATE_0 = 0,  /**< The number of signal in one second is 0 */\r
+       PERIPHERAL_UART_BAUD_RATE_50,     /**< The number of signal in one second is 50 */\r
+       PERIPHERAL_UART_BAUD_RATE_75,     /**< The number of signal in one second is 75 */\r
+       PERIPHERAL_UART_BAUD_RATE_110,    /**< The number of signal in one second is 110 */\r
+       PERIPHERAL_UART_BAUD_RATE_134,    /**< The number of signal in one second is 134 */\r
+       PERIPHERAL_UART_BAUD_RATE_150,    /**< The number of signal in one second is 150 */\r
+       PERIPHERAL_UART_BAUD_RATE_200,    /**< The number of signal in one second is 200 */\r
+       PERIPHERAL_UART_BAUD_RATE_300,    /**< The number of signal in one second is 300 */\r
+       PERIPHERAL_UART_BAUD_RATE_600,    /**< The number of signal in one second is 600 */\r
+       PERIPHERAL_UART_BAUD_RATE_1200,   /**< The number of signal in one second is 1200 */\r
+       PERIPHERAL_UART_BAUD_RATE_1800,   /**< The number of signal in one second is 1800 */\r
+       PERIPHERAL_UART_BAUD_RATE_2400,   /**< The number of signal in one second is 2400 */\r
+       PERIPHERAL_UART_BAUD_RATE_4800,   /**< The number of signal in one second is 4800 */\r
+       PERIPHERAL_UART_BAUD_RATE_9600,   /**< The number of signal in one second is 9600 */\r
+       PERIPHERAL_UART_BAUD_RATE_19200,  /**< The number of signal in one second is 19200 */\r
+       PERIPHERAL_UART_BAUD_RATE_38400,  /**< The number of signal in one second is 38400 */\r
+       PERIPHERAL_UART_BAUD_RATE_57600,  /**< The number of signal in one second is 57600 */\r
+       PERIPHERAL_UART_BAUD_RATE_115200, /**< The number of signal in one second is 115200 */\r
+       PERIPHERAL_UART_BAUD_RATE_230400, /**< The number of signal in one second is 230400 */\r
+} peripheral_uart_baud_rate_e;\r
+\r
+/**\r
+ * @brief Enumeration for byte size.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_UART_BYTE_SIZE_5BIT = 0, /**< 5 data bits */\r
+       PERIPHERAL_UART_BYTE_SIZE_6BIT,     /**< 6 data bits */\r
+       PERIPHERAL_UART_BYTE_SIZE_7BIT,     /**< 7 data bits */\r
+       PERIPHERAL_UART_BYTE_SIZE_8BIT,     /**< 8 data bits */\r
+} peripheral_uart_byte_size_e;\r
+\r
+/**\r
+ * @brief Enumeration for parity bit.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_UART_PARITY_NONE = 0, /**< No parity is used */\r
+       PERIPHERAL_UART_PARITY_EVEN,     /**< Even parity is used */\r
+       PERIPHERAL_UART_PARITY_ODD,      /**< ODD parity is used */\r
+} peripheral_uart_parity_e;\r
+\r
+/**\r
+ * @brief Enumeration for stop bits.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_UART_STOP_BITS_1BIT = 0, /**< One stop bit */\r
+       PERIPHERAL_UART_STOP_BITS_2BIT,     /**< Two stop bits */\r
+} peripheral_uart_stop_bits_e;\r
+\r
+/**\r
+ * @brief Enumeration for hardware flow control.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_UART_HARDWARE_FLOW_CONTROL_NONE = 0,    /**< No hardware flow control */\r
+       PERIPHERAL_UART_HARDWARE_FLOW_CONTROL_AUTO_RTSCTS, /**< Automatic RTS/CTS hardware flow control*/\r
+} peripheral_uart_hardware_flow_control_e;\r
+\r
+/**\r
+ * @brief Enumeration for software flow control.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_UART_SOFTWARE_FLOW_CONTROL_NONE = 0,    /**< No software flow control */\r
+       PERIPHERAL_UART_SOFTWARE_FLOW_CONTROL_XONXOFF,     /**< XON/XOFF software flow control */\r
+} peripheral_uart_software_flow_control_e;\r
+\r
+/**\r
+ * @platform\r
+ * @brief Opens the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ * @remarks @a uart should be released with peripheral_uart_close()\r
+ *\r
+ * @param[in] port The UART port number that the slave device is connected\r
+ * @param[out] uart The UART handle is created on success\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_OUT_OF_MEMORY Memory allocation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_RESOURCE_BUSY Device is in use\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @post peripheral_uart_close()\r
+ */\r
+int peripheral_uart_open(int port, peripheral_uart_h *uart);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Closes the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @pre peripheral_uart_open()\r
+ */\r
+int peripheral_uart_close(peripheral_uart_h uart);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets baud rate of the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ * @param[in] baud Baud rate of the UART device\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_uart_baud_rate_e\r
+ */\r
+int peripheral_uart_set_baud_rate(peripheral_uart_h uart, peripheral_uart_baud_rate_e baud);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets byte size of the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ * @param[in] byte_size Byte size of the UART device\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_uart_byte_size_e\r
+ */\r
+int peripheral_uart_set_byte_size(peripheral_uart_h uart, peripheral_uart_byte_size_e byte_size);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets parity bit of the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ * @param[in] parity Parity bit of the UART device\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_uart_parity_e\r
+ */\r
+int peripheral_uart_set_parity(peripheral_uart_h uart, peripheral_uart_parity_e parity);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets stop bits of the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ * @param[in] stop_bits Stop bits of the UART device\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_uart_stop_bits_e\r
+ */\r
+int peripheral_uart_set_stop_bits(peripheral_uart_h uart, peripheral_uart_stop_bits_e stop_bits);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets flow control of the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ * @param[in] sw_flow_control Software flow control (Turns a transmitter on or off)\r
+ * @param[in] hw_flow_control Hardware flow control (Turns "Request to Send/Clear to Send" on or off)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_uart_software_flow_control_e\r
+ * @see peripheral_uart_hardware_flow_control_e\r
+ */\r
+int peripheral_uart_set_flow_control(peripheral_uart_h uart,\r
+                       peripheral_uart_software_flow_control_e sw_flow_control,\r
+                       peripheral_uart_hardware_flow_control_e hw_flow_control);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Reads data from the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ * @param[out] data The buffer to read\r
+ * @param[out] length The size of buffer (in bytes)\r
+ *\r
+ * @return the number of bytes read on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_TRY_AGAIN Try again\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_uart_write()\r
+ */\r
+int peripheral_uart_read(peripheral_uart_h uart, uint8_t *data, uint32_t length);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Writes data to the UART slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] uart The UART handle\r
+ * @param[in] data The buffer to write\r
+ * @param[in] length The size of buffer (in bytes)\r
+ *\r
+ * @return the number of bytes write on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_TRY_AGAIN Try again\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_uart_read()\r
+ */\r
+int peripheral_uart_write(peripheral_uart_h uart, uint8_t *data, uint32_t length);\r
+\r
+/**\r
+* @}\r
+*/\r
+\r
+/**\r
+ * @addtogroup CAPI_SYSTEM_PERIPHERAL_IO_SPI_MODULE\r
+ * @{\r
+ */\r
+\r
+/**\r
+ * @brief The handle of a SPI device.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef struct _peripheral_spi_s *peripheral_spi_h;\r
+\r
+/**\r
+ * @brief Enumeration of SPI transfer modes.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_SPI_MODE_0 = 0,   /**< CPOL = 0, CPHa = 0 Mode */\r
+       PERIPHERAL_SPI_MODE_1,       /**< CPOL = 0, CPHa = 1 Mode */\r
+       PERIPHERAL_SPI_MODE_2,       /**< CPOL = 1, CPHa = 0 Mode */\r
+       PERIPHERAL_SPI_MODE_3,       /**< CPOL = 1, CPHa = 1 Mode */\r
+} peripheral_spi_mode_e;\r
+\r
+/**\r
+ * @brief Enumeration of bit orders.\r
+ * @since_tizen 4.0\r
+ */\r
+typedef enum {\r
+       PERIPHERAL_SPI_BIT_ORDER_MSB = 0, /**< Use most siginificant bit first */\r
+       PERIPHERAL_SPI_BIT_ORDER_LSB,     /**< Use least significant bit first */\r
+} peripheral_spi_bit_order_e;\r
+\r
+/**\r
+ * @platform\r
+ * @brief Opens a SPI slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ * @remarks @a spi should be released with peripheral_spi_close()\r
+ *\r
+ * @param[in] bus The SPI bus number\r
+ * @param[in] cs The SPI chip select number\r
+ * @param[out] spi The SPI device handle\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_OUT_OF_MEMORY Memory allocation failed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_RESOURCE_BUSY Device is in use\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @post peripheral_spi_close()\r
+ */\r
+int peripheral_spi_open(int bus, int cs, peripheral_spi_h *spi);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Closes the SPI slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_spi_open()\r
+ */\r
+int peripheral_spi_close(peripheral_spi_h spi);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the SPI transfer mode.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ * @param[in] mode The SPI transfer mode\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_spi_mode_e\r
+ */\r
+int peripheral_spi_set_mode(peripheral_spi_h spi, peripheral_spi_mode_e mode);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the SPI bit order.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ * @param[in] bit_order The transfer bit order\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_spi_bit_order_e\r
+ */\r
+int peripheral_spi_set_bit_order(peripheral_spi_h spi, peripheral_spi_bit_order_e bit_order);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the number of bits per word.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ * @param[in] bits The number of bits per word (in bits)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ */\r
+int peripheral_spi_set_bits_per_word(peripheral_spi_h spi, uint8_t bits);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Sets the frequency of the SPI bus.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ * @remarks The frequencies supported are board dependent.\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ * @param[in] freq_hz Frequency to set (in Hz)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ */\r
+int peripheral_spi_set_frequency(peripheral_spi_h spi, uint32_t freq_hz);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Reads the bytes data from the SPI slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ * @param[out] data The data buffer to read\r
+ * @param[in] length The size of data buffer (in bytes)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_spi_write()\r
+ */\r
+int peripheral_spi_read(peripheral_spi_h spi, uint8_t *data, uint32_t length);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Writes the bytes data to the SPI slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ * @param[in] data The data buffer to write\r
+ * @param[in] length The size of data buffer (in bytes)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_spi_read()\r
+ */\r
+int peripheral_spi_write(peripheral_spi_h spi, uint8_t *data, uint32_t length);\r
+\r
+/**\r
+ * @platform\r
+ * @brief Exchanges the bytes data to the SPI slave device.\r
+ * @since_tizen 4.0\r
+ * @privlevel platform\r
+ * @privilege http://tizen.org/privilege/peripheralio\r
+ *\r
+ * @param[in] spi The SPI device handle\r
+ * @param[in] txdata The data buffer to write\r
+ * @param[out] rxdata The data buffer to read\r
+ * @param[in] length The size of txdata and rxdata buffer (in bytes)\r
+ *\r
+ * @return 0 on success, otherwise a negative error value\r
+ * @retval #PERIPHERAL_ERROR_NONE Successful\r
+ * @retval #PERIPHERAL_ERROR_IO_ERROR I/O operation failed\r
+ * @retval #PERIPHERAL_ERROR_NO_DEVICE Device does not exist or is removed\r
+ * @retval #PERIPHERAL_ERROR_PERMISSION_DENIED Permission denied\r
+ * @retval #PERIPHERAL_ERROR_INVALID_PARAMETER Invalid parameter\r
+ * @retval #PERIPHERAL_ERROR_NOT_SUPPORTED Not supported\r
+ * @retval #PERIPHERAL_ERROR_UNKNOWN Unknown internal error\r
+ *\r
+ * @see peripheral_spi_read()\r
+ * @see peripheral_spi_write()\r
+ */\r
+int peripheral_spi_transfer(peripheral_spi_h spi, uint8_t *txdata, uint8_t *rxdata, uint32_t length);\r
+\r
+/**\r
+* @}\r
+*/\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+#endif /* __TIZEN_SYSTEM_PERIPHERAL_IO_H__ */\r
diff --git a/lib/libperipheralio.so b/lib/libperipheralio.so
new file mode 100755 (executable)
index 0000000..5d69c2b
Binary files /dev/null and b/lib/libperipheralio.so differ
diff --git a/project_def.prop b/project_def.prop
new file mode 100644 (file)
index 0000000..569599d
--- /dev/null
@@ -0,0 +1,11 @@
+APPNAME = position-finder-server
+
+type = app
+profile = wearable-3.0
+
+USER_SRCS = src/position-finder-server.c
+USER_DEFS =
+USER_INC_DIRS = inc
+USER_OBJS =
+USER_LIBS =
+USER_EDCS =
index 3154e2d9bb793af4b8d74483fbb6c2ca5c9693cd..214702fa4e4fb1340650faf33eff8702ab3e8419 100644 (file)
@@ -424,10 +424,24 @@ error:
 int connectivity_init(void)
 {
        int ret = -1;
+       char buf[PATH_MAX] = {0,};
+       char data[PATH_MAX] = {0,};
+       char *prefix = NULL;
 
-       _copy_file(CBOR_FILE_IN_RES, CBOR_FILE_IN_DATA);
+       prefix = app_get_resource_path();
+       retv_if(!prefix, -1);
+       snprintf(buf, sizeof(buf)-1, "%s%s", prefix, "iotcon-test-svr-db-server.dat");
+       free(prefix);
+       prefix = NULL;
 
-       ret = iotcon_initialize(CBOR_FILE_IN_DATA);
+       prefix = app_get_data_path();
+       retv_if(!prefix, -1);
+       snprintf(data, sizeof(data)-1, "%s%s", prefix, "iotcon-test-svr-db-server.dat");
+       free(prefix);
+
+       _copy_file(buf, data);
+
+       ret = iotcon_initialize(data);
        retv_if(IOTCON_ERROR_NONE != ret, -1);
 
        ret = iotcon_set_device_name(ULTRASONIC_RESOURCE_TYPE);
index b894f76c88f29e8f61ab7960c87c25861c1cbce2..bfc38648ef211e05352b11fe1db253308ac148c0 100644 (file)
  * limitations under the License.
  */
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <glib.h>
+#include <app_common.h>
 
 #include "log.h"
 
@@ -37,13 +39,21 @@ struct controller_util_s controller_util = { 0, };
 
 static int _read_conf_file(void)
 {
+       char buf[PATH_MAX] = {0,};
+       char *prefix = NULL;
        GKeyFile *gkf = NULL;
 
        gkf = g_key_file_new();
        retv_if(!gkf, -1);
 
-       if (!g_key_file_load_from_file(gkf, CONF_FILE, G_KEY_FILE_NONE, NULL)) {
-               _E("could not read config file %s", CONF_FILE);
+       prefix = app_get_resource_path();
+       retv_if(!prefix, -1);
+       snprintf(buf, sizeof(buf)-1, "%s%s", prefix, "pi.conf");
+       free(prefix);
+       prefix = NULL;
+
+       if (!g_key_file_load_from_file(gkf, buf, G_KEY_FILE_NONE, NULL)) {
+               _E("could not read config file %s", buf);
                return -1;
        }
 
diff --git a/tizen-manifest.xml b/tizen-manifest.xml
new file mode 100644 (file)
index 0000000..43520f6
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>\r
+<manifest xmlns="http://tizen.org/ns/packages" api-version="3.0" package="org.tizen.position-finder-server" version="1.0.0">\r
+    <profile name="wearable"/>\r
+    <service-application appid="org.tizen.position-finder-server" exec="position-finder-server" multiple="false" nodisplay="true" taskmanage="false" type="capp">\r
+        <label>position-finder-server</label>\r
+        <icon>default_icon.png</icon>\r
+    </service-application>\r
+    <privileges>\r
+        <privilege>http://tizen.org/privilege/appdir.shareddata</privilege>\r
+        <privilege>http://tizen.org/privilege/network.get</privilege>\r
+        <privilege>http://tizen.org/privilege/internet</privilege>\r
+    </privileges>\r
+</manifest>\r