BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
DPAOSBatchRequest.h
1 #pragma once
2 
3 #include "iqrf/DPARequest.h"
4 
5 namespace BeeeOn {
6 
11 class DPABatchRequest : public DPARequest {
12 public:
13  typedef Poco::SharedPtr<DPABatchRequest> Ptr;
14 
18  void append(DPARequest::Ptr request);
19 
25  std::string toDPAString() const override;
26 
27  DPABatchRequest(uint8_t node);
28 
29 private:
30  std::vector<DPARequest::Ptr> m_requests;
31 };
32 
33 }
void append(DPARequest::Ptr request)
Insert many DPARequest to one batch request.
Definition: DPAOSBatchRequest.cpp:23
One batch request can contain several simple requests.
Definition: DPAOSBatchRequest.h:11
DPA request contains a header:
Definition: DPARequest.h:16
std::string toDPAString() const override
Converts the header items and appended requests (without NADR) to one string that is divided by dots...
Definition: DPAOSBatchRequest.cpp:28