Embedded TCP/IP stack
4.7.0
|
fnet_telnet_desc_t fnet_telnet_init | ( | fnet_telnet_params_t * | params | ) |
Initializes the Telnet Server service.
params | Initialization parameters defined by fnet_telnet_params_t. |
0
if an error occurs.This function initializes the Telnet server service. It allocates all resources needed, and registers the Telnet server service in the polling list.
After the initialization, the user application should call the main polling function fnet_service_poll() periodically to run the Telnet server in background.
The Telnet service executes parsing of user-entered commands received via the Telnet protocol, and calls user-defined command functions, if the parsing was successful.