vuplus: relevant pids routing

This commit is contained in:
BPanther
2020-01-18 00:00:23 +01:00
committed by Thilo Graf
parent c14601465a
commit f14212783b
2 changed files with 15 additions and 0 deletions

View File

@@ -1948,4 +1948,17 @@ void cCA::SetCIDelay(int Delay)
fclose(ci); 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 #endif

View File

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