Initialize Tizen 2.3
[framework/connectivity/mobileap-agent.git] / include / tethering-dbus-interface.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="init">
13                 </method>
14
15                 <method name="deinit">
16                 </method>
17
18                 <method name="disable">
19                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
20                         <arg type="u" name="type" direction="out"/>
21                         <arg type="u" name="result" direction="out"/>
22                 </method>
23
24                 <method name="enable_wifi_tethering">
25                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
26                         <arg type="s" name="ssid" direction="in"/>
27                         <arg type="s" name="key" direction="in"/>
28                         <arg type="i" name="visibility" direction="in"/>
29                         <arg type="u" name="type" direction="out"/>
30                         <arg type="u" name="result" direction="out"/>
31                 </method>
32
33                 <method name="disable_wifi_tethering">
34                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
35                         <arg type="u" name="type" direction="out"/>
36                         <arg type="u" name="result" direction="out"/>
37                 </method>
38
39                 <method name="enable_bt_tethering">
40                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
41                         <arg type="u" name="type" direction="out"/>
42                         <arg type="u" name="result" direction="out"/>
43                 </method>
44
45                 <method name="disable_bt_tethering">
46                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
47                         <arg type="u" name="type" direction="out"/>
48                         <arg type="u" name="result" direction="out"/>
49                 </method>
50
51                 <method name="enable_usb_tethering">
52                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
53                         <arg type="u" name="type" direction="out"/>
54                         <arg type="u" name="result" direction="out"/>
55                 </method>
56
57                 <method name="disable_usb_tethering">
58                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
59                         <arg type="u" name="type" direction="out"/>
60                         <arg type="u" name="result" direction="out"/>
61                 </method>
62
63                 <method name="get_station_info">
64                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
65                         <arg type="u" name="type" direction="out"/>
66                         <arg type="a(usssu)" name="station" direction="out"/>
67                 </method>
68
69                 <method name="get_usb_station_info">
70                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
71                         <arg type="a(sss)" name="usb_station" direction="out"/>
72                 </method>
73
74                 <method name="get_data_packet_usage">
75                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
76                         <arg type="u" name="type" direction="out"/>
77                         <arg type="t" name="rx_data" direction="out"/>
78                         <arg type="t" name="tx_data" direction="out"/>
79                 </method>
80
81                 <method name="get_usb_interface_info">
82                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
83                         <arg type="a(ssss)" name="interface" direction="out"/>
84                 </method>
85
86                 <method name="set_ip_forward_status">
87                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
88                         <arg type="i" name="forward_status" direction="in"/>
89                         <arg type="i" name="result" direction="out"/>
90                 </method>
91
92                 <method name="get_ip_forward_status">
93                         <arg type="i" name="forward_status" direction="out"/>
94                 </method>
95
96                 <method name="get_wifi_tethering_hide_mode">
97                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
98                         <arg type="i" name="hide_mode" direction="out"/>
99                 </method>
100
101                 <method name="set_wifi_tethering_hide_mode">
102                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
103                         <arg type="i" name="hide_mode" direction="in"/>
104                 </method>
105
106                 <method name="get_wifi_tethering_ssid">
107                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
108                         <arg type="s" name="ssid" direction="out"/>
109                 </method>
110
111                 <method name="get_wifi_tethering_security_type">
112                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
113                         <arg type="s" name="security_type" direction="out"/>
114                 </method>
115
116                 <method name="set_wifi_tethering_security_type">
117                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
118                         <arg type="s" name="security_type" direction="in"/>
119                 </method>
120
121                 <method name="get_wifi_tethering_passphrase">
122                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
123                         <arg type="s" name="passphrase" direction="out"/>
124                         <arg type="u" name="len" direction="out"/>
125                 </method>
126
127                 <method name="set_wifi_tethering_passphrase">
128                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
129                         <arg type="s" name="passphrase" direction="in"/>
130                         <arg type="u" name="len" direction="in"/>
131                 </method>
132
133                 <!-- Signal (D-Bus) definitions -->
134                 <signal name="net_closed">
135                         <arg type="s" name="arg1" direction="out"/>
136                 </signal>
137
138                 <signal name="sta_connected">
139                         <arg type="s" name="arg1" direction="out"/>
140                 </signal>
141
142                 <signal name="sta_disconnected">
143                         <arg type="s" name="arg1" direction="out"/>
144                 </signal>
145
146                 <signal name="wifi_on">
147                         <arg type="s" name="arg1" direction="out"/>
148                 </signal>
149
150                 <signal name="wifi_off">
151                         <arg type="s" name="arg1" direction="out"/>
152                 </signal>
153
154                 <signal name="usb_on">
155                         <arg type="s" name="arg1" direction="out"/>
156                 </signal>
157
158                 <signal name="usb_off">
159                         <arg type="s" name="arg1" direction="out"/>
160                 </signal>
161
162                 <signal name="bluetooth_on">
163                         <arg type="s" name="arg1" direction="out"/>
164                 </signal>
165
166                 <signal name="bluetooth_off">
167                         <arg type="s" name="arg1" direction="out"/>
168                 </signal>
169
170                 <signal name="no_data_timeout">
171                         <arg type="s" name="arg1" direction="out"/>
172                 </signal>
173
174                 <signal name="low_batt_mode">
175                         <arg type="s" name="arg1" direction="out"/>
176                 </signal>
177
178                 <signal name="flight_mode">
179                         <arg type="s" name="arg1" direction="out"/>
180                 </signal>
181
182                 <signal name="dhcp_status">
183                         <arg type="s" name="member" direction="out"/>
184                         <arg type="s" name="ip" direction="out"/>
185                         <arg type="s" name="mac" direction="out"/>
186                         <arg type="s" name="name" direction="out"/>
187                         <arg type="u" name="time" direction="out"/>
188                 </signal>
189
190                 <signal name="security_type_changed">
191                         <arg type="s" name="arg1" direction="out"/>
192                 </signal>
193
194                 <signal name="ssid_visibility_changed">
195                         <arg type="s" name="arg1" direction="out"/>
196                 </signal>
197
198                 <signal name="passphrase_changed">
199                         <arg type="s" name="arg1" direction="out"/>
200                 </signal>
201
202         </interface>
203 </node>
204