Instance Method

initWithSSID:passphrase:isWEP:

Creates a new hotspot configuration, identified by an SSID, for a protected WEP or WPA/WPA2 personal Wi-Fi network.

Declaration

- (instancetype)initWithSSID:(NSString *)SSID passphrase:(NSString *)passphrase isWEP:(BOOL)isWEP;

Parameters

SSID

The SSID of the WEP or WPA/WPA2 personal Wi-Fi Network. See SSID.

passphrase

The network’s passphrase credential: for WPA or WPA2 personal networks, 8-63 characters; for static 64-bit WEP, 10 hexadecimal digits; for static 128-bit WEP, 26 hexadecimal digits.

isWEP

If true, the network is WEP Wi-Fi; otherwise it is a WPA or WPA2 personal Wi-Fi network.

See Also

Initializing a Configuration

- initWithSSID:

Creates a new hotspot configuration, identified by an SSID, for an open Wi-Fi network.

- initWithSSID:eapSettings:

Creates a new hotspot configuration, identified by an SSID, for a WPA/WPA2 enterprise Wi-Fi network with EAP settings.

- initWithHS20Settings:eapSettings:

Creates a new hotspot configuration, identified by a domain name, for a Hotspot 2.0 Wi-Fi network with HS 2.0 and EAP settings.

- initWithSSIDPrefix:

Creates a new hotspot configuration, identified by an SSID prefix string, for an open Wi-Fi network.

- initWithSSIDPrefix:passphrase:isWEP:

Creates a new hotspot configuration, identified by an SSID prefix string, for a protected WEP or WPA/WPA2 personal Wi-Fi network.