BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Main Page
Related Pages
Data Structures
Files
File List
src
iqrf
IQRFUtil.h
1
#pragma once
2
3
#include <string>
4
5
#include <Poco/Logger.h>
6
#include <Poco/SharedPtr.h>
7
#include <Poco/Timespan.h>
8
9
#include "iqrf/DPARequest.h"
10
#include "iqrf/IQRFJsonResponse.h"
11
#include "iqrf/IQRFMqttConnector.h"
12
13
namespace
BeeeOn {
14
15
class
IQRFUtil
{
16
public
:
17
IQRFUtil
() =
delete
;
18
IQRFUtil
(
const
IQRFUtil
&) =
delete
;
19
IQRFUtil
(
const
IQRFUtil
&&) =
delete
;
20
~
IQRFUtil
() =
delete
;
21
25
static
IQRFJsonResponse::Ptr
makeRequest
(
26
IQRFMqttConnector::Ptr connector,
27
DPARequest::Ptr,
28
const
Poco::Timespan &receiveTimeout
29
);
30
31
private
:
32
static
Poco::Logger &logger();
33
};
34
35
}
BeeeOn::IQRFUtil::makeRequest
static IQRFJsonResponse::Ptr makeRequest(IQRFMqttConnector::Ptr connector, DPARequest::Ptr, const Poco::Timespan &receiveTimeout)
Send DPA request and wait for JSON response.
Definition:
IQRFUtil.cpp:7
BeeeOn::IQRFUtil
Definition:
IQRFUtil.h:15
Generated by
1.8.5