优化无线/有线CAN,以及控制指令解析

This commit is contained in:
minghanchen
2026-08-26 20:11:09 +08:00
parent 9ac8fdface
commit 4a0570706f
49 changed files with 8409 additions and 1289 deletions
@@ -7,6 +7,18 @@ metadata:
spec:
domain: outlet
capabilities:
- name: outlet.set_switch_state
description: Open or close one front motorized air outlet using the byte-exact head-unit CAN FD request observed on the vehicle.
target_devices: [motorized_air_outlet]
target_scopes: [driver_left, driver_right, passenger_left, passenger_right]
parameters:
- name: state
type: string
required: true
allowed_values: [open, close]
description: Explicit switch state for exactly one air outlet.
risk_level: medium
confirmation_policy: on_ambiguity
- name: outlet.set_position_percent
description: Set both axes of one calibrated front air outlet using normalized percentages through vehicle CAN FD.
target_devices: [motorized_air_outlet]