TinyMaterialDesign
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
WifiControl.h File Reference
#include <stdint.h>
#include <algorithm>
#include <string>
#include <vector>
Include dependency graph for WifiControl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  WifiNetwork
 A WiFi network found by a scan. More...
 
class  WifiControl
 The WiFi of a device as WifiLoginPage uses it: scan, connect and the stored credentials. All calls must return quickly - the scan and the connection run in the background and are polled. More...
 
class  SimulatedWifi
 WiFi without hardware, for the desktop and tests: a fixed list of networks; connecting succeeds after connectMs if the network is open or the password is password ("demo"). More...
 

Namespaces

namespace  tinymd
 

Functions

int wifiBars (int rssi)
 Signal strength as 0-4 bars (see drawSignalBars()).
 
void normalizeNetworks (std::vector< WifiNetwork > &list)