Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions framework/core/controlCommands/bootreason_external_triggers.yaml
Original file line number Diff line number Diff line change
@@ -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:
Comment on lines +23 to +25
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)
Original file line number Diff line number Diff line change
@@ -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
28 changes: 28 additions & 0 deletions framework/core/controlCommands/compositeinput_signal_status.yaml
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions framework/core/controlCommands/compositeinput_video_mode.yaml
Original file line number Diff line number Diff line change
@@ -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)
27 changes: 27 additions & 0 deletions framework/core/controlCommands/deepsleep_simulate_error.yaml
Original file line number Diff line number Diff line change
@@ -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
27 changes: 27 additions & 0 deletions framework/core/controlCommands/deepsleep_trigger.yaml
Original file line number Diff line number Diff line change
@@ -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
35 changes: 35 additions & 0 deletions framework/core/controlCommands/hdmicec_device_add.yaml
Original file line number Diff line number Diff line change
@@ -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
Comment on lines +31 to +32
port_id: 1
number_of_ports: 0
active_source: false
25 changes: 25 additions & 0 deletions framework/core/controlCommands/hdmicec_device_bus_status.yaml
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions framework/core/controlCommands/hdmicec_device_cec_message.yaml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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"]
47 changes: 47 additions & 0 deletions framework/core/controlCommands/hdmicec_device_config.yaml
Original file line number Diff line number Diff line change
@@ -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: []
Comment on lines +33 to +47
Loading