aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/net/control/technology/property/tethering.txt
blob: 7501349956a8237e9798576de840fd8a8538a91d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
~~Title: Efl.Net.Control.Technology.tethering~~
===== Signature =====

<code>
@property tethering {
    get {
        values {
            enabled: bool;
            identifier: free(string, free) @optional;
            passphrase: free(string, free) @optional;
        }
    }
    set {
        values {
            enabled: bool;
            identifier: free(string, free) @optional;
            passphrase: free(string, free) @optional;
        }
    }
}
</code>

===== C signature =====

<code c>
void efl_net_control_technology_tethering_get(const Eo *obj, Eina_Bool *enabled, const char **identifier, const char **passphrase);
void efl_net_control_technology_tethering_set(Eo *obj, Eina_Bool enabled, const char *identifier, const char *passphrase);
</code>

===== Values =====

  * **enabled** - %%Whenever to enable or disable tethering for this technology%%
  * **identifier** - %%The name to identify this tethering, in WiFi it will translate to SSID.%%
  * **passphrase** - %%The passphrase for this tethering access, in WiFi it will translate to WPA passphrase.%%
===== Description =====

%%Tethering allows the default access point to be bridged to all clients connected through the technology.%%

%%A common case is to use the device as a router, such as a phone doing tethering allows a laptop to connect to 4G network.%%

//Since 1.19//
{{page>:develop:api-include:efl:net:control:technology:property:tethering:description&nouser&nolink&nodate}}


===== Implemented by =====

  * **Efl.Net.Control.Technology.tethering**