Timo Karppinen / Mbed OS McLab18_A_UDP_time_L476RG_OS6_tk1
Committer:
timo_k2
Date:
Mon Sep 21 08:26:01 2020 +0000
Revision:
1:192f9ba6a3a0
Parent:
0:c2d94fad50a4
The NTP server timestamp in seconds printed in 32 bit hexadecimal, too. Please remember to change wait_ms( ) into ThisThread::sleep_for( ms) in idw04a1 libraries!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
timo_k2 0:c2d94fad50a4 1
timo_k2 0:c2d94fad50a4 2 Exercises for communications. Versions for
timo_k2 0:c2d94fad50a4 3 NXP FRDM K64F with not external hardware,
timo_k2 0:c2d94fad50a4 4 ST NUCLEO L476RG with IDW04A1 WLAN module,
timo_k2 0:c2d94fad50a4 5 ST NUCLEO L432KC with MOD WIFI ESP8266.
timo_k2 0:c2d94fad50a4 6 UDP message is used for getting a timestamp
timo_k2 0:c2d94fad50a4 7 from a NTP server.
timo_k2 0:c2d94fad50a4 8 Ethernet: https://os.mbed.com/docs/mbed-os/v6.2/apis/ethernet.html
timo_k2 0:c2d94fad50a4 9 WLAN WiFI: https://os.mbed.com/docs/mbed-os/v6.2/apis/wi-fi.html
timo_k2 0:c2d94fad50a4 10 A UDP Socket: UDPSocket.open(), UDPSocket.sendto(), UDPSocket.recvfrom()
timo_k2 0:c2d94fad50a4 11 Based on the OS6.2 API reference UDP Socket example.
timo_k2 0:c2d94fad50a4 12 https://os.mbed.com/teams/mbed_example/code/mbed-os-example-udp-sockets//file/cf516d904427/main.cpp/