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

Committer:
de_geeter_alexander
Date:
Fri Dec 25 20:38:57 2015 +0000
Revision:
0:fc4b4cf5371c
With the libary you can connect to the socket

Who changed what in which revision?

UserRevisionLine numberNew contents of line
de_geeter_alexander 0:fc4b4cf5371c 1 #include "TempDashSocketConnection.h"
de_geeter_alexander 0:fc4b4cf5371c 2 #include "EthernetInterface.h"
de_geeter_alexander 0:fc4b4cf5371c 3
de_geeter_alexander 0:fc4b4cf5371c 4 void TempDashSocketConnection::sendSensorData(std::string data)
de_geeter_alexander 0:fc4b4cf5371c 5 {
de_geeter_alexander 0:fc4b4cf5371c 6 send(const_cast<char*>(data.c_str()), data.length());
de_geeter_alexander 0:fc4b4cf5371c 7 }
de_geeter_alexander 0:fc4b4cf5371c 8
de_geeter_alexander 0:fc4b4cf5371c 9