Files
HBlink4/tests
cort 0b06e3027a Phase 1 forwarding: Replace packet counts with call tracking, fix radio_id ambiguity, remove broadcast terminology
Changes:
1. Statistics renamed from packet counts to call tracking:
   - packets_received/packets_forwarded → active_calls/total_calls_today
   - Updated dashboard to show 'Active Forwarded Calls' and 'Total Calls Today'
   - Stats now track meaningful metrics instead of raw packet counts

2. Fixed radio_id terminology ambiguity:
   - radio_id → repeater_id throughout (where it refers to repeaters)
   - Comments and variable names now distinguish repeater_id vs subscriber_id
   - Only use 'radio_id' when genuinely generic (e.g., protocol docs)

3. Removed 'broadcast' terminology (negative connotation in amateur radio):
   - _broadcast_user_cache() → _send_user_cache()
   - _broadcast_forwarding_stats() → _send_forwarding_stats()
   - broadcast() → send_to_clients()
   - broadcast_stats_update() → send_stats_update()
   - Updated all comments: 'broadcast' → 'send'/'forward'/'transmit'

4. Framework improvements:
   - Extensible _forward_stream() method with Phase 2/3 TODO markers
   - Call tracking placeholder for future implementation
   - Dashboard ready for real-time call statistics

All tests passing: 47 passed, 7 skipped
2025-10-03 07:55:25 -05:00
..