SASC
DVBSoftCAM

sc-conax.c File Reference

#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "system-common.h"
#include "smartcard.h"
#include "parse.h"
#include "misc.h"
#include "log-sc.h"
#include "log-core.h"
#include "version.h"

Go to the source code of this file.

Classes

class  cSystemScConax
class  cSystemLinkScConax
class  cSmartCardDataConax
struct  stdent
class  cSmartCardConax
class  cSmartCardLinkConax

Defines

#define SYSTEM_CONAX   0x0B00
#define SYSTEM_NAME   "SC-Conax"
#define SYSTEM_PRI   -5
#define SYSTEM_CAN_HANDLE(x)   ((x)==SYSTEM_CONAX)
#define SC_NAME   "Conax"
#define SC_ID   MAKE_SC_ID('C','o','n','x')
#define L_SC   9
#define L_SC_ALL   LALL(L_SC_LASTDEF)
#define STDENTTAG   0x32
#define PPVENTTAG   0x39
#define ADDR_SIZE   7

Enumerations

enum  eDataType {
  dtPIN, dtIPK, dtUCPK, dtPIN,
  dtPIN, dtAES, dtBoxId, dtSeed,
  dtPIN, dtIPK, dtUCPK, dtPIN,
  dtPIN, dtAES, dtBoxId, dtSeed
}

Functions

 SCAPIVERSTAG ()

Variables

static struct LogModule lm_sc
static cSystemLinkScConax staticInit
static struct StatusMsg msgs []
static struct CardConfig cardCfg
static cSmartCardLinkConax staticScInit

Define Documentation

#define ADDR_SIZE   7

Definition at line 162 of file sc-conax.c.

Referenced by cSmartCardConax::Init().

#define L_SC   9

Definition at line 43 of file sc-conax.c.

#define L_SC_ALL   LALL(L_SC_LASTDEF)

Definition at line 44 of file sc-conax.c.

#define PPVENTTAG   0x39

Definition at line 161 of file sc-conax.c.

#define SC_ID   MAKE_SC_ID('C','o','n','x')

Definition at line 41 of file sc-conax.c.

Referenced by cSystemLinkScConax::CanHandle().

#define SC_NAME   "Conax"

Definition at line 40 of file sc-conax.c.

Referenced by cSmartCardConax::Init().

#define STDENTTAG   0x32

Definition at line 160 of file sc-conax.c.

Referenced by cSmartCardConax::Init().

#define SYSTEM_CAN_HANDLE (   x)    ((x)==SYSTEM_CONAX)

Definition at line 38 of file sc-conax.c.

#define SYSTEM_CONAX   0x0B00

Definition at line 34 of file sc-conax.c.

#define SYSTEM_NAME   "SC-Conax"

Definition at line 36 of file sc-conax.c.

#define SYSTEM_PRI   -5

Definition at line 37 of file sc-conax.c.


Enumeration Type Documentation

enum eDataType
Enumerator:
dtPIN 
dtIPK 
dtUCPK 
dtPIN 
dtPIN 
dtAES 
dtBoxId 
dtSeed 
dtPIN 
dtIPK 
dtUCPK 
dtPIN 
dtPIN 
dtAES 
dtBoxId 
dtSeed 

Definition at line 97 of file sc-conax.c.

{ dtPIN };

Function Documentation

SCAPIVERSTAG ( )

Variable Documentation

struct CardConfig cardCfg [static]
Initial value:
 {
  SM_8E2,1000,100
  }

Definition at line 196 of file sc-conax.c.

struct LogModule lm_sc [static]
Initial value:

Definition at line 46 of file sc-conax.c.

struct StatusMsg msgs[] [static]
Initial value:
 {
  { { 0x90,0x00 }, "Instruction executed without errors", true },
  { { 0x90,0x11 }, "Bad instruction", false },
  { { 0x90,0x12 }, "Access denied, check your subscription", false },
  { { 0x90,0x13 }, "Bit error detected", false },
  { { 0x90,0x16 }, "Insuficient info", false },
  { { 0x94,0x00 }, "Instruction executed without errors, waiting for user interaction", true },
  { { 0x98,0xFF }, "Instruction accepted, data to be read", true },
  { { 0x9c,0xFF }, "Instruction accepted, data to be read", true },
  { { 0xFF,0xFF }, 0, false }
  }

Definition at line 184 of file sc-conax.c.

Definition at line 76 of file sc-conax.c.

Definition at line 452 of file sc-conax.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines