mongoose/examples/uart-bridge
2024-04-17 16:13:10 -03:00
..
web_root Fix incorrect oninput function call 2022-07-27 17:19:34 -03:00
main.c remove fn_data from event handler signature 2024-01-09 14:51:19 -03: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 remove http_match_uri() 2024-04-17 16:13:10 -03:00
packed_fs.c update Makefiles and symlinks 2023-02-23 11:32:53 -03:00
README.md no screenshots 2024-04-02 18:11:11 -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/