21 #include "LogConfiguration.h" 43 Network(String ssid, String password,
int WIFI_CS,
int WIFI_IRQ,
int WIFI_RST,
int WIFI_EN);
void printMacAddress(byte mac[])
Pritns Mac-address.
void connectToWiFi()
Connects to a WiFi with the given Credential.
void printNetworkInfo()
Prints all relevant Network-Information of the connected network to serial.
byte pEncryption
value represents the type of encryption
byte pMacRouter[6]
Contains MAC Adress of the Router BSSID.
Network(String ssid, String password, int WIFI_CS, int WIFI_IRQ, int WIFI_RST, int WIFI_EN)
Construct a new Network object.
IPAddress pIPLocal
Contains own IP-Adress.
long pRssi
The current RSSI /Received Signal Strength in dBm.
String decodeWiFistate(int errorcode)
Decodes the Error Values from Wifi status() and returns a description.
void printCurrentNet()
Prints all relevant Information of the current Network.
void init()
Intitialize WLan-Hardware.
void printWiFiData()
Prints all relevant WiFi-Information of the connected network to serial.
String decodeEncryptionType(int errorcode)
Construct a new decode Encryption Type object.
String pPassword
Contains WiFi Password.
String pSsid
Contains the SSID the WiFi shield is currently connected to.
byte pMac[6]
Contains own MAC Adress.
Handels the WLAN-Connection.