Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Initialize the TELNET server.

Files

telnet-s.h/telnet-s.c

Prototype

Arguments

secure Desired value for secure mode.

DEF_ENABLED Server operations will be secured.

DEF_DISABLED Server operations will not be secured.

Returned Values

DEF_OK, TELNET server initialization successful;

DEF_FAIL, TELNET server initialization failed.

Required Configuration

  • 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

    • No labels