Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timesync with new interfaces #428

Draft
wants to merge 82 commits into
base: master
Choose a base branch
from
Draft

Conversation

biju-vi
Copy link

@biju-vi biju-vi commented Mar 17, 2025

Adding new interfaces for getting time sync status and setting time configuration based on tr-181 Device:2.Device.Time.

1 . GetStatus - To get the status whether time has synced or not. TSStatus is the enum for it
2. SetConfiguration - To set tr-181 configuration Device:2.Device.Time. TimeSyncConfiguration is the configuration dtructure for it

pwielders and others added 30 commits August 29, 2022 17:18
* [OCDM] Added new interfaces as discussed in the specification.

* [REVIEW] Update after review with Doug.

* [REVIEW] Update after review

* Update after review

* [OCDM] Move the subsamples to a simple array.

* [OCDM] OCDM Enhancements

* Review Comments from Doug

* More review comments

* Correct Return Values

Co-authored-by: Santhosh Ramani <[email protected]>
* [IBluetooth] Update with advertising functionality

* [IBluetooth] Further changes
Added Device lookup by type
Added ForgetDevice
Moved IsUUIDSupported to common class and renamed to IsServiceSupported
Removed dev comments

* [IBluetooth] Further fixes
Deprecated IsBonded and added IsPaired
Inline-implemented the depracated Device to call Device(..., LE_PUBLIC)
Made IsAdvertising const
Syntax fixes

* [Bluetooth.json] Update reflecing C++ changes

* [Bluetooth] Group enums together

* [Bluetooth] Update  names

* [Bluetooth] Make sure all methods are verbs

* [IBluetooth] Interface id is short int

* Add status listeners to the state events

* [BluetoothControl] Add pretty names to methods
TimeSync: update time property usage as deprecated
…al#227)

* Creating GitHub Action to build ThunderInterfaces

* Update Build ThunderInterfaces.yml
…ws (rdkcentral#232)

* Update and rename Build ThunderInterfaces.yml to Build ThunderInterfaces on Linux.yml

* Create Build ThunderInterfaces on Windows.yml

* Updating artifacts paths

* Updating checkout and output paths

* Changing project and solution paths

Apparently devenv can't open solution if not run from the very same folder..

* Prepare for PR and merge

* Optimizing runtime

no outside actions necessary

* More name changes
Referencing this action inside ThunderNanoServicesRDK breaks since the owner of this repo is different
* [WARNINGS] Resolve the tool generator warnings.

* [COMPOSITION] Add an interface to be used by the COmpositor to share between client and server.

* [COMPOSITION] Enable the COmpositionBuffer (Interface and reference implementation)
* [FIX] Make sure the windows build succeeds again :-)

* [PORTABILITY] Drop the preprocessor in favour of a default defined type (uintptr_t)

* [FIX] Search path needs to change to the interfaces, if you move the definitions.
* [PackMan] Introduction of PackageManager interface

* [PackMan] Adjusted license info

* [PackMan] More license changes
…mplementation. (rdkcentral#240)

Avoid to much copy-pasting during the use of value points (Range handling)
* [SPLIT] Make sure the definitions get their own space.

The definitions should be also from header file perspective a seperate package. It is already
a seperate library but it was mangled with the interfaces. This PR will properly seperate them.

interfaces -> Interface definitions (Pure Virtual Interfaces)
definitions -> Reference impletmentations of an interface, and enum definitions (text conversions).

* Update CMakelist.txt
vdinak240 and others added 25 commits November 1, 2023 11:46
…tral#272)

Reason for change: TTS thunder plugin missing "speechrate"
Test Procedure: Mentioned in ticket
Risks: Low

Signed-off-by: vdinak240 <[email protected]>
Co-authored-by: Pierre Wielders <[email protected]>
Reason for change: Enhancements to PersistentStore plugin
to support Scope, Time To Live.
Use of the RPC COM and JSON RPC interfaces.
Test Procedure: None
Risks: None
Signed-off-by: Nikita Poltorapavlo <[email protected]>
RDK-45037 : Secure Storage Thunder Plugin
…rdkcentral#333)

Reason for change: add additional resolutions in DeviceInfo json file in Thunder 4.2

Test Procedure: Build and verify

Risks: Low
…dkcentral#278)

* REFPLTV-1561 - Added support for value "PI" in DeviceInfo.json file

REFPLTV-1561 RDKServices: Some of the APIs in DeviceInfo plugin are returning ERROR_GENERAL message

Reason for change: Support is added for RPI.
Test Procedure: Ensure the DeviceInfo plugin functionality.
Risks: low.
Signed-off-by: [email protected]

* Update DeviceInfo.json for make and modelid support for RPI

---------

Co-authored-by: Pierre Wielders <[email protected]>
…ranch (rdkcentral#284)

* REFPLTV-1561 - Added support for value "PI" in DeviceInfo.json file

REFPLTV-1561 RDKServices: Some of the APIs in DeviceInfo plugin are returning ERROR_GENERAL message

Reason for change: Support is added for RPI.
Test Procedure: Ensure the DeviceInfo plugin functionality.
Risks: low.
Signed-off-by: [email protected]

* Update DeviceInfo.json for make and modelid support for RPI

* Update DeviceInfo.json to fix REFPLTV-1561 devicetype property support

REFPLTV-1561 RDKServices: Some of the APIs in DeviceInfo plugin are returning ERROR_GENERAL message

Reason for change: Support is added for RPI devicetype property.
Test Procedure: Ensure the DeviceInfo plugin functionality for devicetype property. Value for devicetype will be fetched from device.properties file for DEVICE_TYPE field for rpi.
Risks: low.
Signed-off-by: [email protected]

---------

Co-authored-by: Pierre Wielders <[email protected]>
Reason for change: "Manufacturer" name is empty in pioneer 2K
Test Procedure: None
Risks: None
Signed-off-by: Nikita Poltorapavlo <[email protected]>
RDK-48604: New UserSettings Thunder Plugin
Reason for change: return Sky_CP instead of Amlogic_Inc
Test Procedure: None
Risks: None
Signed-off-by: ramkumar_prabaharan <[email protected]>
RDKTV-31447 LlamaGlass make name shows Amlogic_Inc
Reason for change: Lowercase for consistency with previous json spec.
Test Procedure: None
Risks: None
Signed-off-by: Nikita Poltorapavlo <[email protected]>
… and results are inconsistent across Xumo platforms

Reason for change: DeviceInfo properties are returning "ERROR_GENERAL"
Error: DeviceInfo properties are returning "ERROR_GENERAL"
Test Procedure: Verify the DeviceInfo properties response
Risks: Low
Signed-off-by:AkshayKumar_Gampa <[email protected]>
DELIA-66154: Some DeviceInfo properties are returning "ERROR_GENERAL"…
…onfiguration based on tr-181 Device:2.Device.Time.
@CLAassistant
Copy link

CLAassistant commented Mar 17, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
19 out of 20 committers have signed the CLA.

✅ pwielders
✅ Divya-563
✅ MFransen69
✅ sebaszm
✅ bramoosterhuis
✅ vdinak240
✅ rwarier
✅ anand-ky
✅ VeithMetro
✅ npoltorapavlo
✅ sborushevsky
✅ SajjadComcast
✅ agampa263
✅ sithanda
✅ ramkumarpraba
✅ liginPunoose
✅ amabose
✅ HaseenaSainul
✅ Karthick-Somasundaresan
❌ biju-vi


biju-vi seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@biju-vi biju-vi marked this pull request as draft March 17, 2025 14:29
biju-vi added 3 commits March 19, 2025 14:58
… methods are supposed to be pure virtual functions(= 0). Then we need to implement them in both TimeSync and Chrony plugins. We need a proper way to extend this so that implementaion should be done in Chrony plugin alone. For the time being, the work around is to use {return 0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.