Giter VIP home page Giter VIP logo

eth-com's Introduction

ETH-com

This project provides a Serial Over LAN implementation on the STM32H745ZI NUCLEO Board. The software uses LwIP to establish a TCP server. Upon connection from a remote host (using standard telnet Port 23), the TCP data received will be retransmitted using the USART3 (connected to the USB port on the NUCLEO board). Also, all the characters received on the serial port will be transmitted, using the LwIP TCP functions, to the connected Host.

The SoL driver provided here also support multiple instances of TCP connections, each connection can be assigned to a serial port on the MCU. To create an new instance, user must use the function telnet_create(), providing the UART handle (STM32 HAL struct) and the TCP port wich will be used. The function will create the TCP server, connecting to any Host on the defined Port, and link the serial port to the transmission and retransmission of the data. The maximum amount of simultaneous instances is defined in the telnet_server.h file. In the example, 2 instances were created, using Port 23 and Port 24, both redirecting data to the USART3 on the NUCLEO board.

The telnet driver used to implement the SoL functionality was added as a submodule of this project. If desired the updated source codes can be obtained from the dedicated repository for the telnet driver.

eth-com's People

Contributors

brunocasu avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

cascadan

eth-com's Issues

build issue

you're missing the sources for
// telnet_create (23, &huart3);
// telnet_create (24, &huart3);
//udp_echo_create(7777);

could you check those in?

also...

udp_init(void)
LWIP_RAND
crashes on call to rand().

guessing there's a misconfig on the math library?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.