mongoose/examples/uart-bridge
Sergio R. Caprile 9b94b4da26 fix build for Windows
(read from stdin does not work)
2023-02-23 14:04:10 -03:00
..
screenshots Add examples/esp32/uart-bridge 2022-06-19 18:27:37 +01:00
web_root Fix incorrect oninput function call 2022-07-27 17:19:34 -03:00
main.c Use int debug level 2022-08-01 11:19:32 +01:00
Makefile update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
mongoose.c update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
mongoose.h update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
net.c fix build for Windows 2023-02-23 14:04:10 -03:00
packed_fs.c update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
README.md update Makefiles and symlinks 2023-02-23 11:32:53 -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/