Module Configuration

Port Configuration 

Table - Port Configuration
ConstantDescriptionPossible Values
TELNETs_CFG_PORT_SERVERDefines the TCP port µC/TELNETs will listen for connection requests on in non secure mode.The default value is 23 for standard connections.Any value within the TCP/UDP port range.

TELNETs_CFG_PORT_SERVER_SECURE

Defines the TCP port µC/TELNETs will listen for connection requests on in secure mode.The default value is 992 for secure connections.Any value within the TCP/UDP port range.

Connection Configuration 

Table - Connection Configuration
ConstantDescriptionPossible Values
TELNETs_CFG_INACTIVITY_TIMEOUT_SThe inactivity timeout defines the maximum time the server will wait for a client to transmit data. Once this timeout has expired, the server closes the connection and terminates the session task.Any integer value
TELNETs_CFG_MAX_TX_TRIESMaximum number of tries the server attempt when sending data following a transmission error.Any integer value

Authentication Configuration 

Table - Authentication Configuration
ConstantDescriptionPossible Values
TELNETs_CFG_MAX_USR_NAME_LENThese values determine the maximum lengths for the username used by the authentication mechanism.Any integer value

TELNETs_CFG_MAX_PW_LEN 

These values determine the maximum lengths for the password used by the authentication mechanism.Any integer value
TELNETs_CFG_MAX_LOGIN_TRIESMaximum number of tries the server gives to the connecting client in the authentication process.Any integer value
TELNETs_CFG_WELCOME_MSG_STRWelcome message sent to the NVT upon successful client authentication.String

Buffer Configuration 

Table - Buffer Configuration
ConstantDescriptionPossible Values
TELNETs_CFG_RX_BUF_LENSize of both the reception buffer.Any Integer value
TELNETs_CFG_NVT_BUF_LENSize of both the NVT buffer.Any Integer value


These buffers are used to hold the received raw data (user data and option requests/replies), as well as the received commands waiting to be processed. The size of the NVT buffer should be as large as the longest line of data transmitted by the client, whereas the reception buffer one should be slightly larger to accommodate the potential options requests/replies that could come along.

File System Feature Configuration

Table - File System Feature Configuration
ConstantDescriptionPossible Values
TELNETs_CFG_FS_ENWhether or not a file system module is present in the application..DEF_ENABLED or DEF_DISABLED
TELNETs_CFG_FS_MAX_PATH_NAME_LENMaximum path name length when a file system module is present.Any integer value

Echo Feature Configuration

Table - Echo Feature Configuration
ConstantDescriptionPossible Values
TELNETs_CFG_ECHO_ENConfigure if the echo mode is whether or not enabled ..DEF_ENABLED or DEF_DISABLED