BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions
BeeeOn::IQRFJsonRequest Class Reference
Inheritance diagram for BeeeOn::IQRFJsonRequest:
BeeeOn::IQRFJsonMessage BeeeOn::IQRFJsonResponse

Public Types

typedef Poco::SharedPtr
< IQRFJsonRequest
Ptr
 
- Public Types inherited from BeeeOn::IQRFJsonMessage
typedef Poco::SharedPtr
< IQRFJsonMessage
Ptr
 

Public Member Functions

virtual void setRequest (const std::string &request)
 
virtual std::string request () const
 
std::string toString () override
 
- Public Member Functions inherited from BeeeOn::IQRFJsonMessage
void setMessageID (const std::string &id)
 
std::string messageID () const
 
void setTimeout (const Poco::Timespan &timeout)
 
Poco::Timespan timeout () const
 

Additional Inherited Members

- Static Public Member Functions inherited from BeeeOn::IQRFJsonMessage
static IQRFJsonMessage::Ptr parse (const std::string &data)
 

Member Function Documentation

void IQRFJsonRequest::setRequest ( const std::string &  request)
virtual
Parameters
requestcontains hex values separated by dot.

Reimplemented in BeeeOn::IQRFJsonResponse.

string IQRFJsonRequest::toString ( )
overridevirtual
Returns
Converts all data to one JSON string.
Note
[OPTIONAL] It is necessary to keep the correct order of elements inside JSON. otherwise, some DPA messages such as bindings do not work
Based on documentation of APIv2, https://apidocs.iqrf.org/iqrf-gateway-daemon/json/#iqrf/iqrfRaw-request-1-0-0.json

Implements BeeeOn::IQRFJsonMessage.

Reimplemented in BeeeOn::IQRFJsonResponse.


The documentation for this class was generated from the following files: