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/

mbed_app.json

Committer:
timo_k2
Date:
2021-12-12
Revision:
5:581eb55f2eab
Parent:
4:cbc77f552961

File content as of revision 5:581eb55f2eab:

{
    "config": {
        "wifi-ssid": {
            "help": "WiFi SSID",
            "value": "\"XXXXX\""
        },
        "wifi-password": {
            "help": "WiFi Password",
            "value": "\"YYYYYYY\""
        },
        "esp-rx-pin": {
            "help": "ESP8266 module Tx pin, Mc Rx PB_7 or PA_10",
            "value": "PB_7"
        },
        "esp-tx-pin": {
            "help": "ESP8266 module Rx pin, Mc Tx PB_6 or PA_9",
            "value": "PB_6"
        }
    },
    "target_overrides": {
        "*": {
            "platform.stdio-convert-newlines": true,
            "esp8266.provide-default" : false
        }
    }
}