Files
ArduinoProps/src/BridgeProp.h
T
2020-04-15 10:55:37 +02:00

29 lines
666 B
C++

/*
Name: BridgeProp.h
Created: 29/10/2019 09:20:31
Author: Marie Faure <dev at faure dot systems>
Editor: https://github.com/fauresystems
License: MIT License (c) Marie Faure <dev at faure dot systems>
Class Props for Arduino Yun and Dragino Yun shield.
*/
#ifndef BRIDGEPROP_H
#define BRIDGEPROP_H
#include <BridgeClient.h>
#include <IPAddress.h>
#include "Prop.h"
class BridgeProp : public Props
{
public:
BridgeProp(const char*, const char*, const char*, const char*, const int);
void begin(void(*)(String) = NULL);
void setBrokerIpAddress(IPAddress, uint16_t port = 1883);
private:
BridgeClient _bridgeClient;
};
#endif