Skip to main content

Module managed

Module managed 

Source
Expand description

Managed CAS-layer state (#763) — the Driver’s owned view of the slot’s active descrambled-service set.

This is Layer 1 of the #763 CAS orchestration design (docs/superpowers/specs/2026-07-24-dvb-ci-cas-layer-design.md): parsed dvb-si structures in (never raw bytes), the existing dvb_ci::builder::build_ca_pmt PMT→ca_pmt projection (ETSI EN 50221 §8.4.3.4, Table 25) does the wire work, and this module just tracks what was sent. Driver::add_service builds + sends the ca_pmt and records the service here.

Structs§

ManagedCa
The Driver’s owned CAS-layer state (#763 Layer 1) — one CI slot’s active service set plus the entitlement re-query cadence.
ManagedService
One actively-managed service (owned, no borrowed lifetime — copied out of the caller’s PmtSection at Driver::add_service time).

Enums§

CaError
Errors from the managed CAS-layer API (Driver::add_service and friends, #763).

Constants§

REQUERY_DEFAULT
Default entitlement re-query cadence (#763 Task 5’s Resource::tick-driven refresh; Duration::ZERO disables it). Set on ManagedCa::new so the field is in place before the re-query timer is wired up.