TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
tstlv.h File Reference

Definitions for the TLV protocols. More...

Classes

class  ts::tlv::DeserializationInternalError
 Exception raised by deserialization of messages. More...
 

Namespaces

namespace  ts
 TSDuck namespace, containing all TSDuck classes and functions.
 
namespace  ts::tlv
 Namespace for TLV protocols (Tag / Length / Value)
 

Typedefs

using ts::tlv::LENGTH = uint16_t
 Type for TLV length fields (16 bits).
 
using ts::tlv::TAG = uint16_t
 Type for TLV tags (16 bits).
 
using ts::tlv::VERSION = uint8_t
 Type for TLV protocol version (8 bits).
 

Enumerations

enum  ts::tlv::Error : uint16_t {
  ts::tlv::OK ,
  ts::tlv::UnsupportedVersion ,
  ts::tlv::InvalidMessage ,
  ts::tlv::UnknownCommandTag ,
  ts::tlv::UnknownParameterTag ,
  ts::tlv::InvalidParameterLength ,
  ts::tlv::InvalidParameterCount ,
  ts::tlv::MissingParameter
}
 Errors from TLV message analysis. More...
 

Variables

const TAG ts::tlv::NULL_TAG = 0x0000
 This tag is not used by DVB and can serve as "no value".
 

Detailed Description

Definitions for the TLV protocols.