Create a http server and a client dns

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

Create a http server and a client dns

863 Views
feraro
Contributor IV

Hello.

I'm working with TWR K60N512, CW10.2 and MQX3.7. I'm implementing in my project an HTTP server and a DNS client. Separately I both work correctly, but can not get the two to work together.


Attach the initialization file used to see if someone can help me, telling me where the problem is.

Thank you.


Original Attachment has been moved to: rtcs_init.txt.zip

0 Kudos
4 Replies

472 Views
feraro
Contributor IV

Hello.

I've managed to run the http server and the DNS client, but what I can not get to work is SEC_GetTime function (). Get stuck a while and returned in 1970. Any help?

Thanks.

0 Kudos

471 Views
DavidS
NXP Employee
NXP Employee

Hi Fernando,

Attached is example code that sets the time/date to a default value or you can set it up to use a NTP server to get current date/time and lastly if NTP server not working date/time defaults to the compiled date/time of the project.

FYI I did this back in March 2014 so it is for MQX4.x.

Regards,

David

0 Kudos

471 Views
thom_nic
Contributor II

Were you able to fix the issue?  Curious about how it was resolved.

0 Kudos

471 Views
feraro
Contributor IV

Sorry, attach a file wrong. I attached the correct one.


0 Kudos