From 552484e62780d32539c6ac990643339326cc6aac Mon Sep 17 00:00:00 2001 From: kanjoe24 <165808281+kanjoe24@users.noreply.github.com> Date: Fri, 24 Jul 2026 13:27:33 +0000 Subject: [PATCH] Introducing versioning of control commands for all modules --- .../bootreason_external_triggers.yaml | 33 +++++ .../compositeinput_connection_status.yaml | 28 +++++ .../compositeinput_signal_status.yaml | 28 +++++ .../compositeinput_video_mode.yaml | 31 +++++ .../deepsleep_simulate_error.yaml | 27 +++++ .../controlCommands/deepsleep_trigger.yaml | 27 +++++ .../controlCommands/hdmicec_device_add.yaml | 35 ++++++ .../hdmicec_device_bus_status.yaml | 25 ++++ .../hdmicec_device_cec_message.yaml | 31 +++++ .../hdmicec_device_cec_message_userdef.yaml | 27 +++++ .../hdmicec_device_config.yaml | 47 ++++++++ .../hdmicec_device_config_add_network.yaml | 113 ++++++++++++++++++ .../controlCommands/hdmicec_device_print.yaml | 24 ++++ .../hdmicec_device_remove.yaml | 26 ++++ .../hdmicec_device_status.yaml | 28 +++++ .../hdmiinput_audioinfo_frame.yaml | 28 +++++ .../hdmiinput_aviinfo_frame.yaml | 28 +++++ .../hdmiinput_connection_status.yaml | 28 +++++ .../hdmiinput_drminfo_frame.yaml | 28 +++++ .../hdmiinput_hdcp_status.yaml | 30 +++++ .../hdmiinput_signal_status.yaml | 28 +++++ .../hdmiinput_spdinfo_frame.yaml | 28 +++++ .../hdmiinput_vendorspecificinfo_frame.yaml | 28 +++++ .../hdmiinput_videoformat_change.yaml | 28 +++++ .../controlCommands/hdmiinput_vrr_status.yaml | 31 +++++ .../controlCommands/hdmioutput_edid_read.yaml | 44 +++++++ .../hdmioutput_frame_rate_changed.yaml | 27 +++++ .../hdmioutput_hdcp_status.yaml | 29 +++++ .../hdmioutput_hotplug_state.yaml | 28 +++++ .../controlCommands/motionsensor_trigger.yaml | 26 ++++ .../thermalsensor_trigger.yaml | 27 +++++ 31 files changed, 996 insertions(+) create mode 100644 framework/core/controlCommands/bootreason_external_triggers.yaml create mode 100644 framework/core/controlCommands/compositeinput_connection_status.yaml create mode 100644 framework/core/controlCommands/compositeinput_signal_status.yaml create mode 100644 framework/core/controlCommands/compositeinput_video_mode.yaml create mode 100644 framework/core/controlCommands/deepsleep_simulate_error.yaml create mode 100644 framework/core/controlCommands/deepsleep_trigger.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_add.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_bus_status.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_cec_message.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_cec_message_userdef.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_config.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_config_add_network.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_print.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_remove.yaml create mode 100644 framework/core/controlCommands/hdmicec_device_status.yaml create mode 100644 framework/core/controlCommands/hdmiinput_audioinfo_frame.yaml create mode 100644 framework/core/controlCommands/hdmiinput_aviinfo_frame.yaml create mode 100644 framework/core/controlCommands/hdmiinput_connection_status.yaml create mode 100644 framework/core/controlCommands/hdmiinput_drminfo_frame.yaml create mode 100644 framework/core/controlCommands/hdmiinput_hdcp_status.yaml create mode 100644 framework/core/controlCommands/hdmiinput_signal_status.yaml create mode 100644 framework/core/controlCommands/hdmiinput_spdinfo_frame.yaml create mode 100644 framework/core/controlCommands/hdmiinput_vendorspecificinfo_frame.yaml create mode 100644 framework/core/controlCommands/hdmiinput_videoformat_change.yaml create mode 100644 framework/core/controlCommands/hdmiinput_vrr_status.yaml create mode 100644 framework/core/controlCommands/hdmioutput_edid_read.yaml create mode 100644 framework/core/controlCommands/hdmioutput_frame_rate_changed.yaml create mode 100644 framework/core/controlCommands/hdmioutput_hdcp_status.yaml create mode 100644 framework/core/controlCommands/hdmioutput_hotplug_state.yaml create mode 100644 framework/core/controlCommands/motionsensor_trigger.yaml create mode 100644 framework/core/controlCommands/thermalsensor_trigger.yaml diff --git a/framework/core/controlCommands/bootreason_external_triggers.yaml b/framework/core/controlCommands/bootreason_external_triggers.yaml new file mode 100644 index 0000000..d18a63b --- /dev/null +++ b/framework/core/controlCommands/bootreason_external_triggers.yaml @@ -0,0 +1,33 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +bootreason: + command: bootReason + params: + reason: "ERROR_UNKNOWN" # Options: + # ERROR_UNKNOWN - Boot reason unknown or could not be determined (control command needed) + # WATCHDOG - Boot due to Watchdog Timer reset (control command needed) + # MAINTENANCE_REBOOT - Boot due to maintenance-triggered reboot (no control command; API call) + # THERMAL_RESET - Boot due to thermal reset from overheating (no control command; comes from sensor module) + # WARM_RESET - Boot due to software-initiated reboot (no control command; API call) + # COLD_BOOT - Boot due to cold boot or power cycle (control command needed) + # STR_AUTH_FAILURE - Boot due to Suspend-to-RAM authentication failure (control command needed) \ No newline at end of file diff --git a/framework/core/controlCommands/compositeinput_connection_status.yaml b/framework/core/controlCommands/compositeinput_connection_status.yaml new file mode 100644 index 0000000..dceffb3 --- /dev/null +++ b/framework/core/controlCommands/compositeinput_connection_status.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2026 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +compositeinput: + command: connection_status + description: Sets the cable connection state on a composite input port. + params: + port: 0 # Port ID (0 or 1) + connected: true # true = cable connected, false = disconnected diff --git a/framework/core/controlCommands/compositeinput_signal_status.yaml b/framework/core/controlCommands/compositeinput_signal_status.yaml new file mode 100644 index 0000000..776aadf --- /dev/null +++ b/framework/core/controlCommands/compositeinput_signal_status.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2026 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +compositeinput: + command: signal_status + description: Sets the signal status on a composite input port. + params: + port: 0 + signalStatus: STABLE # Possible values: NO_SIGNAL, UNSTABLE, NOT_SUPPORTED, STABLE diff --git a/framework/core/controlCommands/compositeinput_video_mode.yaml b/framework/core/controlCommands/compositeinput_video_mode.yaml new file mode 100644 index 0000000..12c322e --- /dev/null +++ b/framework/core/controlCommands/compositeinput_video_mode.yaml @@ -0,0 +1,31 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2026 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +compositeinput: + command: video_mode + description: Reports a detected video mode change on a composite input port (port must be STARTED). + params: + port: 0 + pixelWidth: 720 # Horizontal resolution in pixels (e.g. 720) + pixelHeight: 480 # Vertical resolution in pixels (e.g. 480 NTSC or 576 PAL) + interlaced: true # true = interlaced, false = progressive + frameRateInHz: 29.97 # Frame rate (e.g. 25.0, 29.97, 50.0, 59.94) diff --git a/framework/core/controlCommands/deepsleep_simulate_error.yaml b/framework/core/controlCommands/deepsleep_simulate_error.yaml new file mode 100644 index 0000000..128ef9c --- /dev/null +++ b/framework/core/controlCommands/deepsleep_simulate_error.yaml @@ -0,0 +1,27 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +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) + exception: "EX_NONE" # Options: EX_NONE, any future exception type that may be added to the deepsleep component \ No newline at end of file diff --git a/framework/core/controlCommands/deepsleep_trigger.yaml b/framework/core/controlCommands/deepsleep_trigger.yaml new file mode 100644 index 0000000..62905f6 --- /dev/null +++ b/framework/core/controlCommands/deepsleep_trigger.yaml @@ -0,0 +1,27 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +deepsleep: # Component object begins + command: "DEEPSLEEP_WAKEUP" + trigger: RCU_BT # Options: RCU_IR (keycode: 6), RCU_BT (keycode: 7), RCU_RF4CE (keycode: 8), + # LAN, WLAN, FRONT_PANEL, CEC, PRESENCE, VOICE + keycode: 6 # Required only for RCU_IR, RCU_BT, RCU_RF4CE; omit for all other triggers \ No newline at end of file diff --git a/framework/core/controlCommands/hdmicec_device_add.yaml b/framework/core/controlCommands/hdmicec_device_add.yaml new file mode 100644 index 0000000..32b4db8 --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_add.yaml @@ -0,0 +1,35 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: add_device + description: Add a new HDMI CEC device to the device map + device: + name: "GameConsole" + parent: "VTV" + language: "eng" + cec_version: "1.4" + device_type: "PlaybackDevice" + power_status: on + fault: no + port_id: 1 + number_of_ports: 0 + active_source: false \ No newline at end of file diff --git a/framework/core/controlCommands/hdmicec_device_bus_status.yaml b/framework/core/controlCommands/hdmicec_device_bus_status.yaml new file mode 100644 index 0000000..ee34aca --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_bus_status.yaml @@ -0,0 +1,25 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: update_bus_status + description: Updates the status of an HDMI CEC bus + status: "idle" # possible values: idle, busy \ No newline at end of file diff --git a/framework/core/controlCommands/hdmicec_device_cec_message.yaml b/framework/core/controlCommands/hdmicec_device_cec_message.yaml new file mode 100644 index 0000000..250d075 --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_cec_message.yaml @@ -0,0 +1,31 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: cec_message + description: Send a CEC message + message: + user_defined: false + source: "YAMAHA" + destination: "VTV" + opcode: "CecVersion" + type: "Direct" + payload: ["cec_version"] # Optional parameters for the CEC message diff --git a/framework/core/controlCommands/hdmicec_device_cec_message_userdef.yaml b/framework/core/controlCommands/hdmicec_device_cec_message_userdef.yaml new file mode 100644 index 0000000..631fb33 --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_cec_message_userdef.yaml @@ -0,0 +1,27 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: cec_message + description: Send a CEC message + message: + user_defined: true + payload: ["0x50", "0x82", "0x10", "0x00"] \ No newline at end of file diff --git a/framework/core/controlCommands/hdmicec_device_config.yaml b/framework/core/controlCommands/hdmicec_device_config.yaml new file mode 100644 index 0000000..2c1994c --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_config.yaml @@ -0,0 +1,47 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: configure + description: Initialize HDMI CEC device map + config: + emulated_device: + name: "VTV" + language: "eng" + cec_version: "1.4" + device_type: "TV" + power_status: "on" + port_id: 0 + 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: [] diff --git a/framework/core/controlCommands/hdmicec_device_config_add_network.yaml b/framework/core/controlCommands/hdmicec_device_config_add_network.yaml new file mode 100644 index 0000000..96e5672 --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_config_add_network.yaml @@ -0,0 +1,113 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: configure + description: Initialize HDMI CEC device map + config: + emulated_device: + name: "VTV" + language: "eng" + cec_version: "1.4" + device_type: "TV" + power_status: "on" + port_id: 0 + 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: + - device: + name: "YAMAHA" + language: "eng" + cec_version: "1.4" + device_type: "AudioSystem" + power_status: "on" + fault: no + port_id: 3 + number_of_ports: 2 + active_source: true + children: + - device: + name: "PIONEER" + language: "eng" + cec_version: "1.4" + device_type: "PlaybackDevice" + power_status: "on" + fault: no + port_id: 1 + number_of_ports: 0 + active_source: false + children: [] + - device: + name: "GOOGLE" + language: "eng" + cec_version: "1.4" + device_type: "PlaybackDevice" + power_status: "standby" + fault: no + port_id: 2 + number_of_ports: 0 + active_source: false + children: [] + - device: + name: "IPSTB" + language: "eng" + cec_version: "1.4" + device_type: "PlaybackDevice" + power_status: "standby" + fault: no + port_id: 2 + number_of_ports: 0 + active_source: false + children: [] + - device: + name: "CECAdapter" + language: "eng" + cec_version: "1.4" + device_type: "RecordingDevice" + power_status: "on" + fault: no + port_id: 0 + number_of_ports: 2 + active_source: false + children: + - device: + name: "GameConsole" + language: "eng" + cec_version: "1.4" + device_type: "PlaybackDevice" + power_status: "on" + fault: no + port_id: 1 + number_of_ports: 0 + active_source: false + children: [] diff --git a/framework/core/controlCommands/hdmicec_device_print.yaml b/framework/core/controlCommands/hdmicec_device_print.yaml new file mode 100644 index 0000000..5019743 --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_print.yaml @@ -0,0 +1,24 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: print + description: Print the current HDMI CEC device map diff --git a/framework/core/controlCommands/hdmicec_device_remove.yaml b/framework/core/controlCommands/hdmicec_device_remove.yaml new file mode 100644 index 0000000..4ea35bf --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_remove.yaml @@ -0,0 +1,26 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: remove_device + description: Remove an HDMI CEC device from the device map + device: + name: "GameConsole" \ No newline at end of file diff --git a/framework/core/controlCommands/hdmicec_device_status.yaml b/framework/core/controlCommands/hdmicec_device_status.yaml new file mode 100644 index 0000000..fd1c387 --- /dev/null +++ b/framework/core/controlCommands/hdmicec_device_status.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2023 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#* ****************************************************************************** +HdmiCec: + command: update_device_status + description: Updates the status of an HDMI CEC device + device: + name: "GameConsole" + power_status: "off" + fault: "yes" \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_audioinfo_frame.yaml b/framework/core/controlCommands/hdmiinput_audioinfo_frame.yaml new file mode 100644 index 0000000..a006e7f --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_audioinfo_frame.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: audioinfo_frame + description: Sends the audioinfo frame to HDMI input ports + params: + port: 0 + data: [0x84, 0x01, 0x0A, 0x70, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_aviinfo_frame.yaml b/framework/core/controlCommands/hdmiinput_aviinfo_frame.yaml new file mode 100644 index 0000000..f492c3f --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_aviinfo_frame.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: aviinfo_frame + description: Sends the AV InfoFrame to HDMI input ports + params: + port: 0 + data: [0x82, 0x02, 0x0D, 0x6F, 0x10, 0x18, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_connection_status.yaml b/framework/core/controlCommands/hdmiinput_connection_status.yaml new file mode 100644 index 0000000..e3a2375 --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_connection_status.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: connection_status + description: Sends the connection status of HDMI input ports. + params: + port: 0 + connected: true \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_drminfo_frame.yaml b/framework/core/controlCommands/hdmiinput_drminfo_frame.yaml new file mode 100644 index 0000000..2a892ff --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_drminfo_frame.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: drminfo_frame + description: Sends the drminfo frame to HDMI input ports + params: + port: 0 + data: [0x87, 0x01, 0x1A, 0x9A, 0x02, 0x00, 0xE0, 0x03, 0x80, 0x07, 0x38, 0x04, 0x00, 0x0A, 0x00, 0x01, 0x00, 0x00, 0x03, 0xE8, 0x00, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_hdcp_status.yaml b/framework/core/controlCommands/hdmiinput_hdcp_status.yaml new file mode 100644 index 0000000..160c962 --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_hdcp_status.yaml @@ -0,0 +1,30 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: hdcp_status + description: Sends the HDCP status of HDMI input ports. + params: + port: 0 + state: AUTHENTICATED # Possible values: UNKNOWN, UNAUTHENTICATED, + # AUTHENTICATION_IN_PROGRESS, AUTHENTICATION_FAILURE, AUTHENTICATED + version: VERSION_2_X # UNDEFINED, VERSION_1_X, VERSION_2_X \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_signal_status.yaml b/framework/core/controlCommands/hdmiinput_signal_status.yaml new file mode 100644 index 0000000..4faad51 --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_signal_status.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: signal_status + description: Sends the signal status of HDMI input ports. + params: + port: 0 + state: LOCKED # Possible values: UNKNOWN, NO_SIGNAL, UNSTABLE, NOT_SUPPORTED, LOCKED \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_spdinfo_frame.yaml b/framework/core/controlCommands/hdmiinput_spdinfo_frame.yaml new file mode 100644 index 0000000..8ee6c5b --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_spdinfo_frame.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: spdinfo_frame + description: Sends the spdinfo frame to HDMI input ports + params: + port: 0 + data: [0x83, 0x01, 0x19, 0x8E, 0x4F, 0x50, 0x45, 0x4E, 0x41, 0x49, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x42, 0x4C, 0x55, 0x52, 0x41, 0x59, 0x20, 0x20, 0x20, 0x20, 0x20, 0x01] \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_vendorspecificinfo_frame.yaml b/framework/core/controlCommands/hdmiinput_vendorspecificinfo_frame.yaml new file mode 100644 index 0000000..97a3ef6 --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_vendorspecificinfo_frame.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: vsifinfo_frame + description: Sends the vendor specific info frame to HDMI input ports + params: + port: 0 + data: [0x81, 0x01, 0x0D, 0xA7, 0x03, 0x0C, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00] \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_videoformat_change.yaml b/framework/core/controlCommands/hdmiinput_videoformat_change.yaml new file mode 100644 index 0000000..3f72785 --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_videoformat_change.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: videoformat_change + description: Sends the video format change to HDMI input ports + params: + port: 0 + format: VIC16_1920_1080_P_60_16_9 # Possible values: refer hdmiinput/VIC.aidl \ No newline at end of file diff --git a/framework/core/controlCommands/hdmiinput_vrr_status.yaml b/framework/core/controlCommands/hdmiinput_vrr_status.yaml new file mode 100644 index 0000000..ac213f6 --- /dev/null +++ b/framework/core/controlCommands/hdmiinput_vrr_status.yaml @@ -0,0 +1,31 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmiinput: + command: vrr_status + description: Sends the VRR status of HDMI input ports + params: + port: 0 + vrrActive: true + M_CONST: true + fastVActive: true + frameRate: 120.0 \ No newline at end of file diff --git a/framework/core/controlCommands/hdmioutput_edid_read.yaml b/framework/core/controlCommands/hdmioutput_edid_read.yaml new file mode 100644 index 0000000..8aea10d --- /dev/null +++ b/framework/core/controlCommands/hdmioutput_edid_read.yaml @@ -0,0 +1,44 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmioutput: + command: edid_read + description: Sends the EDID read event for HDMI output port. + params: + port: 0 + data: [0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x00,0x10,0xAC,0x32,0x42,0x4C,0x4C,0x4C,0x4C, + 0x02,0x19,0x01,0x03,0x80,0x3C,0x22,0x78,0xEA,0x1E,0xC5,0xAE,0x50,0x46,0x91,0x26, + 0x0E,0x50,0x54,0xA5,0x4B,0x00,0x71,0x4F,0x81,0x80,0xA9,0x40,0xB3,0x00,0xD1,0xC0, + 0x01,0x01,0x01,0x01,0x01,0x01,0x04,0x74,0x00,0x30,0xF2,0x70,0x5A,0x80,0xB0,0x58, + 0x8A,0x00,0x50,0x1D,0x74,0x00,0x00,0x1E,0x00,0x00,0x00,0xFF,0x00,0x48,0x44,0x4D, + 0x49,0x32,0x30,0x5F,0x54,0x45,0x53,0x54,0x0A,0x20,0x00,0x00,0x00,0xFC,0x00,0x48, + 0x44,0x4D,0x49,0x20,0x32,0x2E,0x30,0x20,0x44,0x69,0x73,0x70,0x00,0x00,0x00,0xFD, + 0x00,0x38,0x4B,0x1E,0x87,0x1E,0x00,0x0A,0x20,0x20,0x20,0x20,0x20,0x20,0x01,0x9A, + 0x02,0x03,0x3E,0x70,0xE3,0x05,0x03,0x01,0x02,0x03,0x04,0x05,0x90,0x23,0x09,0x07, + 0x07,0x83,0x01,0x00,0x00,0x6D,0x03,0x0C,0x00,0x20,0x00,0xB8,0x3C,0x20,0x00,0x60, + 0x01,0x02,0x03,0x67,0xD8,0x5D,0xC4,0x01,0x3C,0x03,0xE2,0x00,0x0F,0xE3,0x06,0x0D, + 0x01,0x01,0x1D,0x00,0x72,0x51,0xD0,0x1E,0x20,0x6E,0x28,0x55,0x00,0x50,0x1D,0x74, + 0x00,0x00,0x1E,0x02,0x3A,0x80,0x18,0x71,0x38,0x2D,0x40,0x58,0x2C,0x45,0x00,0x50, + 0x1D,0x74,0x00,0x00,0x1E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, + 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC1] + diff --git a/framework/core/controlCommands/hdmioutput_frame_rate_changed.yaml b/framework/core/controlCommands/hdmioutput_frame_rate_changed.yaml new file mode 100644 index 0000000..7511008 --- /dev/null +++ b/framework/core/controlCommands/hdmioutput_frame_rate_changed.yaml @@ -0,0 +1,27 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmioutput: + command: frame_rate_changed + description: Sends the frame rate change event for HDMI output port. + params: + port: 0 diff --git a/framework/core/controlCommands/hdmioutput_hdcp_status.yaml b/framework/core/controlCommands/hdmioutput_hdcp_status.yaml new file mode 100644 index 0000000..394d240 --- /dev/null +++ b/framework/core/controlCommands/hdmioutput_hdcp_status.yaml @@ -0,0 +1,29 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmioutput: + command: hdcp_status + description: Sends the HDCP status change event for HDMI output port. + params: + port: 0 + status: AUTHENTICATED + version: VERSION_2_X diff --git a/framework/core/controlCommands/hdmioutput_hotplug_state.yaml b/framework/core/controlCommands/hdmioutput_hotplug_state.yaml new file mode 100644 index 0000000..735ca31 --- /dev/null +++ b/framework/core/controlCommands/hdmioutput_hotplug_state.yaml @@ -0,0 +1,28 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2025 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +hdmioutput: + command: hotplug_state + description: Sends the hotplug state change event for HDMI output ports. + params: + port: 0 + connected: true diff --git a/framework/core/controlCommands/motionsensor_trigger.yaml b/framework/core/controlCommands/motionsensor_trigger.yaml new file mode 100644 index 0000000..0968e0e --- /dev/null +++ b/framework/core/controlCommands/motionsensor_trigger.yaml @@ -0,0 +1,26 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2026 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +IMotionSensor: # Component object begins + command: "motion_sensor_event" + sensor_id: 0 # ID of the sensor to trigger + event: "MOTION" # Possible values: MOTION | NO_MOTION diff --git a/framework/core/controlCommands/thermalsensor_trigger.yaml b/framework/core/controlCommands/thermalsensor_trigger.yaml new file mode 100644 index 0000000..e20e37b --- /dev/null +++ b/framework/core/controlCommands/thermalsensor_trigger.yaml @@ -0,0 +1,27 @@ +#** ***************************************************************************** +# * +# * If not stated otherwise in this file or this component's LICENSE file the +# * following copyright and licenses apply: +# * +# * Copyright 2026 RDK Management +# * +# * Licensed under the Apache License, Version 2.0 (the "License"); +# * you may not use this file except in compliance with the License. +# * You may obtain a copy of the License at +# * +# * +# * http://www.apache.org/licenses/LICENSE-2.0 +# * +# * Unless required by applicable law or agreed to in writing, software +# * distributed under the License is distributed on an "AS IS" BASIS, +# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# * See the License for the specific language governing permissions and +# * limitations under the License. +# * +#** ****************************************************************************** + +IThermalSensor: # Component object begins + command: "temperature_update" + sensorName: "SoC Die" # sensor providing the reading + temperatureCelsius: 100.0 # injected temperature in Celsius + timestampMonotonicMs: 0 # optional: monotonic timestamp in ms