Simple code for comunication via TCP between the mbed and PC.
Dependencies: EthernetInterface SimpleSocket mbed-rtos mbed
Fork of SimpleSocketExamples by
functions.h
- Committer:
- yamaguch
- Date:
- 2013-02-04
- Revision:
- 0:6dc3cfd058c6
File content as of revision 0:6dc3cfd058c6:
#include "mbed.h" struct Function { char *name; void (*func)(); }; void echoserver(); void echoclient(); void ntpclient(); void ntpclient2(); void supertweet(); void findbuddy(); void multicast(); void httpclient(); void webserver(); void webcontroller(); void udpsender(); void udpreceiver(); void supertweet(); Function functions[] = { "Echo Server", echoserver, "Echo Client", echoclient, "NTP Client", ntpclient, "NTP Client2", ntpclient2, "Find Buddy", findbuddy, "Multicast", multicast, "HTTP Client", httpclient, "Web Server", webserver, "Web Controller", webcontroller, "UDP sender", udpsender, "UDP receiver", udpreceiver, "Super Tweet", supertweet, 0, 0 };