Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
TempDashSocketConnection.cpp@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 | #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 |