Skip to content

Commit

Permalink
XIONE-9937: CEC bus busy write failures
Browse files Browse the repository at this point in the history
Reason for change:
CEC bus busy write failures
Self ping removed
Test Procedure: None
Risks: Low

Change-Id: I290b608f843f44f9fc93984b2e20830303116f04
Signed-off-by:Anooj Cheriyan <[email protected]>
  • Loading branch information
acheri988 committed Dec 9, 2022
1 parent 556e81d commit f1685e9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
4 changes: 4 additions & 0 deletions HdmiCec/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.0.4] - 2022-12-09
### Fixed
- Self ping removed

## [1.0.3] - 2022-11-22
### Fixed
- RAII thread midifications
Expand Down
6 changes: 5 additions & 1 deletion HdmiCec/HdmiCec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
#define API_VERSION_NUMBER_PATCH 3
#define API_VERSION_NUMBER_PATCH 4

enum {
HDMICEC_EVENT_DEVICE_ADDED=0,
Expand Down Expand Up @@ -854,6 +854,10 @@ namespace WPEFramework
bool HdmiCec::pingDeviceUpdateList (int idev)
{
bool isConnected = false;
//self ping is not required
if ((unsigned int)idev == logicalAddress){
return isConnected;
}
if(!HdmiCec::_instance)
{
LOGERR("HdmiCec::_instance not existing");
Expand Down
4 changes: 4 additions & 0 deletions HdmiCec_2/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.

* For more details, refer to [versioning](https://github.com/rdkcentral/rdkservices#versioning) section under Main README.

## [1.0.5] - 2022-12-09
### Fixed
- Self ping removed

## [1.0.4] - 2022-11-22
### Fixed
- RAII thread midifications
Expand Down
6 changes: 5 additions & 1 deletion HdmiCec_2/HdmiCec_2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
#define HDMICEC_EVENT_ON_STANDBY_MSG_RECEIVED "standbyMessageReceived"
#define DEV_TYPE_TUNER 1
#define HDMI_HOT_PLUG_EVENT_CONNECTED 0
#define ABORT_REASON_ID 4
#define ABORT_REASON_ID 5

#define API_VERSION_NUMBER_MAJOR 1
#define API_VERSION_NUMBER_MINOR 0
Expand Down Expand Up @@ -1424,6 +1424,10 @@ namespace WPEFramework
bool HdmiCec_2::pingDeviceUpdateList (int idev)
{
bool isConnected = false;
//self ping is not required
if (idev == logicalAddress.toInt()){
return isConnected;
}
if(!HdmiCec_2::_instance)
{
LOGERR("HdmiCec_2::_instance not existing");
Expand Down

0 comments on commit f1685e9

Please sign in to comment.