Expand description
Generated runtime path registry.
Every sidecar and socket file the agent’s services share, named once, with the run-directory resolver and each sidecar’s freshness window. Source: contracts.toml; run ados-capabilities-codegen.
Structs§
- Sidecar
Path - One registered state sidecar.
- Socket
Path - One registered Unix socket.
Constants§
- API_
INTERNAL_ SOCK - AP_
GUARD_ JSON - AUX_
CMD_ SOCK - AUX_
RPC_ RESPONSES_ SOCK - BIND_
STATE_ JSON - BOARD_
JSON - BUTTONS_
SOCK - CAMERAS_
DISCOVERED_ JSON - CAMERA_
STATE_ JSON - CAMERA_
STATE_ MAX_ AGE_ MS - CAMERA_
USB_ RECOVERY_ JSON - CAMERA_
USB_ RECOVERY_ MAX_ AGE_ MS - CAPTURE_
STORAGE_ JSON - CAPTURE_
STORAGE_ MAX_ AGE_ MS - CLOCK_
JSON - CLOCK_
MAX_ AGE_ MS - CLOUD_
LINK_ JSON - CLOUD_
PUBLISH_ SOCK - CRSF_
CMD_ SOCK - CRSF_
STATS_ JSON - CRSF_
STATS_ MAX_ AGE_ MS - FC_
IDENTITY_ JSON - FLEET_
HERO_ JSON - GNSS_
CMD_ SOCK - GNSS_
JSON - GNSS_
MAX_ AGE_ MS - GPIO_
CMD_ SOCK - GPIO_
OUTPUT_ JSON - GROUNDLINK_
CMD_ SOCK - GROUND_
STATION_ INPUT_ JSON - HID_
CMD_ SOCK - HOP_
SUPERVISOR_ JSON - HOP_
SUPERVISOR_ MAX_ AGE_ MS - JANITOR_
JSON - LCD_
FB_ STATS_ JSON - LCD_
FB_ STATS_ MAX_ AGE_ MS - LCD_
LATENCY_ JSON - LCD_
LATENCY_ MAX_ AGE_ MS - LCD_
PAGE_ REQUEST_ JSON - LCD_
PLUGIN_ PAGE_ JSON - LCD_
PLUGIN_ TAP_ JSON - LCD_
STATE_ JSON - LINKED_
PEERS_ JSON - LINK_
FEEDBACK_ JSON - LOGD_
PUSH_ REQUEST_ JSON - LOGD_
PUSH_ RESULT_ JSON - LOGD_
QUERY_ SOCK - LOGD_
SOCK - LORA_
BEACONS_ JSON - LORA_
BEACONS_ MAX_ AGE_ MS - LORA_
JSON - LORA_
MAX_ AGE_ MS - MAVLINK_
INGEST_ SOCK - MAVLINK_
ROUTER_ JSON - MAVLINK_
ROUTER_ MAX_ AGE_ MS - MAVLINK_
SOCK - MESH_
STATE_ JSON - MESH_
STATE_ MAX_ AGE_ MS - MGMT_
FAILOVER_ JSON - MGMT_
FAILOVER_ MAX_ AGE_ MS - MGMT_
LINK_ JSON - MGMT_
LINK_ MAX_ AGE_ MS - MSP_
SOCK - OFFLOAD_
LINK_ JSON - PAIRING_
SOCK - PEER_
PRESENCE_ JSON - PEER_
PRESENCE_ MAX_ AGE_ MS - PIC_
SOCK - PIC_
STATE_ JSON - PLUGIN_
LOOPBACK_ GUARD_ JSON - PLUGIN_
STATE_ MAX_ AGE_ MS - RADIO_
AUX_ SOCK - RADIO_
CMD_ SOCK - RELAYED_
STATUS_ JSON - RELAYED_
STATUS_ MAX_ AGE_ MS - RUN_
DIR_ DEFAULT - The run directory when
ADOS_RUN_DIRis unset or empty. - RUN_
DIR_ ENV - The environment variable that relocates the run directory.
- SENSORHUB_
JSON - SENSORHUB_
MAX_ AGE_ MS - SENSORS_
JSON - SENSORS_
MAX_ AGE_ MS - SENSOR_
BUS_ SOCK - SIDECARS
- Every registered sidecar.
- SOCKETS
- Every registered socket.
- STATE_
SOCK - SUPERVISOR_
SOCK - SWARM_
SOCK - TUNNEL_
CONFIG_ CMD_ SOCK - TUNNEL_
CONFIG_ JSON - TUNNEL_
CONFIG_ MAX_ AGE_ MS - USB_
REHOME_ JSON - USB_
REHOME_ MAX_ AGE_ MS - VIDEO_
CMD_ SOCK - VIDEO_
ENCODER_ SOCK - VIDEO_
PROFILE_ JSON - VIDEO_
STREAMS_ JSON - VIDEO_
STREAMS_ MAX_ AGE_ MS - VISION_
SOCK - WFB_
CMD_ SOCK - WFB_
FAILOVER_ JSON - WFB_
FAILOVER_ MAX_ AGE_ MS - WFB_
PAIR_ PROOF_ JSON - WFB_
RECEIVER_ JSON - WFB_
RECEIVER_ MAX_ AGE_ MS - WFB_
RELAY_ JSON - WFB_
RELAY_ MAX_ AGE_ MS - WFB_
STATS_ JSON - WFB_
STATS_ MAX_ AGE_ MS - WIFI_
CMD_ SOCK - WIFI_
POWERSAVE_ JSON - WIFI_
POWERSAVE_ MAX_ AGE_ MS
Functions§
- max_age
- The freshness window of a registered sidecar, or
Nonewhen the id is not registered or the sidecar has no window. - resolve
- Resolve a registry path: a
/run/ados/...path moves underrun_dir, any other absolute path is returned as registered. - run_dir
- The run directory:
ADOS_RUN_DIRwhen set and non-empty, elseRUN_DIR_DEFAULT. - run_
path - The resolved path of a registered sidecar or socket id. An id with no
registry row is taken as a file name under
run_dir, so an unregistered sentinel or journal (uplink-active,mesh-events.jsonl) resolves the same way. - sidecar
- The registered sidecar with this id.
- socket
- The registered socket with this id.