PPP_initialize return error 1203 after HTTSRV_init called

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

PPP_initialize return error 1203 after HTTSRV_init called

1,100 次查看
sumate
Contributor I

Hi,

Has somebody found problem like me?

My project is using both PPP-Serial (GPRS) and HTTP-Server (Ethernet).

And it has ever worked well until I tested switch HTTPD to HTTPSRV.

I facing a problem that after I called HTTSRV_init,The PPP_initialze will always return error code 1203.

Or if I called PPP_initialze first, The HTTSRV_init will never return a value.

标签 (1)
0 项奖励
回复
2 回复数

964 次查看
Martin_
NXP Employee
NXP Employee

The error code means RTCSERR_PPP_CREATE_PKT_POOL_FAILED.

You need to increase the size of your message pool (_RTCS_msgpool_init, grow, max):

    _RTCSPCB_init = 4;

    _RTCSPCB_grow = 2;

    _RTCSPCB_max = 20;

    _RTCS_msgpool_init = 4;

    _RTCS_msgpool_grow = 2;

    _RTCS_msgpool_max  = 20;

    _RTCS_socket_part_init = 4;

    _RTCS_socket_part_grow = 2;

    _RTCS_socket_part_max  = 20;

0 项奖励
回复

964 次查看
sumate
Contributor I

Hi Martin,

Thank you for suggestion.

Actually I've declared those codes in a project, It works with HTTPD but doesn't work with HTTPSRV.

0 项奖励
回复