MQX 4.0 httpd polled mode not working?

cancel
Showing results for 
Search instead for 
Did you mean: 

MQX 4.0 httpd polled mode not working?

264 Views
kaydohmann
Contributor I

Hello,

I try to get the httpd working in MQX 4.0, as I used to use it in MQX 3.8 - in polled mode.

In dynamic mode everything works, in polled mode, the polling first works, but stops at the first request. I switched from my own application to the Tower examples (on a TWRK60N512) to see if at least the delivered example works. There, also, dynamic mode works, polled mode does not work. What I did was

- change the user_config.h in bsp_twrk60n512:

   * enable HTTPDCFG_POLL_MODE

   * disable HTTPDCFG_DYNAMIC_MODE

- cleaned and recompiled bsp, psp, mfs, rtcs, shell and httpsrv_twrk60n512 (the example)

(I also had to add a missing semicolon in httpdsrc.c for polled mode httpsrv_twrk60n512 to compile.)

Am I missing something? Is polled mode httpd not supported any more in MQX 4.0? Is there any known issue with the hardware twrk60n512 / twr-ser?

Thanks for any help!!

Labels (1)
Tags (2)
0 Kudos
1 Reply

76 Views
Martin_
NXP Employee
NXP Employee

I would recommend to move on to the new httpd server:

https://community.freescale.com/message/320610#320610

the old server has low performance and memory leaks, all addressed by the new server code.

0 Kudos