MDK-ARM Keil, MDK-ARM Datasheet - Page 100
![KIT REALVIEW MCU DEVELOPMENT](/photos/9/32/93274/mdk-arm_sml.jpg)
MDK-ARM
Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Specifications of MDK-ARM
For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 100 of 156
- Download datasheet (3Mb)
100
In a simple Telnet server, the amount of data that can be sent to the Telnet client
is limited by the size of the reply buffer buf. However, it is possible to force the
RL-TCPnet library to make multiple calls to the telnet_process_cmd() function.
Then, with each pass through the telnet_process_cmd() function, we can fill the
reply buffer, in order to send multiple packets of data to the client.
U16 tnet_process_cmd (U8 *cmd, U8 *buf, U16 buflen, U16 xcnt)
}
The tnet_process_cmd() function return value contains a repeat flag. The repeat
flag is bit 14. When this bit is set, the RL-TCPnet library will make another call
to the tnet_process_cmd() function. Each time this function is called, the fourth
parameter, xcnt, will be incremented by one. By using the repeat flag and the
pass counter xcnt, the parsing code can send large amounts of data to the Telnet
client.
Exercise: Telnet Server
This exercise extends the basic parser used in the last example to send a long
reply to a client.
Telnet Helper Functions
In addition to the tnet_cbfunc() and tnet_process_cmd() functions, there are
several custom helper functions. We have already seen the tnet_ccmp() function.
This is similar to strcmp(), except that it only compares the string contents up to
the first NULL or space character. Be careful with this function, as all the
characters in the string to be searched are converted to uppercase. The Telnet
server may also determine the MAC and IP address of the client PC. These
values are entered into a structure by calling the tnet_get_info() function.
/*--------------------------------------
*
*--------------------------------------*/
typedef struct remotem
} REMOTEM;
U16 len = 0;
if (repeatcall)
}
return(len);
U8 IpAdr [IP_ADRLEN];
U8 HwAdr [ETH_ADRLEN];
net_config.h
len |=0x4000;
{
{
//client IP address
//Client MAC address
Chapter 4. RL-TCPnet Introduction
{
Related parts for MDK-ARM
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MDK-ARM-B](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-B-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM-B
Manufacturer:
Keil Software
![MDK-ARM-SM](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software SUPPORT EXTENSION FOR MDK-ARM
Manufacturer:
Keil Software
![MDK-ARM-BASIC](/photos/28/43/284363/mdk-arm-basic_tmb.jpg)
Part Number:
Description:
KIT REALVIEW MCU DEVELOPMENT
Manufacturer:
Keil
Datasheet:
![MDK-ARM-UF](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM UPG TO FLOATING LIC
Manufacturer:
Keil Tools
![MDK-ARM-F](/photos/15/87/158780/keil_software_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM W/ FLOATING LICENSE
Manufacturer:
Keil Software
![MDK-ARM3.1](/photos/26/86/268691/landingpagekeilrealviewarmkit_tmb.jpg)
Part Number:
Description:
Development Software MCU DEV KIT FOR ARM uVISION & C++ & RTX
Manufacturer:
Keil Tools
![MDK-ARM-SMB](/images/no-image3.png)
Part Number:
Description:
Development Software SUPP LICENSE RENEWAL 90+ DAYS NO TECH SUP
Manufacturer:
Keil Software
![KEIL-PK51-INTL](/images/manufacturer_photos/0/6/609/silicon_laboratories_inc_tmb.jpg)
Part Number:
Description:
KEIL C-COMPILER INTERNATIONAL
Manufacturer:
Silicon Laboratories Inc
![OM10045](/photos/9/21/92162/om10045_tmb.jpg)
Part Number:
Description:
BOARD EVAL FOR LPC213X ARM MCU
Manufacturer:
NXP Semiconductors
Datasheet:
![TWR-K60N512-KEIL](/images/manufacturer_photos/0/2/262/freescale_semiconductor_tmb.jpg)
Part Number:
Description:
K60N512 Keil Tower Kit
Manufacturer:
Freescale Semiconductor
Datasheet: