I'm working in a project UDP NTP with wiz810mj module. I have written a code which i found in arduino in similar way. but after executing a program i'm unable to receive the packet (unable to understand the data which is receiving).
I'm new to the ethernet concepts. I have made all Source IP,Destination IP and Mac addresses to the module and the ping test also working fine.
Could any one help me how to get the NTP Clock data packet.
My problem of receiving data has been solved. But now i have another problem.
I want to know how to convert the receiving time to gmt time to display in serial terminal. As i understood that receiving packet data is converting to long integer but uart can transmit only 8bits. i have calculated the received time stamp. but as of watching in serial terminal i'm unable to display exact hour:minute:seconds.
Could you please suggest me how to convert the time stamp to display in serial terminal.