Ingen beskrivning

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

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/