vuplus: relevant pids routing

Origin commit data
------------------
Branch: master
Commit: 373be7cefe
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-01-18 (Sat, 18 Jan 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2020-01-18 00:00:23 +01:00
committed by vanhofen
parent 259cb0b827
commit d0aa87943c
2 changed files with 15 additions and 0 deletions

View File

@@ -1948,4 +1948,17 @@ void cCA::SetCIDelay(int Delay)
fclose(ci);
}
}
void cCA::SetCIRelevantPidsRouting(bool RPR, int slot)
{
char buf[64];
snprintf(buf, 64, "/proc/stb/tsmux/ci%d_relevant_pids_routing", slot);
FILE *ci = fopen(buf, "wb");
printf("%s -> %s to: %b\n", FILENAME, __func__, RPR);
if (ci)
{
fprintf(ci, "%i", RPR == true ? "yes" : "no");
fclose(ci);
}
}
#endif

View File

@@ -332,6 +332,8 @@ public:
#if BOXMODEL_VUPLUS
/// dvb wait delay for ci response
void SetCIDelay(int Delay);
/// relevant pids routing
void SetCIRelevantPidsRouting(bool RPR, int slot = 0);
#endif
/// Start the CA module