diff --git a/common/ca_ci.cpp b/common/ca_ci.cpp index b93a91a..8c4357e 100644 --- a/common/ca_ci.cpp +++ b/common/ca_ci.cpp @@ -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 diff --git a/include/ca_ci.h b/include/ca_ci.h index 0f26d99..5bb9b51 100644 --- a/include/ca_ci.h +++ b/include/ca_ci.h @@ -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