mongoose/examples/uart-bridge
2023-01-10 08:19:49 +00: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 Add examples/esp32/uart-bridge 2022-06-19 18:27:37 +01:00
net.c Rename struct mg_connection::label -> data. Make its size configurable 2023-01-10 08:19:49 +00:00
packed_fs.c Better CFLAGS for SSL when building examples 2022-08-11 12:12:00 +01:00
README.md Add uart-bridge example 2022-06-08 08:58:32 +01: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:

  • A device opens listening TCP port and Websocket port and waits for connections
  • When a client connects, data is exchanged with the device's UART
  • Everything that client send, 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

Screenshots