This is the libary for the connection with the socket. This libary allows you to send a temperature to the socket.

TempDashSocketConnection.cpp

Committer:
de_geeter_alexander
Date:
2015-12-25
Revision:
0:fc4b4cf5371c

File content as of revision 0:fc4b4cf5371c:

#include "TempDashSocketConnection.h"
#include "EthernetInterface.h"

void TempDashSocketConnection::sendSensorData(std::string data)
{
    send(const_cast<char*>(data.c_str()), data.length());
}