How jonathanchan1996/enosewebble works
eNoseWebBle is a browser dashboard for connecting to an eNose BLE sensor, polling its readings, visualizing them, and downloading logged data as CSV. The principal workflow runs from user controls through BLE connection and acquisition to live display and export; time-series plotting and reconnect behavior are additional capabilities. The sampled source places these behaviors in app.js; index.html and style.css are present, but their contents were not provided, so UI implementation details beyond the app’s DOM bindings are not inferred.
Main entry points: app.js Dashboard controls
Components 13
BLE acquisition
- Dashboard controls
app.js - Web Bluetooth
app.js - Reading poller
app.js - Reconnect handling
app.js - Sensor decoding
app.js
Live dashboard
- Live sensor grid
app.js - Time-series plot
app.js - Sensor selection
app.js
Data export
- Reading log
app.js - CSV generation
app.js - CSV download
app.js
Other components
- Dashboard user
- eNose BLE module
Connections 17
- Dashboard user → Dashboard controls: uses
app.js - Dashboard controls → Web Bluetooth: connects via
app.js - Web Bluetooth → eNose BLE module: connects to
app.js - Dashboard controls → Reading poller: starts or stops
app.js - Reading poller → Web Bluetooth: reads data
app.js - Web Bluetooth → eNose BLE module: reads characteristics
app.js - Reading poller → Reconnect handling: recovers errors
app.js - Reading poller → Sensor decoding: decodes readings
app.js - Sensor decoding → Live sensor grid: renders values
app.js - Sensor decoding → Reading log: appends readings
app.js - Sensor decoding → Time-series plot: updates samples
app.js - Sensor selection → Time-series plot: selects sensors
app.js - Dashboard controls → Sensor selection: configures sensors
app.js - Dashboard controls → CSV generation: requests export
app.js - CSV generation → Reading log: serializes rows
app.js - CSV generation → CSV download: creates file
app.js - CSV download → Dashboard user: saves CSV
README.md