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.
Station Class Reference
A simple command/response network interface for mbed. More...
#include <Station.h>
Public Member Functions | |
Station (int port) | |
creates a Station object | |
void | addHandler (string command, void(*handler)(void)) |
adds a command handler | |
template<typename T > | |
void | addHandler (string command, T *tptr, void(T::*handler)(void)) |
adds a command handler | |
void | setBuffer (char *buf, int length) |
sets the buffer for communication between caller and callee | |
void | handleClient () |
Check for any client and handle its request. |
Detailed Description
A simple command/response network interface for mbed.
Definition at line 33 of file Station.h.
Constructor & Destructor Documentation
Station | ( | int | port ) |
Member Function Documentation
void addHandler | ( | string | command, |
void(*)(void) | handler | ||
) |
void addHandler | ( | string | command, |
T * | tptr, | ||
void(T::*)(void) | handler | ||
) |
void handleClient | ( | ) |
Generated on Wed Jul 20 2022 21:57:17 by
