MDK-ARM Keil, MDK-ARM Datasheet - Page 98

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
98
Chapter 4. RL-TCPnet Introduction
It is only possible to send the first 127 ASCII text characters as part of an email
message. If you plan to send binary data in an email message, it must be encoded
as a text string. The most common way of doing this is to use base64 encoding.
The following example demonstrates an encoder and decoder utility.
Exercise: Base64 Encoding
This exercise demonstrates a base64 encoder, which can be used to prepare
binary data for inclusion in an email message.
Telnet Server
The RL-TCPnet library allows
you to add a Telnet server to
your application. Within the
Telnet server, you can provide a
custom menu system that links
directly to your application C
code. This code exists in the
telnet support file. Once added,
the telnet server is fully functional, including buffering of the command history.
The Telnet server has a very small code footprint. This makes it ideal for designs
that need remote connectivity having very little Flash memory available. A PC
running a Telnet client can then access the Telnet server. This approach gives
similar functionality to a HTTP server, but with a much smaller code footprint.
Like the other RL-TCPnet applications, we need to enable the Telnet server in
the
module. Once enabled, we can also define the number of parallel
Net_Config.c
connections and if necessary, add password protection. All of the custom code
for the Telnet server is held in the user interface file
. This file consists
Telnet_uif.c
of two functions: tnet_cgfunc() and tnet_process_cmd().
U16 tnet_cbfunc (U8 code, U8 *buf, U16 buflen)
The first function, tnet_cbfunc(), is used to manage the password logon to the
Telnet server. It also prints the logon banner and the prompt string that is printed
at the beginning of each line in the Telnet terminal. You will not need to change
the code in this function, but you can change the strings to customize the
appearance of the Telnet server.
U16 tnet_process_cmd (U8 *cmd, U8 *buf, U16 buflen, U16 xcnt)

Related parts for MDK-ARM