3 #include <Poco/Net/IPAddress.h>
103 Poco::Net::IPAddress m_ipAddress;
int status() const
Status is a number according to representing SmarWi state. There are several status codes such as: 20...
Definition: VektivaSmarwiStatus.cpp:26
int error() const
In case any error occurs, it can be detected in this property. If correct state, 0 is sent or other n...
Definition: VektivaSmarwiStatus.cpp:31
The class represents the status of the Smarwi device. The status information is obtained by MQTT clie...
Definition: VektivaSmarwiStatus.h:11
int ro() const
Signalizes whether the ridge is inside of the Smarwi or not. Values: 0 - ridge is outside of SmarWi 1...
Definition: VektivaSmarwiStatus.cpp:41
bool pos() const
Shows in which position Smarwi is. Values: true - Smarwi is in open position false - Smarwi is in clo...
Definition: VektivaSmarwiStatus.cpp:46
Poco::Net::IPAddress ipAddress() const
Returns an IP address of the Smarwi.
Definition: VektivaSmarwiStatus.cpp:51
int ok() const
Shows whether Smarwi is in correct state. Values: 0 - error state 1 - available state.
Definition: VektivaSmarwiStatus.cpp:36
int rssi() const
Shows a current Wi-Fi signal strength.
Definition: VektivaSmarwiStatus.cpp:61
int fix() const
Shows whether window is fixed by Smarwi or not. That means whether window can be moved easily without...
Definition: VektivaSmarwiStatus.cpp:56