Directories and Files
The code and documentation of the µC/TELNETs module are organized in a directory structure according to “AN 2002, µC/OS-II Directory Structure.” Specifically, the files may be found in the following directories:
\Micrium\Software\uC-TELNETs
This is the main directory for µC/TELNETs
\Micrium\Software\uC-TELNETs\Doc
This directory contains all µC/TELNETs documentation files, including this user’s manual.
\Micrium\Software\uC-TELNETs\Cfg\Template
This directory contains a template of µC/TELNETs configuration.
\Micrium\Software\uC-TELNETs\Source
This directory contains the µC/TELNETs source code. This protocol is implemented in two OS independent files:
telnet-s.c
telnet-s.h
Note that the ‘-s’ after ‘telnet’ stands for server and thus contains ‘server’ side code.
\Micrium\Software\uC-TELNETs\OS\uCOS-II
\uCOS-III
This is where operating system (OS) dependent code is located. µC/TELNETs is distributed with ports for µC/OS-II and µC/OS-III. Note that it would be possible to use µC/TELNETs with other operating systems by developing appropriate telnet-s_os.* implementation files.
Required modules
µC/TELNETs requires the µC/CPU, µC/LIB, and µC/TCP-IP modules. If the network security manager is to be used, a security layer module (i.e µC/SSL) is required. Please refer to the µC/TELNETs release notes document for required version information.
Applications could also use µC/TELNETs to execute external commands via callback functions. You can purchase the µC/Shell module from Micriµm which provides this functionality or you can implement your own mechanism.