Exercises for communications. Versions for NXP FRDM K64F with not external hardware, ST NUCLEO L476RG with IDW04A1 WLAN module, ST NUCLEO L432KC with MOD WIFI ESP8266. UDP message is used for getting a timestamp from a NTP server. Ethernet: https://os.mbed.com/docs/mbed-os/v6.2/apis/ethernet.html WLAN WiFI: https://os.mbed.com/docs/mbed-os/v6.2/apis/wi-fi.html A UDP Socket: UDPSocket.open(), UDPSocket.sendto(), UDPSocket.recvfrom() Based on the OS6.2 API reference UDP Socket example https://os.mbed.com/teams/mbed_example/code/mbed-os-example-udp-sockets//file/cf516d904427/main.cpp/
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
5:581eb55f2eab | 2021-12-12 | timo_k2 | Made clear that there are optional pins for the Tx transmit and Rx receive in the L432KC. |
4:cbc77f552961 | 2021-09-20 | timo_k2 | Option to connect D1, D0 or D5, D4 for RX, TX and wait time 500 ms for ESP to wake up on powering the devices. |
3:d55adc66a997 | 2020-09-24 | timo_k2 | The IP from ESP8266Interface printing correctly now. |
2:01dff61735bd | 2020-09-24 | timo_k2 | The IP address from ESP8266Interface now printing correctly. |
1:f3dce9e69090 | 2020-09-21 | timo_k2 | The NTP server timestamp in seconds printed in 32 bit hexadecimal, too |
0:5da8b1a8a287 | 2020-09-16 | timo_k2 | First version. Some work needs to be done on UDP over WLAN. |