picofuse-objc

NXWirelessNetwork.h
Go to the documentation of this file.
1 
5 #pragma once
7 
13 typedef enum {
15  NXWirelessSecurityWEP = (1 << 1),
16  NXWirelessSecurityWPA = (1 << 2),
23 
33 @private
34  NXString *_ssid;
35  uint8_t _bssid[6];
36  NXWirelessSecurity _security;
37  uint8_t _channel;
38  int16_t _rssi;
39 }
40 
45 + (NXWirelessNetwork *)networkWithName:(NXString *)name;
46 
50 - (NXString *)name;
51 
56 - (NXString *)bssid;
57 
62 
66 - (uint8_t)channel;
67 
72 - (int16_t)rssi;
73 
74 @end
WEP, which is broken.
uint8_t channel()
Returns its channel, or 0 for a network which was only named.
802.1X, with an account
A Wi-Fi network: one a scan found, or one named to join.
Foundation framework header.
NXWirelessSecurity
How a Wi-Fi network is secured, which can be combined, as a network can offer more than one...
int16_t rssi()
Returns its signal strength, in dBm, which is higher the stronger, or 0 for a network which was only ...
NXWirelessSecurity security()
Returns how it&#39;s secured, or 0 for a network which was only named.
NXString * bssid()
Returns its access point&#39;s address, as "aa:bb:cc:dd:ee:ff", or nil for a network which was only named...
A string of UTF-8 text.
Definition: NXString.h:53
The base class for objects in the Foundation framework.
Definition: NXObject.h:28
NXString * name()
Returns its name, its SSID.
Open, with no password.