Introducing versioning of control commands for all modules - #226
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a set of YAML “control command” templates under framework/core/controlCommands/ intended to be sent to the ut-controller (via RAFT’s utPlaneController) to simulate/report events across multiple modules (HDMI input/output, HDMI-CEC, composite input, sensors, deepsleep, bootreason).
Changes:
- Introduces new control-command YAML templates for HDMI input/output state/events.
- Adds HDMI-CEC virtual-component command/config templates (device map setup and message operations).
- Adds templates for sensor triggers (motion/thermal), deepsleep triggers, composite input events, and bootreason injection.
Reviewed changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| framework/core/controlCommands/thermalsensor_trigger.yaml | Adds a thermal sensor “temperature_update” event template. |
| framework/core/controlCommands/motionsensor_trigger.yaml | Adds a motion sensor event template. |
| framework/core/controlCommands/hdmioutput_hotplug_state.yaml | Adds HDMI output hotplug-state event template. |
| framework/core/controlCommands/hdmioutput_hdcp_status.yaml | Adds HDMI output HDCP status event template. |
| framework/core/controlCommands/hdmioutput_frame_rate_changed.yaml | Adds HDMI output frame-rate-changed event template. |
| framework/core/controlCommands/hdmioutput_edid_read.yaml | Adds HDMI output EDID-read event template (with sample EDID bytes). |
| framework/core/controlCommands/hdmiinput_vrr_status.yaml | Adds HDMI input VRR status event template. |
| framework/core/controlCommands/hdmiinput_videoformat_change.yaml | Adds HDMI input video-format-change event template. |
| framework/core/controlCommands/hdmiinput_vendorspecificinfo_frame.yaml | Adds HDMI input VSIF infoframe event template. |
| framework/core/controlCommands/hdmiinput_spdinfo_frame.yaml | Adds HDMI input SPD infoframe event template. |
| framework/core/controlCommands/hdmiinput_signal_status.yaml | Adds HDMI input signal-status event template. |
| framework/core/controlCommands/hdmiinput_hdcp_status.yaml | Adds HDMI input HDCP status event template. |
| framework/core/controlCommands/hdmiinput_drminfo_frame.yaml | Adds HDMI input DRM infoframe event template. |
| framework/core/controlCommands/hdmiinput_connection_status.yaml | Adds HDMI input connection-status event template. |
| framework/core/controlCommands/hdmiinput_aviinfo_frame.yaml | Adds HDMI input AVI infoframe event template. |
| framework/core/controlCommands/hdmiinput_audioinfo_frame.yaml | Adds HDMI input audio infoframe event template. |
| framework/core/controlCommands/hdmicec_device_status.yaml | Adds HDMI-CEC device status update template. |
| framework/core/controlCommands/hdmicec_device_remove.yaml | Adds HDMI-CEC device removal template. |
| framework/core/controlCommands/hdmicec_device_print.yaml | Adds HDMI-CEC device-map print template. |
| framework/core/controlCommands/hdmicec_device_config.yaml | Adds HDMI-CEC device-map initialization template. |
| framework/core/controlCommands/hdmicec_device_config_add_network.yaml | Adds a larger HDMI-CEC network/device-map initialization template. |
| framework/core/controlCommands/hdmicec_device_cec_message.yaml | Adds HDMI-CEC message-send template (structured opcode/payload). |
| framework/core/controlCommands/hdmicec_device_cec_message_userdef.yaml | Adds HDMI-CEC user-defined raw payload message template. |
| framework/core/controlCommands/hdmicec_device_bus_status.yaml | Adds HDMI-CEC bus-status update template. |
| framework/core/controlCommands/hdmicec_device_add.yaml | Adds HDMI-CEC device-add template. |
| framework/core/controlCommands/deepsleep_trigger.yaml | Adds deepsleep wake trigger template. |
| framework/core/controlCommands/deepsleep_simulate_error.yaml | Adds deepsleep error simulation template. |
| framework/core/controlCommands/compositeinput_video_mode.yaml | Adds composite input video-mode event template. |
| framework/core/controlCommands/compositeinput_signal_status.yaml | Adds composite input signal-status event template. |
| framework/core/controlCommands/compositeinput_connection_status.yaml | Adds composite input connection-status event template. |
| framework/core/controlCommands/bootreason_external_triggers.yaml | Adds bootreason injection template and enumerated reasons. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| fault: no | ||
| number_of_ports: 4 | ||
| active_source: false | ||
| device_map: | ||
| - device: | ||
| name: "VTV" | ||
| language: "eng" | ||
| cec_version: "1.4" | ||
| device_type: "TV" | ||
| power_status: "on" | ||
| fault: no | ||
| port_id: 0 | ||
| number_of_ports: 4 | ||
| active_source: false | ||
| children: [] |
| fault: no | ||
| number_of_ports: 4 | ||
| active_source: false | ||
| device_map: | ||
| - device: |
| power_status: on | ||
| fault: no |
| deepsleep: # Component object begins | ||
| command: "DEEPSLEEP_SIMULATE_ERROR" | ||
| error_type: "BEFORE_DEEPSLEEP" # Options: AFTER_DEEPSLEEP | ||
| return_code: "false" # Options: true(deepsleep successful), false(deepsleep failed) |
| bootreason: | ||
| command: bootReason | ||
| params: |
Ulrond
left a comment
There was a problem hiding this comment.
lets move this to ut-raft, add subdirectories I think your data is going to expand.
I think you may need more comments in the .yaml file if this is going to be your API reference documentation, which you can script generation code to get an MD out o fit.
No description provided.