renamed onewire interface
parent
fb4c09337d
commit
3286471e50
|
|
@ -11,7 +11,7 @@
|
|||
{
|
||||
"id": "c36c68d9-6182-4ae1-972d-b8b5e0cf185f",
|
||||
"name": "oneWireInterface",
|
||||
"displayName": "One wire interface",
|
||||
"displayName": "OWFS interface",
|
||||
"interfaces": ["gateway"],
|
||||
"createMethods": ["user"],
|
||||
"paramTypes": [
|
||||
|
|
|
|||
|
|
@ -41,17 +41,12 @@ class W1 : public QObject
|
|||
public:
|
||||
|
||||
explicit W1(QObject *parent = nullptr);
|
||||
~W1();
|
||||
|
||||
QString getPath();
|
||||
QStringList discoverDevices();
|
||||
bool interfaceIsAvailable();
|
||||
|
||||
double getTemperature(const QString &address);
|
||||
|
||||
QList<QDir> m_w1BusMasters;
|
||||
|
||||
private:
|
||||
QByteArray m_path;
|
||||
QList<QDir> m_w1BusMasters;
|
||||
};
|
||||
#endif // W1_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue