我刚刚做了一些修改:在文件'Hytpp2.h '和'HTTP2.h ''从(4U)到(5U)中改变了“HTTPYTIMEOUT”。在文件'TCPIpH.Enc28·h '中从“(10U)”改为“(20U)”,而我的“TCPSOCKET初始化器”看起来是这样的:TCPoSokCixItAlpalStudio[] = {{TCPYPurPosieGyrimoTCPPclipse,TCPI EthyRAM,12TCPpPurPoSePyPrimePcPyServer、TCPi EythRAM、20, 20 }、TCPPUPosieTyTelNET、TCPI EthyRAM、200, 150 }、/{TCPPUPosieTa TelNET、TCPI EthyRAM、200, 150 }、//TCPPY PoPureSeTelNET、TCPI EthyRAM、200, 150 }、/{TCPPurPosieFTPX命令、TCPI EthyRAM、100, 40 }、/{TCPPU PoPosieFTPX数据、TCPI Ethype 5, 100 },{RAM,0, 128 },{TCPPyPrimeCythyTx,TCPi Ethyram,200, 1 },/{TpPyPurPosieP.TpPyPrimeCyrx,TCPi Ethyram,40, 1500 },{TCPPurPosieUAtAR22TCP桥,TCPI Ethyram,256, 256 },{TCPPurPosieHtpHyServer,TCPI Ethyram,200, 200 },{TCPPurPosieHtpHyServer,TCPI Ethyram,200, 200 },{TCPyPurPoSeLoad、TCPPyEthyRAM、200, 200个t{pPyPosieBikelyyServer、TCPi EthyRAM、25, 20 }、/{TCPPurPosieBurkayyServer、TCPI EthyRAM、25, 20 }、//{TCPPurPosieBikelyyServer、TCPI EthyRAM、25, 20 }、//{TCPPurPosieBurkelyObclipse、TCPI EthyRAM、125, 100 }、};同时更改了{TCPpPurPosieHtpp}。服务器,TCPyEthyRAM,200, 200 }到{TCPPurPosieHhttpHyserver,TCPI EthyRAM,300, 300 }。HTTP网页现在似乎工作得更好。
以上来自于百度翻译
以下为原文
I just made several changes:
In file '_HTTP2.h' and 'HTTP2.h' changed 'HTTP_TIMEOUT' from (45u) to (5u).
In file 'TCPIP_ENC28.h' changed 'HTTP_DEFAULT_LEN' from (10u) to (20u).
and my 'TCPSocketInitializer' looked like this:
TCPSocketInitializer[] =
{
{TCP_PURPOSE_GENERIC_TCP_CLIENT, TCP_ETH_RAM, 125, 100},
{TCP_PURPOSE_GENERIC_TCP_SERVER, TCP_ETH_RAM, 20, 20},
{TCP_PURPOSE_TELNET, TCP_ETH_RAM, 200, 150},
//{TCP_PURPOSE_TELNET, TCP_ETH_RAM, 200, 150},
//{TCP_PURPOSE_TELNET, TCP_ETH_RAM, 200, 150},
//{TCP_PURPOSE_FTP_COMMAND, TCP_ETH_RAM, 100, 40},
//{TCP_PURPOSE_FTP_DATA, TCP_ETH_RAM, 0, 128},
{TCP_PURPOSE_TCP_PERFORMANCE_TX, TCP_ETH_RAM, 200, 1},
//{TCP_PURPOSE_TCP_PERFORMANCE_RX, TCP_ETH_RAM, 40, 1500},
{TCP_PURPOSE_UART_2_TCP_BRIDGE, TCP_ETH_RAM, 256, 256},
{TCP_PURPOSE_HTTP_SERVER, TCP_ETH_RAM, 200, 200},
{TCP_PURPOSE_HTTP_SERVER, TCP_ETH_RAM, 200, 200},
{TCP_PURPOSE_DEFAULT, TCP_ETH_RAM, 200, 200},
{TCP_PURPOSE_BERKELEY_SERVER, TCP_ETH_RAM, 25, 20},
//{TCP_PURPOSE_BERKELEY_SERVER, TCP_ETH_RAM, 25, 20},
//{TCP_PURPOSE_BERKELEY_SERVER, TCP_ETH_RAM, 25, 20},
//{TCP_PURPOSE_BERKELEY_CLIENT, TCP_ETH_RAM, 125, 100},
};
Changed both {TCP_PURPOSE_HTTP_SERVER, TCP_ETH_RAM, 200, 200} to {TCP_PURPOSE_HTTP_SERVER, TCP_ETH_RAM, 300, 300}.
The HTTP webpage seems work better now.
|
|
2018-9-4 17:26:13
评论
举报
|
|
|