SNAP protocol's INFO Client implementation.
More...
#include <VSQSnapINFOClient.h>
SNAP protocol's INFO Client implementation.
Use VSQIoTKitFacade::init to initialize this class
◆ TEnumDevicesArray
◆ EPolling
Polling elements.
Enumerator |
---|
GENERAL_INFO | General information.
|
STATISTICS | Statistics information.
|
◆ changePolling()
bool VSQSnapInfoClient::changePolling |
( |
std::initializer_list< EPolling > |
pollingOptions, |
|
|
const VSQMac & |
deviceMac = broadcastMac , |
|
|
bool |
enable = true , |
|
|
quint16 |
periodSeconds = 1 |
|
) |
| |
Change device's polling state.
- Parameters
-
pollingOptions | Polling options list |
deviceMac | Device's MAC address. broadcastMac is used by default for broadcast polling options |
enable | Enable pollingOptions. True by default |
periodSeconds | Polling period in seconds. 1 second is used by default |
- Returns
◆ devicesList()
Get devices list.
- Returns
- Current devices list
◆ fireDeviceInfo
void VSQSnapInfoClient::fireDeviceInfo |
( |
const VSQDeviceInfo & |
deviceInfo | ) |
|
|
signal |
Signal "New information has been received".
- Parameters
-
deviceInfo | Device information |
◆ fireNewDevice
void VSQSnapInfoClient::fireNewDevice |
( |
const VSQDeviceInfo & |
deviceInfo | ) |
|
|
signal |
Signal "New device has been activated".
- Parameters
-
deviceInfo | Device information |
◆ serviceFeature()
◆ serviceInterface()
const VirgilIoTKit::vs_snap_service_t* VSQSnapInfoClient::serviceInterface |
( |
| ) |
|
|
inlineoverridevirtual |
◆ serviceName()
const QString& VSQSnapInfoClient::serviceName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ startFullPolling()
bool VSQSnapInfoClient::startFullPolling |
( |
const VSQMac & |
deviceMac = broadcastMac , |
|
|
quint16 |
periodSeconds = 1 |
|
) |
| |
|
inline |
Start full polling.
- Parameters
-
deviceMac | Device's MAC address. broadcastMac is used by default for broadcast polling options |
periodSeconds | Polling period in seconds. 1 second is used by default |
- Returns
The documentation for this class was generated from the following file: