Skip to content

Commit 2765c54

Browse files
authored
Merge branch 'develop' into topic/RDKEMW-7765
2 parents e9fcc1e + 6037584 commit 2765c54

File tree

3 files changed

+111
-2
lines changed

3 files changed

+111
-2
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,20 @@ All notable changes to this project will be documented in this file. Dates are d
44

55
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66

7+
#### [1.15.11](https://github.com/rdkcentral/entservices-apis/compare/1.15.10...1.15.11)
8+
9+
- Feature/rdkemw 1013 comrpc [`#275`](https://github.com/rdkcentral/entservices-apis/pull/275)
10+
- Update CODEOWNERS [`c99da5e`](https://github.com/rdkcentral/entservices-apis/commit/c99da5efc73a038b5749bf004ea54120a1b4b37d)
11+
- Merge tag '1.15.10' into develop [`696cc24`](https://github.com/rdkcentral/entservices-apis/commit/696cc2474e013f70a0d94dbede0636c8e9d24700)
12+
713
#### [1.15.10](https://github.com/rdkcentral/entservices-apis/compare/1.15.9...1.15.10)
814

15+
> 12 September 2025
16+
917
- RDKEMW-6718 : Add support for plugin specific error codes [`#507`](https://github.com/rdkcentral/entservices-apis/pull/507)
1018
- RDKEMW-6718: Create entservices_errorcodes.h [`4827b3a`](https://github.com/rdkcentral/entservices-apis/commit/4827b3aed79e56181e31c0b00b0f0a736f2814f8)
19+
- 1.15.10 release changelog updates [`45708eb`](https://github.com/rdkcentral/entservices-apis/commit/45708eb376adcbe8f9d2ec5ce87645f41b8569db)
1120
- Update entservices_errorcodes.h [`225d8eb`](https://github.com/rdkcentral/entservices-apis/commit/225d8eb06c2c1266f61c56713f5c5f02d62b4270)
12-
- Update entservices_errorcodes.h [`e2de366`](https://github.com/rdkcentral/entservices-apis/commit/e2de3668f895cb2b0cd80895a2775029882456be)
1321

1422
#### [1.15.9](https://github.com/rdkcentral/entservices-apis/compare/1.15.8...1.15.9)
1523

apis/FrontPanel/IFrontPanel.h

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
/*
2+
* If not stated otherwise in this file or this component's LICENSE file the
3+
* following copyright and licenses apply:
4+
*
5+
* Copyright 2024 RDK Management
6+
*
7+
* Licensed under the Apache License, Version 2.0 (the "License");
8+
* you may not use this file except in compliance with the License.
9+
* You may obtain a copy of the License at
10+
*
11+
* http://www.apache.org/licenses/LICENSE-2.0
12+
*
13+
* Unless required by applicable law or agreed to in writing, software
14+
* distributed under the License is distributed on an "AS IS" BASIS,
15+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
* See the License for the specific language governing permissions and
17+
* limitations under the License.
18+
*/
19+
20+
#pragma once
21+
22+
#include "Module.h"
23+
#include <vector>
24+
25+
// @stubgen:include <com/IIteratorType.h>
26+
27+
namespace WPEFramework
28+
{
29+
namespace Exchange
30+
{
31+
// @json @text:keep
32+
struct EXTERNAL IFrontPanel : virtual public Core::IUnknown {
33+
enum { ID = ID_FRONT_PANEL };
34+
35+
36+
struct EXTERNAL FrontPanelSuccess {
37+
bool success;
38+
};
39+
40+
using IFrontPanelLightsListIterator = RPC::IIteratorType<string, ID_FRONT_PANEL_LIGHTS_LIST_ITERATOR>;
41+
42+
// @json:omit
43+
virtual Core::hresult Configure(PluginHost::IShell* service) = 0;
44+
45+
// @brief Gets the status of the Front Panel
46+
// @text getBrightness
47+
// @param index: Index of the brightness level
48+
// @param brightness: Brightness level
49+
// @param success: Is the operation successful or not
50+
virtual Core::hresult GetBrightness(const string& index, uint32_t &brightness /* @out */, bool &success /* @out */) = 0;
51+
52+
// @brief Gets the front panel lights
53+
// @text getFrontPanelLights
54+
// @param supportedLights: List of supported front panel lights
55+
// @param supportedLightsInfo: Information about the supported front panel lights
56+
// @param success: Is the operation successful or not
57+
virtual Core::hresult GetFrontPanelLights(IFrontPanelLightsListIterator*& supportedLights /* @out */, string &supportedLightsInfo /* @out @opaque */, bool &success /* @out */) = 0;
58+
59+
// @brief Switches the specified LED off
60+
// @text powerLedOff
61+
// @param index: Index of the LED to switch off
62+
// @param success: Is the operation successful or not
63+
virtual Core::hresult PowerLedOff(const string& index, FrontPanelSuccess &success /* @out */) = 0;
64+
65+
// @brief Switches the specified LED on
66+
// @text powerLedOn
67+
// @param index: Index of the LED to switch on
68+
// @param success: Is the operation successful or not
69+
virtual Core::hresult PowerLedOn(const string& index, FrontPanelSuccess &success /* @out */) = 0;
70+
71+
// @brief Sets a blink pattern for the specified LED. The blinkInfo parameter is a JSON string containing: ledIndicator (string)
72+
// @text setBlink
73+
// @param blinkInfo: JSON string with blink pattern information containing ledIndicator, iterations, and pattern array with brightness, duration(milliseconds), and optional color and red/green/blue values.
74+
// @param success: Is the operation successful or not
75+
virtual Core::hresult SetBlink(const string& blinkInfo /* @opaque */, FrontPanelSuccess &success /* @out */) = 0;
76+
77+
// @brief Sets the brightness of the specified LED
78+
// @text setBrightness
79+
// @param index: Index of the brightness level
80+
// @param brightness: Brightness level to set
81+
// @param success: Is the operation successful or not
82+
virtual Core::hresult SetBrightness(const string& index, const uint32_t brightness, FrontPanelSuccess &success /* @out */) = 0;
83+
84+
// @brief Sets the LED with the specified color and brightness
85+
// @text setLED
86+
// @param ledIndicator: LED indicator to set
87+
// @param brightness: Brightness level of the LED
88+
// @param color: Color of the LED
89+
// @param red: Red component of the LED color
90+
// @param green: Green component of the LED color
91+
// @param blue: Blue component of the LED color
92+
// @param success: Is the operation successful or not
93+
virtual Core::hresult SetLED(const string& ledIndicator, const uint32_t brightness, const string& color, const uint32_t red, const uint32_t green, const uint32_t blue, FrontPanelSuccess &success /* @out */) = 0;
94+
95+
};
96+
} // namespace Exchange
97+
} // namespace WPEFramework

apis/Ids.h

100644100755
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,11 @@ namespace Exchange {
296296
ID_MIRACAST_SERVICE_NOTIFICATION = ID_MIRACAST_SERVICE + 1,
297297
ID_MIRACAST_PLAYER = ID_MIRACAST_SERVICE + 2,
298298
ID_MIRACAST_PLAYER_NOTIFICATION = ID_MIRACAST_SERVICE + 3,
299-
ID_MIRACAST_PLAYER_ENV_ARGUMENTS_ITERATOR = ID_MIRACAST_SERVICE + 4
299+
ID_MIRACAST_PLAYER_ENV_ARGUMENTS_ITERATOR = ID_MIRACAST_SERVICE + 4,
300+
301+
ID_FRONT_PANEL = ID_ENTOS_OFFSET + 0x3E0,
302+
ID_FRONT_PANEL_LIGHTS_LIST_ITERATOR = ID_FRONT_PANEL + 1,
303+
ID_FRONT_PANEL_BLINK_INFO_LIST_ITERATOR = ID_FRONT_PANEL + 2
300304
};
301305
}
302306
}

0 commit comments

Comments
 (0)