Skip to content

Commit 3992f8f

Browse files
committed
Merge branch 'release/1.4.2' into main
2 parents caa3b09 + 1449587 commit 3992f8f

File tree

3 files changed

+68
-1
lines changed

3 files changed

+68
-1
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,15 @@ 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.4.2](https://github.com/rdkcentral/entservices-apis/compare/1.4.1...1.4.2)
8+
9+
- RDKEMW-1016 Add COM-RPC support to LEDControl plugin [`#157`](https://github.com/rdkcentral/entservices-apis/pull/157)
10+
- Merge tag '1.4.1' into develop [`e2e96ce`](https://github.com/rdkcentral/entservices-apis/commit/e2e96ce04efecaa6f3259c22bcd52320a68e7e91)
11+
712
#### [1.4.1](https://github.com/rdkcentral/entservices-apis/compare/1.4.0...1.4.1)
813

14+
> 28 May 2025
15+
916
- RDKEMW-2653 ISystemMode.h Interface header not following coding guide… [`#219`](https://github.com/rdkcentral/entservices-apis/pull/219)
1017
- RDKEMW-2871 IFirmwareUpdate.h Interface header not following coding guidelines [`#218`](https://github.com/rdkcentral/entservices-apis/pull/218)
1118
- RDKEMW-2870: OCIContainer Interface header not following coding guidelines [`#210`](https://github.com/rdkcentral/entservices-apis/pull/210)

apis/Ids.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,9 @@ namespace Exchange {
273273
ID_WAREHOUSE_NOTIFICATION = ID_WAREHOUSE + 1,
274274

275275
ID_HDCPPROFILE = ID_ENTOS_OFFSET + 0x390,
276-
ID_HDCPPROFILE_NOTIFICATION = ID_HDCPPROFILE + 1
276+
ID_HDCPPROFILE_NOTIFICATION = ID_HDCPPROFILE + 1,
277+
278+
ID_LEDCONTROL = ID_ENTOS_OFFSET + 0x3A0
277279
};
278280
}
279281
}

apis/LEDControl/ILEDControl.h

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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 2025 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+
#include "Module.h"
22+
23+
// @stubgen:include <com/IIteratorType.h>
24+
25+
namespace WPEFramework
26+
{
27+
namespace Exchange
28+
{
29+
/* @json 1.0.0 @text:keep */
30+
struct EXTERNAL ILEDControl : virtual public Core::IUnknown
31+
{
32+
enum { ID = ID_LEDCONTROL };
33+
34+
using IStringIterator = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
35+
36+
struct EXTERNAL LEDControlState {
37+
string state;
38+
};
39+
40+
// @text getSupportedLEDStates
41+
// @brief Returns all the LED states supported by the platform
42+
// @param supportedLEDStates - out - string [] of supported LED states
43+
// @param success - out - boolean
44+
virtual Core::hresult GetSupportedLEDStates(IStringIterator*& supportedLEDStates /* @out */, bool& success /* @out */) = 0;
45+
46+
// @text getLEDState
47+
// @brief Returns current LED state.
48+
// @param LEDControlState - out
49+
virtual Core::hresult GetLEDState(LEDControlState& ledState /* @out */) = 0;
50+
51+
// @text setLEDState
52+
// @brief Change the device LED state to one mentioned in the input argument.
53+
// @param state - in - string
54+
// @param success - out - boolean
55+
virtual Core::hresult SetLEDState(const string& state, bool& success /* @out */) = 0;
56+
};
57+
} // namespace Exchange
58+
} // namespace WPEFramework

0 commit comments

Comments
 (0)