PPP_initialize return error 1203 after HTTSRV_init called

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

PPP_initialize return error 1203 after HTTSRV_init called

1,099件の閲覧回数
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 返答(返信)

963件の閲覧回数
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 件の賞賛
返信

963件の閲覧回数
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 件の賞賛
返信