This is the libary for the connection with the socket. This libary allows you to send a temperature to the socket.
TempDashSocketConnection.h@0:fc4b4cf5371c, 2015-12-25 (annotated)
- 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?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| de_geeter_alexander | 0:fc4b4cf5371c | 1 | #ifndef TEMPDASHSOCKETCONNECTION_H |
| de_geeter_alexander | 0:fc4b4cf5371c | 2 | #define TEMPDASHSOCKETCONNECTION_H |
| de_geeter_alexander | 0:fc4b4cf5371c | 3 | |
| de_geeter_alexander | 0:fc4b4cf5371c | 4 | #include "EthernetInterface.h" |
| de_geeter_alexander | 0:fc4b4cf5371c | 5 | #include <string> |
| de_geeter_alexander | 0:fc4b4cf5371c | 6 | |
| de_geeter_alexander | 0:fc4b4cf5371c | 7 | class TempDashSocketConnection : public TCPSocketConnection |
| de_geeter_alexander | 0:fc4b4cf5371c | 8 | { |
| de_geeter_alexander | 0:fc4b4cf5371c | 9 | public: |
| de_geeter_alexander | 0:fc4b4cf5371c | 10 | void sendSensorData(std::string); |
| de_geeter_alexander | 0:fc4b4cf5371c | 11 | private: |
| de_geeter_alexander | 0:fc4b4cf5371c | 12 | }; |
| de_geeter_alexander | 0:fc4b4cf5371c | 13 | |
| de_geeter_alexander | 0:fc4b4cf5371c | 14 | #endif |