Morgan Du
/
Serial-to-Ethernet
Transfer data between UART ports and Ethernet.
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.
Diff: README.md
- Revision:
- 5:7e7ad7c079fe
- Parent:
- 2:35f2cc8b05fa
- Child:
- 6:dc9f344f4bf0
--- a/README.md Mon Oct 16 02:07:58 2017 +0000 +++ b/README.md Fri Apr 20 10:51:28 2018 +0000 @@ -19,4 +19,26 @@ ## Configuration +* Following configurations are set in ste_config.h +ENABLE_WEB_CONFIG + Define ENABLE_WEB_CONFIG to active a simple web server for UART ports and Ethernet port configuration. + +MAX_UART_PORTS + Maximum UART ports supported. It should be 1, 2, or 3. Please also define mapping table "port_config[]" in main.c + +DEFAULT_UART_BAUD + Default UART baud + +NET_PORT_BASE + Network base port number to listen. The base port maps to the 1st UART port, the (base port + 1) maps to the 2nd UART port, etc. + +SER_CONFIG_FILE // for serial ports +NET_CONFIG_FILE // for network + Files in SD card to store settings via web configuration + +MAX_SERVER_ADDRESS_SIZE + Maximum size of server address for web configuration + +MAX_IPV4_ADDRESS_SIZE +Maximum size of IP address for web configuration