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.
Committer:
morgandu
Date:
Wed Sep 27 07:38:37 2017 +0000
Revision:
2:35f2cc8b05fa
Child:
5:7e7ad7c079fe
* Add more comments.; * Add README.md; * Update Mbed OS to 5.5.7

Who changed what in which revision?

UserRevisionLine numberNew contents of line
morgandu 2:35f2cc8b05fa 1 # Serial to Ethernet
morgandu 2:35f2cc8b05fa 2
morgandu 2:35f2cc8b05fa 3 This example shows how to transfer data between serial port and ethernet.
morgandu 2:35f2cc8b05fa 4
morgandu 2:35f2cc8b05fa 5 ## Required hardware
morgandu 2:35f2cc8b05fa 6 * A supported target - [NuMaker-PFM-M487](https://os.mbed.com/platforms/NUMAKER-PFM-M487/), [Numaker-PFM-NUC472](https://os.mbed.com/platforms/Nuvoton-NUC472/).
morgandu 2:35f2cc8b05fa 7 * MicroSD card is optional to store configuration.
morgandu 2:35f2cc8b05fa 8
morgandu 2:35f2cc8b05fa 9 ## Compile Settings
morgandu 2:35f2cc8b05fa 10
morgandu 2:35f2cc8b05fa 11 * Default socket number is 4, please add following settings to mbed_app.json to increase it.
morgandu 2:35f2cc8b05fa 12
morgandu 2:35f2cc8b05fa 13 "target_overrides": {
morgandu 2:35f2cc8b05fa 14 "*": {
morgandu 2:35f2cc8b05fa 15 "lwip.socket-max": 8,
morgandu 2:35f2cc8b05fa 16 "lwip.tcp-socket-max": 8,
morgandu 2:35f2cc8b05fa 17 "lwip.udp-socket-max": 8
morgandu 2:35f2cc8b05fa 18 }
morgandu 2:35f2cc8b05fa 19
morgandu 2:35f2cc8b05fa 20 ## Configuration
morgandu 2:35f2cc8b05fa 21
morgandu 2:35f2cc8b05fa 22