iw4x-client/deps/mongoose/examples/uart-bridge
2024-03-07 05:13:50 -05:00
..
screenshots Add dependencies locally 2024-03-07 05:13:50 -05:00
web_root Add dependencies locally 2024-03-07 05:13:50 -05:00
main.c Add dependencies locally 2024-03-07 05:13:50 -05:00
Makefile Add dependencies locally 2024-03-07 05:13:50 -05:00
mongoose.c Add dependencies locally 2024-03-07 05:13:50 -05:00
mongoose.h Add dependencies locally 2024-03-07 05:13:50 -05:00
net.c Add dependencies locally 2024-03-07 05:13:50 -05:00
packed_fs.c Add dependencies locally 2024-03-07 05:13:50 -05:00
README.md Add dependencies locally 2024-03-07 05:13:50 -05: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/