Base Code merged to SPIN 2.4
[platform/core/api/tethering.git] / include / tethering.xml
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!DOCTYPE node PUBLIC
4         "-//freedesktop//DTD D-Bus Object Introspection 1.0//EN"
5         "http://standards.freedesktop.org/dbus/1.0/introspect.dtd">
6
7 <node>
8         <interface name="org.tizen.tethering">
9
10                 <!-- Method definitions -->
11
12                 <method name="disable">
13                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
14                         <arg type="u" name="type" direction="out"/>
15                         <arg type="u" name="result" direction="out"/>
16                 </method>
17
18                 <method name="enable_wifi_tethering">
19                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
20                         <arg type="s" name="ssid" direction="in"/>
21                         <arg type="s" name="key" direction="in"/>
22                         <arg type="i" name="visibility" direction="in"/>
23                         <arg type="i" name="security" direction="in"/>
24                         <arg type="u" name="type" direction="out"/>
25                         <arg type="u" name="result" direction="out"/>
26                 </method>
27
28                 <method name="disable_wifi_tethering">
29                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
30                         <arg type="u" name="type" direction="out"/>
31                         <arg type="u" name="result" direction="out"/>
32                 </method>
33
34                 <method name="enable_bt_tethering">
35                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
36                         <arg type="u" name="type" direction="out"/>
37                         <arg type="u" name="result" direction="out"/>
38                 </method>
39
40                 <method name="disable_bt_tethering">
41                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
42                         <arg type="u" name="type" direction="out"/>
43                         <arg type="u" name="result" direction="out"/>
44                 </method>
45
46                 <method name="enable_usb_tethering">
47                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
48                         <arg type="u" name="type" direction="out"/>
49                         <arg type="u" name="result" direction="out"/>
50                 </method>
51
52                 <method name="disable_usb_tethering">
53                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
54                         <arg type="u" name="type" direction="out"/>
55                         <arg type="u" name="result" direction="out"/>
56                 </method>
57
58                 <method name="enable_wifi_ap">
59                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
60                         <arg type="s" name="ssid" direction="in"/>
61                         <arg type="s" name="key" direction="in"/>
62                         <arg type="i" name="visibility" direction="in"/>
63                         <arg type="i" name="security" direction="in"/>
64                         <arg type="u" name="type" direction="out"/>
65                         <arg type="u" name="result" direction="out"/>
66                 </method>
67
68                 <method name="disable_wifi_ap">
69                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
70                         <arg type="u" name="type" direction="out"/>
71                         <arg type="u" name="result" direction="out"/>
72                 </method>
73
74                 <method name="reload_wifi_settings">
75                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
76                         <arg type="s" name="ssid" direction="in"/>
77                         <arg type="s" name="key" direction="in"/>
78                         <arg type="i" name="visibility" direction="in"/>
79                         <arg type="i" name="security" direction="in"/>
80                         <arg type="u" name="result" direction="out"/>
81                 </method>
82
83                 <method name="reload_wifi_ap_settings">
84                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
85                         <arg type="s" name="ssid" direction="in"/>
86                         <arg type="s" name="key" direction="in"/>
87                         <arg type="i" name="visibility" direction="in"/>
88                         <arg type="i" name="security" direction="in"/>
89                         <arg type="u" name="result" direction="out"/>
90                 </method>
91
92                 <method name="get_station_info">
93                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
94                         <arg type="u" name="type" direction="out"/>
95                         <arg type="a(usssu)" name="station" direction="out"/>
96                 </method>
97
98                 <method name="get_data_packet_usage">
99                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
100                         <arg type="u" name="type" direction="out"/>
101                         <arg type="t" name="rx_data" direction="out"/>
102                         <arg type="t" name="tx_data" direction="out"/>
103                 </method>
104
105                 <!-- Signal (D-Bus) definitions -->
106                 <signal name="net_closed">
107                         <arg type="s" name="arg1" direction="out"/>
108                 </signal>
109
110                 <signal name="sta_connected">
111                         <arg type="s" name="arg1" direction="out"/>
112                 </signal>
113
114                 <signal name="sta_disconnected">
115                         <arg type="s" name="arg1" direction="out"/>
116                 </signal>
117
118                 <signal name="wifi_on">
119                         <arg type="s" name="arg1" direction="out"/>
120                 </signal>
121
122                 <signal name="wifi_off">
123                         <arg type="s" name="arg1" direction="out"/>
124                 </signal>
125
126                 <signal name="usb_on">
127                         <arg type="s" name="arg1" direction="out"/>
128                 </signal>
129
130                 <signal name="usb_off">
131                         <arg type="s" name="arg1" direction="out"/>
132                 </signal>
133
134                 <signal name="bluetooth_on">
135                         <arg type="s" name="arg1" direction="out"/>
136                 </signal>
137
138                 <signal name="bluetooth_off">
139                         <arg type="s" name="arg1" direction="out"/>
140                 </signal>
141
142                 <signal name="wifi_ap_on">
143                         <arg type="s" name="arg1" direction="out"/>
144                 </signal>
145
146                 <signal name="wifi_ap_off">
147                         <arg type="s" name="arg1" direction="out"/>
148                 </signal>
149
150                 <signal name="no_data_timeout">
151                         <arg type="s" name="arg1" direction="out"/>
152                 </signal>
153
154                 <signal name="low_batt_mode">
155                         <arg type="s" name="arg1" direction="out"/>
156                 </signal>
157
158                 <signal name="flight_mode">
159                         <arg type="s" name="arg1" direction="out"/>
160                 </signal>
161
162         </interface>
163 </node>