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