Skip to content

Commit 436a2aa

Browse files
Merge branch 'develop' into topic/RDKEMW-6918
2 parents 8c0f48f + 8cdc936 commit 436a2aa

File tree

11 files changed

+2868
-203
lines changed

11 files changed

+2868
-203
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,40 @@ 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.16.6](https://github.com/rdkcentral/entservices-apis/compare/1.16.5...1.16.6)
8+
9+
- RDKEMW-7984 : Add DeviceIdentification and MessageControl plugin to [`#513`](https://github.com/rdkcentral/entservices-apis/pull/513)
10+
- Merge tag '1.16.5' into develop [`846f6e3`](https://github.com/rdkcentral/entservices-apis/commit/846f6e39f80e84bc699eda652a845fda878d8958)
11+
12+
#### [1.16.5](https://github.com/rdkcentral/entservices-apis/compare/1.16.4...1.16.5)
13+
14+
> 23 September 2025
15+
16+
- RDKEMW-3789: refactor ILEDControl plugin interface with proper LED state enum. [`#529`](https://github.com/rdkcentral/entservices-apis/pull/529)
17+
- rebase [`#547`](https://github.com/rdkcentral/entservices-apis/pull/547)
18+
- rebase [`#543`](https://github.com/rdkcentral/entservices-apis/pull/543)
19+
- rebase [`#531`](https://github.com/rdkcentral/entservices-apis/pull/531)
20+
- rebase [`#528`](https://github.com/rdkcentral/entservices-apis/pull/528)
21+
- rebase [`#520`](https://github.com/rdkcentral/entservices-apis/pull/520)
22+
- rebase [`#490`](https://github.com/rdkcentral/entservices-apis/pull/490)
23+
- 1.16.5 release changelog updates [`fa4089a`](https://github.com/rdkcentral/entservices-apis/commit/fa4089a403ccc8761640eab5fe037416ab3250c4)
24+
- Merge tag '1.16.4' into develop [`ad0130d`](https://github.com/rdkcentral/entservices-apis/commit/ad0130d7748db0dbe51afe2eda1badacf48ddf21)
25+
- RDKEMW-3789: update the LEDControlPlugin.md [`779375b`](https://github.com/rdkcentral/entservices-apis/commit/779375bf984b7fc83d0371be3e18a8d8b3297bbc)
26+
27+
#### [1.16.4](https://github.com/rdkcentral/entservices-apis/compare/1.16.3...1.16.4)
28+
29+
> 23 September 2025
30+
31+
- RDKEMW-6916: Create documentation for AppManager [`#538`](https://github.com/rdkcentral/entservices-apis/pull/538)
32+
- 1.16.4 release changelog updates [`dd0dcd7`](https://github.com/rdkcentral/entservices-apis/commit/dd0dcd7e2d38c2876e422d791b5122faa58bfe89)
33+
- Merge tag '1.16.3' into develop [`7b3edec`](https://github.com/rdkcentral/entservices-apis/commit/7b3edeccb63d476d2d6c2a29f98798101151d2ba)
34+
735
#### [1.16.3](https://github.com/rdkcentral/entservices-apis/compare/1.16.2...1.16.3)
836

37+
> 19 September 2025
38+
939
- RDKEMW-7499: onAppInstallationStatus Event missing failReason [`#508`](https://github.com/rdkcentral/entservices-apis/pull/508)
40+
- 1.16.3 release changelog updates [`c504aa2`](https://github.com/rdkcentral/entservices-apis/commit/c504aa2849a81fa43bbfd9ab7523a82770e26e1d)
1041
- Merge tag '1.16.2' into develop [`b1e394c`](https://github.com/rdkcentral/entservices-apis/commit/b1e394c558d02490cfab7ce24c2848bd4d0b8e55)
1142

1243
#### [1.16.2](https://github.com/rdkcentral/entservices-apis/compare/1.16.1...1.16.2)

apis/LEDControl/ILEDControl.h

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,42 @@ namespace WPEFramework
3333

3434
using IStringIterator = RPC::IIteratorType<string, RPC::ID_STRINGITERATOR>;
3535

36-
struct EXTERNAL LEDControlState {
37-
string state;
36+
virtual ~ILEDControl() = default;
37+
38+
enum LEDControlState : uint8_t {
39+
LEDSTATE_NONE = 0 /* @text NONE */,
40+
LEDSTATE_ACTIVE /* @text ACTIVE */,
41+
LEDSTATE_STANDBY /* @text STANDBY */,
42+
LEDSTATE_WPS_CONNECTING /* @text WPS_CONNECTING */,
43+
LEDSTATE_WPS_CONNECTED /* @text WPS_CONNECTED */,
44+
LEDSTATE_WPS_ERROR /* @text WPS_ERROR */,
45+
LEDSTATE_FACTORY_RESET /* @text FACTORY_RESET */,
46+
LEDSTATE_USB_UPGRADE /* @text USB_UPGRADE */,
47+
LEDSTATE_DOWNLOAD_ERROR /* @text DOWNLOAD_ERROR */,
48+
LEDSTATE_MAX /* @text MAX */
49+
};
50+
51+
// Struct to wrap LEDControlState for API compatibility
52+
struct EXTERNAL LEDState {
53+
LEDControlState state;
3854
};
3955

4056
// @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
57+
// @details Returns the list of LED states that are actually supported by the platform at runtime. Possible values include `NONE`, `ACTIVE`, `STANDBY`, `WPS_CONNECTING`, `WPS_CONNECTED`, `WPS_ERROR`, `FACTORY_RESET`, `USB_UPGRADE` and `DOWNLOAD_ERROR`.
58+
// @param supportedLEDStates: string [] of supported LED states. e.g. "['ACTIVE', 'STANDBY', 'WPS_CONNECTING', 'WPS_CONNECTED', 'WPS_ERROR', 'FACTORY_RESET', 'USB_UPGRADE', 'DOWNLOAD_ERROR']"
59+
// @param success: boolean
4460
virtual Core::hresult GetSupportedLEDStates(IStringIterator*& supportedLEDStates /* @out */, bool& success /* @out */) = 0;
4561

4662
// @text getLEDState
47-
// @brief Returns current LED state.
48-
// @param LEDControlState - out
49-
virtual Core::hresult GetLEDState(LEDControlState& ledState /* @out */) = 0;
63+
// @brief Retrieves current state of the LED. e.g. {"state":"WPS_CONNECTING"}
64+
// @param ledState: LEDState
65+
virtual Core::hresult GetLEDState(LEDState& ledState /* @out */) = 0;
5066

5167
// @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;
68+
// @brief Sets the device LED to a requested state from those available in `GetSupportedLEDStates`.
69+
// @param state: LEDControlState. e.g. "FACTORY_RESET"
70+
// @param success: boolean
71+
virtual Core::hresult SetLEDState(const LEDControlState& state, bool& success /* @out */) = 0;
5672
};
5773
} // namespace Exchange
5874
} // namespace WPEFramework

docs/_sidebar.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
- [**Overview**](overview/intro.md)
44
- [**API Reference**](/README)
55
- [Analytics](apis/AnalyticsPlugin.md)
6+
- [AppManager](apis/AppManagerPlugin.md)
67
- [AVInput](apis/AVInputPlugin.md)
78
- [Bluetooth](apis/BluetoothPlugin.md)
89
- [DeviceDiagnostics](apis/DeviceDiagnosticsPlugin.md)
10+
- [DeviceIdentification](apis/DeviceIdentificationPlugin.md)
911
- [DeviceInfo](apis/DeviceInfoPlugin.md)
1012
- [DisplayInfo](apis/DisplayInfoPlugin.md)
1113
- [DisplaySettings](apis/DisplaySettingsPlugin.md)
@@ -16,14 +18,17 @@
1618
- [HdcpProfile](apis/HdcpProfilePlugin.md)
1719
- [HdmiCecSink](apis/HdmiCecSinkPlugin.md)
1820
- [HdmiCecSource](apis/HdmiCecSourcePlugin.md)
21+
- [HomeKitTV](apis/HomeKitTVPlugin.md)
1922
- [LEDControl](apis/LEDControlPlugin.md)
2023
- [LifecycleManager](apis/LifecycleManagerPlugin.md)
2124
- [LinearPlaybackControl](apis/LinearPlaybackControlPlugin.md)
2225
- [MaintenanceManager](apis/MaintenanceManagerPlugin.md)
26+
- [MessageControl](apis/MessageControlPlugin.md)
2327
- [MiracastPlayer](apis/MiracastPlayerPlugin.md)
2428
- [MiracastService](apis/MiracastServicePlugin.md)
2529
- [Monitor](apis/MonitorPlugin.md)
2630
- [MotionDetection](apis/MotionDetectionPlugin.md)
31+
- [Netflix](apis/NetflixPlugin.md)
2732
- [OCIContainer](apis/OCIContainerPlugin.md)
2833
- [OpenCDMi](apis/OpenCDMiPlugin.md)
2934
- [Packager](apis/PackagerPlugin.md)
@@ -38,6 +43,7 @@
3843
- [ResourceManager](apis/ResourceManagerPlugin.md)
3944
- [ScreenCapture](apis/ScreenCapturePlugin.md)
4045
- [SharedStorage](apis/SharedStoragePlugin.md)
46+
- [StorageManager](apis/StorageManagerPlugin.md)
4147
- [SystemAudioPlayer](apis/SystemAudioPlayerPlugin.md)
4248
- [SystemMode](apis/SystemModePlugin.md)
4349
- [SystemServices](apis/SystemPlugin.md)

0 commit comments

Comments
 (0)