Transfer data between UART ports and Ethernet.

Dependencies:   BufferedSerial

Transfer data between UART ports and Ethernet.

  • Support multiple UART ports.
  • Support fixed IP address and DHCP.
  • Support TCP server and TCP client modes.
  • Support a simple web server for UART and Ethernet configuration.

README.md

Committer:
morgandu
Date:
2017-09-27
Revision:
2:35f2cc8b05fa
Child:
5:7e7ad7c079fe

File content as of revision 2:35f2cc8b05fa:

# Serial to Ethernet

This example shows how to transfer data between serial port and ethernet.

## Required hardware
* A supported target - [NuMaker-PFM-M487](https://os.mbed.com/platforms/NUMAKER-PFM-M487/), [Numaker-PFM-NUC472](https://os.mbed.com/platforms/Nuvoton-NUC472/).
* MicroSD card is optional to store configuration.

## Compile Settings

* Default socket number is 4, please add following settings to mbed_app.json to increase it.

    "target_overrides": {
        "*": {
          "lwip.socket-max": 8,
          "lwip.tcp-socket-max": 8, 
          "lwip.udp-socket-max": 8          
        }

## Configuration