Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 1.05.00

...

telnet-s.h/telnet-s.c

Prototype

Arguments

p_family

Pointer to the IP family value of TELNET server.  

p_secure_cfg

Desired value for server secure mode .DEF_ENABLED :
       Secure Configuration Pointer Server operations will be secured.
DEF_DISABLED        DEF_NULL Server operations will not NOT be secured.

Returned Values

...

DEF_FAIL, TELNET server initialization failed.

Required Configuration

  • Callbacks TELNETs_AuthUser() and TELNETs_CmdHandlerExt() shall be implemented by the user.
  • The network security manager MUST be available and enabled to accept a secure TELNET connection (i.e: in “net_cfg.h”, NET_SECURE_CFG_EN should be DEF_ENABLED AND NET_CFG_TRANSPORT_LAYER_SEL should be configured for TCP). See µC/TCPIP user manual for more information about the network security manager.
  • A network security module MUST be included in the project (i.e: µC/SSL) to use the network security manager functionalities.

Notes / Warnings

  • TELNETs_Init() must be called after product’s OS and network have been initialized.
  • Before accepting a secure TELNET connection, a public key certificate/private key pair MUST be installed.

Example Usage

See Sample application.