SPSP
Simple publish-subscribe protocol. Connects low power IoT clients to MQTT.
All Classes Files Functions Variables Typedefs Enumerations
Classes | Typedefs
mqtt_adapter_if.hpp File Reference

Interface for platform-dependent MQTT adapter. More...

#include <functional>
#include "spsp/mqtt_types.hpp"
Include dependency graph for mqtt_adapter_if.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SPSP::FarLayers::MQTT::AdapterError
 Adapter error. More...
 
class  SPSP::FarLayers::MQTT::IAdapter
 Interface for platform-dependent MQTT adapter. More...
 

Typedefs

using SPSP::FarLayers::MQTT::AdapterConnectedCb = std::function< void()>
 
using SPSP::FarLayers::MQTT::AdapterSubDataCb = std::function< void(const std::string &topic, const std::string &payload)>
 

Detailed Description

Interface for platform-dependent MQTT adapter.

Author
Dávid Benko (david.nosp@m.benk.nosp@m.o@dav.nosp@m.idbe.nosp@m.nko.d.nosp@m.ev)

Definition in file mqtt_adapter_if.hpp.