Fix gdbus interface prefix and typo 23/126523/2
authorHyeongsik Min <hyeongsik.min@samsung.com>
Mon, 24 Apr 2017 04:09:35 +0000 (13:09 +0900)
committerHyeongsik Min <hyeongsik.min@samsung.com>
Mon, 24 Apr 2017 11:00:32 +0000 (20:00 +0900)
Removed 'system.' from interface name.

Change-Id: I864efa355360709cb31a77390b4cad039e00ef16
Signed-off-by: Hyeongsik Min <hyeongsik.min@samsung.com>
CMakeLists.txt
src/daemon/peripheral_io.xml

index a8f6908..7271222 100644 (file)
@@ -11,7 +11,7 @@ EXEC_PROGRAM(${GDBUS_CODEGEN} ARGS
                 " \\
                 --generate-c-code ${CMAKE_SOURCE_DIR}/src/daemon/peripheral_io_gdbus \\
                 --c-namespace PeripheralIoGdbus \\
-                --interface-prefix org.tizen.system.peripheral_io. \\
+                --interface-prefix org.tizen.peripheral_io. \\
                 ${CMAKE_SOURCE_DIR}/src/daemon/peripheral_io.xml \\
                 ")
 
index 07a0067..40672ad 100644 (file)
@@ -1,46 +1,46 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <node>
-       <interface name="org.tizen.system.peripheral_io.gpio">
+       <interface name="org.tizen.peripheral_io.gpio">
                <method name="Open">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
                <method name="Close">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
                <method name="GetDirection">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="direction" direction="out"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
                <method name="SetDirection">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="direction" direction="in"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
                <method name="Read">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="value" direction="out"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
                <method name="Write">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="value" direction="in"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
                <method name="GetEdgeMode">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="edge" direction="out"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
                <method name="SetEdgeMode">
-                       <arg type="i" name="pin" dyyirection="in"/>
+                       <arg type="i" name="pin" direction="in"/>
                        <arg type="i" name="edge" direction="in"/>
                        <arg type="i" name="result" direction="out"/>
                </method>
        </interface>
-       <interface name="org.tizen.system.peripheral_io.i2c">
+       <interface name="org.tizen.peripheral_io.i2c">
                <method name="Init">
                        <arg type="i" name="bus" direction="in"/>
                        <arg type="i" name="fd" direction="out"/>
@@ -72,7 +72,7 @@
                        <arg type="i" name="result" direction="out"/>
                </method>
        </interface>
-       <interface name="org.tizen.system.peripheral_io.pwm">
+       <interface name="org.tizen.peripheral_io.pwm">
                <method name="Open">
                        <arg type="i" name="device" direction="in"/>
                        <arg type="i" name="channel" direction="in"/>