Description

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

A common use case is to deploy the device as a router, such as a tethered phone allowing a laptop to connect to a 4G network.

Since 1.19

Values

  • enabled - When to enable or disable tethering for this technology.
  • identifier - The name to identify the tethering. For WiFi this will translate to an SSID.
  • passphrase - The passphrase for tethering access. For WiFi this will translate to WPA passphrase.

Signature

@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;
        }
    }
}

C signature

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);

Implemented by

  • Efl.Net.Control.Technology.tethering