PPP_initialize return error 1203 after HTTSRV_init called

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PPP_initialize return error 1203 after HTTSRV_init called

499 Views
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.

Labels (1)
0 Kudos
2 Replies

363 Views
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 Kudos

363 Views
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 Kudos