source: trunk/reader-common.h@ 8

Last change on this file since 8 was 8, checked in by smurzch2, 12 years ago

Start repository for OSCam (Open Source Cam)

The start is from the MpCS source code. Thanks a lot to the authors for this
great sources.

File size: 272 bytes
Line 
1#include "ctapi.h"
2#include "ctbcs.h"
3
4#define ADDRLEN 4 // Address length in EMM commands
5#define MAX_PROV 16
6#define SCT_LEN(sct) (3+((sct[1]&0x0f)<<8)+sct[2])
7#define MAX_LEN 256
8
9#define CARD_INSERTED 1
10#define CARD_NEED_INIT 2
11#define CARD_FAILURE 4
Note: See TracBrowser for help on using the repository browser.