Add APIs to support Wi-Fi tethering txpower
[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="reload_wifi_settings">
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="result" direction="out"/>
65                 </method>
66
67                 <method name="get_station_info">
68                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
69                         <arg type="u" name="type" direction="out"/>
70                         <arg type="a(usssu)" name="station" direction="out"/>
71                 </method>
72
73                 <method name="get_data_packet_usage">
74                         <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
75                         <arg type="u" name="type" direction="out"/>
76                         <arg type="t" name="rx_data" direction="out"/>
77                         <arg type="t" name="tx_data" direction="out"/>
78                 </method>
79
80                 <!-- Signal (D-Bus) definitions -->
81                 <signal name="net_closed">
82                         <arg type="s" name="arg1" direction="out"/>
83                 </signal>
84
85                 <signal name="sta_connected">
86                         <arg type="s" name="arg1" direction="out"/>
87                 </signal>
88
89                 <signal name="sta_disconnected">
90                         <arg type="s" name="arg1" direction="out"/>
91                 </signal>
92
93                 <signal name="wifi_on">
94                         <arg type="s" name="arg1" direction="out"/>
95                 </signal>
96
97                 <signal name="wifi_off">
98                         <arg type="s" name="arg1" direction="out"/>
99                 </signal>
100
101                 <signal name="usb_on">
102                         <arg type="s" name="arg1" direction="out"/>
103                 </signal>
104
105                 <signal name="usb_off">
106                         <arg type="s" name="arg1" direction="out"/>
107                 </signal>
108
109                 <signal name="bluetooth_on">
110                         <arg type="s" name="arg1" direction="out"/>
111                 </signal>
112
113                 <signal name="bluetooth_off">
114                         <arg type="s" name="arg1" direction="out"/>
115                 </signal>
116
117                 <signal name="no_data_timeout">
118                         <arg type="s" name="arg1" direction="out"/>
119                 </signal>
120
121                 <signal name="low_batt_mode">
122                         <arg type="s" name="arg1" direction="out"/>
123                 </signal>
124
125                 <signal name="flight_mode">
126                         <arg type="s" name="arg1" direction="out"/>
127                 </signal>
128
129         </interface>
130 </node>