The WpaSup class interacts with wpa_supplicant.  
 More...
The WpaSup class interacts with wpa_supplicant. 
  
  | 
        
          | WpaSup::WpaSup | ( | const bool | debugCmd = false, |  
          |  |  | const QMap< QString, QString > | settings = QMap< QString, QString >() |  
          |  | ) |  |  |  | explicit | 
 
WpaSup class constructor. 
- Parameters
- 
  
    | debugCmd | show debug messages |  | settings | default settings. Needed keys are CTRL_DIR (path to ctrl_directory), CTRL_GROUP (group which is owner of CTRL_DIR), FORCE_SUDO (force to use sudo), PID_FILE (wpa_supplicant PID file), SUDO_PATH (path to sudo command), WPACLI_PATH (path to wpa_cli command), WPA_DRIVERS (wpa_supplicant drivers comma separated), WPASUP_PATH (path to wpa_supplicant command) |  
 
 
 
      
        
          | QString WpaSup::existentProfile | ( | const QString | essid | ) |  | 
      
 
method which gets profile name by ESSID 
- Parameters
- 
  
  
- Returns
- profile name 
 
 
  
  | 
        
          | static QMap<QString, QString> WpaSup::getRecommendedConfiguration | ( |  | ) |  |  | static | 
 
method which check system configuration and return recommended values to keys 
- Returns
- recommended parametrs 
 
 
      
        
          | bool WpaSup::isProfileActive | ( | const QString | essid | ) |  | 
      
 
method which checks profile status by ESSID 
- Parameters
- 
  
  
- Returns
- false if profile is inactive 
- 
true if profile is active 
 
 
      
        
          | bool WpaSup::isProfileExists | ( | const QString | essid | ) |  | 
      
 
method which checks profile existence by ESSID 
- Parameters
- 
  
  
- Returns
- false if profile does not exist 
- 
true if profile exists 
 
 
method which scans WiFi networks 
- Returns
- list of essids 
 
 
  
  | 
        
          | bool WpaSup::startWpaSupplicant | ( |  | ) |  |  | slot | 
 
method which calls wpa_supplicant 
- Returns
- false if components are not found or command exit code is not equal to 0 
- 
true if the method was completed without errors 
 
 
  
  | 
        
          | bool WpaSup::stopWpaSupplicant | ( |  | ) |  |  | slot | 
 
method which send TERMINATE signal to wpa_supplicant 
- Returns
- false if components are not found or command exit code is not equal to 0 
- 
true if the method was completed without errors 
 
 
The documentation for this class was generated from the following file: