This wiki has been migrated to and is now deprecated. Please use that site instead.
Differences between revisions 8 and 9
Revision 8 as of 2011-08-03 20:07:21
Size: 3228
Editor: GuyHarris
Comment: Add missing "but".
Revision 9 as of 2011-08-08 21:15:11
Size: 3328
Editor: MartinKaiser
Deletions are marked like this. Additions are marked like this.
Line 48: Line 48:
== Example capture file == == Example capture files ==
Line 50: Line 50:

''[[attachment:SampleCaptures/dvb-ci_2.pcap]] fragmentation and reassembly on the link layer ''

DVB Common-Interface (DVB-CI)

DVB-CI defines an interface between a DVB receiver (TV set, Set-Top-Box, Bluray recorder etc.) and a PC-Card module (Conditional Access Module, CAM). It consists of a transport stream interface and a command interface.

On the transport stream interface, a DVB Transport Stream can be routed through the module and optionally be descrambled. The command interface transfers commands like start descrambling. The DVB-CI dissector processes command interface traffic and some hardware events such as module inserted/extracted


DVB-CI was defined by DVB in 1997. An extension document followed in 1999, but the extensions defined there were never implemented in practice.

CI+ added content security and other features on top of DVB-CI. CI+ version 1.2 was published in May 2009, version 1.3 followed in January 2011.

standards documents

Example traffic

The screenshot shows dissection of the application_info() APDU. The capture contains no timestamps. If timestamps are available, the dissector can handle them.



The DVB-CI dissector was written by Martin Kaiser ( ). It is in beta state.

The following features of the DVB-CI standard EN50221 are supported

  • hardware events (module inserted/removed, power on/off, ...)

  • Card Information Structure (CIS)

  • link, transport, session layer

  • reassembly of fragmented LPDUs

  • resource manager, application information, ca, mmi, date-time and host control resource

To complete EN50221 support, fragmentation of TPDUs will be added shortly.

Low-level MMI and low-speed communication will not be supported. The same goes for the DVB-CI extensions (TS 101 699).

Once DVB-CI support is complete, the next milestone is CI+ 1.2 support.

The dissector uses pcap files with datalink type 235. The corresponding format is documented at

Preference Settings

There are no preference settings for DVB-CI itself.

However, DVB-CI uses length fields in ASN.1 BER format in many messages. To dissect these length fields, the DVB-CI dissector uses the existing BER code. To display details of each length field, select Show internal BER encapsulation tokens from the Edit / Preferences / Protocols / BER preferences.

Example capture files

SampleCaptures/dvb-ci_1.pcap startup, requests for descrambling, removal

SampleCaptures/dvb-ci_2.pcap fragmentation and reassembly on the link layer

Display Filter

Capture Filter


DVB-CI (last edited 2012-08-15 20:24:03 by MartinKaiser)