mongoose/tutorials/http/uart-bridge
2025-02-28 13:55:57 -03:00
..
esp32 move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00
web_root move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00
main.c move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00
Makefile move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00
mongoose.c move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00
mongoose.h move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00
net.c move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00
packed_fs.c move examples -> tutorials 2025-02-28 13:55:57 -03:00
README.md move UART bridge -> tutorials 2025-02-26 15:08:06 -03:00

A UART to network bridge

This example is a demonstration of how Mongoose Library could be integrated into an embedded device and provide a UART-to-Network bridge capability:

  • The device opens listening TCP and Websocket ports and waits for connections
  • When a client connects, data is exchanged with the device's UART
  • Everything the client sends, is sent to the UART
  • Everything that is read from the UART, gets sent to the client
  • Multiple clients are allowed
  • Live UART console allows to talk to the UART from the web page
  • Web UI is hardcoded into the binary and does not need a filesystem

See a detailed tutorial at https://mongoose.ws/tutorials/uart-bridge/