📌 Summary
We need to validate the reliability and stability of communication between the Smart Energy Meter and external devices over Bluetooth and (if available) Wi-Fi .
The goal is to ensure that data transfer (measurements, logs, commands) works consistently under different conditions.
🎯 Goal / Deliverable
- Verify stable UART-Bluetooth communication with the mobile app.
- Test packet delivery, ordering, and latency.
- Check resilience under continuous data streaming (real-time monitoring).
- Validate reconnection after disconnection or interference.
- If Wi-Fi is enabled in system extension → ensure same stability tests apply.
🛠️ Steps to Implement
- Connect device to Mobile App via Bluetooth.
- Perform different tests:
- Short bursts : Send single-frame commands and responses.
- Continuous stream : Send measurement updates at fixed interval (e.g., every 1s).
- Stress test : High-frequency updates (50–100ms).
- Interference : Disconnect Bluetooth and reconnect.
- If Wi-Fi module is integrated, repeat the same tests over Wi-Fi.
- Measure:
- Packet loss rate .
- Average latency .
- Reconnection time .
✅ Acceptance Criteria
- No packet loss in normal update rate (1s interval).
- ≤5% packet loss under stress test .
- Average latency ≤200 ms (BT), ≤100 ms (Wi-Fi).
- System recovers gracefully after disconnection without manual reset.
📐 Definition of Done (DoD)
- Communication tested for both Bluetooth and Wi-Fi (if present).
- Logs collected with packet counters to verify loss rate.
- Reconnection scenarios validated.
- Test results documented under
/docs/testing/phase5/.
📌 Summary
We need to validate the reliability and stability of communication between the Smart Energy Meter and external devices over Bluetooth and (if available) Wi-Fi .
The goal is to ensure that data transfer (measurements, logs, commands) works consistently under different conditions.
🎯 Goal / Deliverable
🛠️ Steps to Implement
✅ Acceptance Criteria
📐 Definition of Done (DoD)
/docs/testing/phase5/.