Linux distros that use NetworkManager: prefill WLAN PSK

Only supported when NetworkManager is used on the Linux distro
as wpa_supplicant itself does not support reading PSKs through
DBus, only setting them.

Closes #457
This commit is contained in:
Floris Bos 2022-07-31 13:17:08 +02:00
parent b1606dd1fb
commit ef4abc661f
5 changed files with 107 additions and 3 deletions

View file

@ -0,0 +1,22 @@
#ifndef NETWORKMANAGERAPI_H
#define NETWORKMANAGERAPI_H
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright (C) 2022 Raspberry Pi Ltd
*/
#include <QObject>
class NetworkManagerApi : public QObject
{
Q_OBJECT
public:
explicit NetworkManagerApi(QObject *parent = nullptr);
QString getPSK();
signals:
};
#endif // NETWORKMANAGERAPI_H