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:
|
|
|
|
|
2023-02-23 11:32:53 -03:00
|
|
|
- The device opens listening TCP and Websocket ports and waits for connections
|
2022-06-08 08:58:32 +01:00
|
|
|
- When a client connects, data is exchanged with the device's UART
|
2023-02-23 11:32:53 -03:00
|
|
|
- Everything the client sends, is sent to the UART
|
2022-06-08 08:58:32 +01:00
|
|
|
- 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/dashboard.png)
|
2023-02-23 11:32:53 -03:00
|
|
|
|
|
|
|
See a detailed tutorial at https://mongoose.ws/tutorials/uart-bridge/
|