Structs§
- Disconnect
Info - Disconnected
State - External
Inspect Node - Inspect node with properties queried by external entities. Do not change or remove existing properties that are still used.
- Query
Status Result - Scan
Event Inspect Data - Telemetry
- Telemetry
Sender - Timestamped
Connection Score
Enums§
- Connection
State Info - Network
Selection Type - PhyRecovery
Mechanism - Recovery
Reason - Scan
Issue - Telemetry
Event - Timeout
Source
Constants§
- AVERAGE_
SCORE_ DELTA_ MINIMUM_ DURATION - COBALT_
REASON_ CODE_ MAX - EWMA_
SMOOTHING_ FACTOR_ FOR_ METRICS - Number of previous RSSI measurements to exponentially weigh into average. TODO(https://fxbug.dev/42165706): Tune smoothing factor.
- METRICS_
SHORT_ CONNECT_ DURATION - MINUTES_
BETWEEN_ COBALT_ SYSLOG_ WARNINGS
Traits§
Functions§
- connect_
to_ metrics_ logger_ factory - create_
metrics_ logger - serve_
telemetry - Create a struct for sending TelemetryEvent, and a future representing the telemetry loop.