Brak opisu

shenyiqing151 3da52066c4 初始版本 7 miesięcy temu
.vscode 1e39a6238c 简化czyx 7 miesięcy temu
certs 1e39a6238c 简化czyx 7 miesięcy temu
libmodbus 1e39a6238c 简化czyx 7 miesięcy temu
paho.mqtt.c-1.3.9 1e39a6238c 简化czyx 7 miesięcy temu
py 1e39a6238c 简化czyx 7 miesięcy temu
res 1e39a6238c 简化czyx 7 miesięcy temu
web_root 1e39a6238c 简化czyx 7 miesięcy temu
Makefile 1e39a6238c 简化czyx 7 miesięcy temu
README.md 1e39a6238c 简化czyx 7 miesięcy temu
appl.c 3da52066c4 初始版本 7 miesięcy temu
appl.h 3da52066c4 初始版本 7 miesięcy temu
can_frame.h 1e39a6238c 简化czyx 7 miesięcy temu
cfg.bin 1e39a6238c 简化czyx 7 miesięcy temu
main.c 1e39a6238c 简化czyx 7 miesięcy temu
mbedtls_config.h 1e39a6238c 简化czyx 7 miesięcy temu
meter 3da52066c4 初始版本 7 miesięcy temu
mongoose.c 1e39a6238c 简化czyx 7 miesięcy temu
mongoose.h 1e39a6238c 简化czyx 7 miesięcy temu
net.c 3da52066c4 初始版本 7 miesięcy temu
net.h 1e39a6238c 简化czyx 7 miesięcy temu
packed_fs.c 1e39a6238c 简化czyx 7 miesięcy temu
start_meter.sh 1e39a6238c 简化czyx 7 miesięcy temu
start_socat.sh 1e39a6238c 简化czyx 7 miesięcy temu
tailwind.config.js 1e39a6238c 简化czyx 7 miesięcy temu

README.md

A complete device dashboard

This example is a demonstration of how Mongoose Library could be integrated into an embedded device and provide a complete device dashboard with the following features:

  • Authentication: login-protected dashboard
  • Multiple logins (with possibly different permissions)
  • The Web UI can be fully embedded into the firmware binary, then not needing a filesystem to serve it; so being resilient to FS problems
  • All changes are propagated to all connected clients

Screenshots

This is a login screen that prompts for user/password

Main dashboard

The main dashboard page shows the interactive console

See a detailed tutorial at https://mongoose.ws/tutorials/device-dashboard/