Georgi Chorbadzhiyski
b5bd7a9ab0
Add service_id parameter to do_emm() camd callback.
This makes do_emm() and do_ecm() take the same parameters. The next
step is to make them take struct camd_msg as single parameter.
13 years ago
Georgi Chorbadzhiyski
c9542a19f6
Move struct camd_msg before camd ops definitions.
This move is in preparation to use struct camd_msg in camd ops.
13 years ago
Georgi Chorbadzhiyski
6404757eac
Move msg_id processing to be internal to cs378x protocol.
13 years ago
Georgi Chorbadzhiyski
e503839219
Move cs378x private data into its own structure.
13 years ago
Georgi Chorbadzhiyski
a71d02e33f
Rename struct camd35 to struct camd.
13 years ago
Georgi Chorbadzhiyski
832ada08db
makefile: If V is set show executed commands.
13 years ago
Georgi Chorbadzhiyski
9c8b59f683
makefile: Allow CFLAGS to be overridden.
13 years ago
Georgi Chorbadzhiyski
9b7ddc8a01
makefile: Split sources line.
13 years ago
Georgi Chorbadzhiyski
0fb86eef88
makefile: Fix mkdep command to work when cross compiling.
13 years ago
Georgi Chorbadzhiyski
94a74997be
makefile: The default compiler should be cc not gcc.
13 years ago
Georgi Chorbadzhiyski
d8bad87e7d
Split cs378x protocol from generic camd code.
13 years ago
Georgi Chorbadzhiyski
6e51e597e3
Add --output-{nit,eit,tdt}-pass to enable pass through in output filtering mode.
13 years ago
Georgi Chorbadzhiyski
49de3a80bc
If the input is MPTS rewrite output PAT.
When the input is MPTS and output filtering is enabled, rewrite output
PAT to include only the single program that is decoded.
13 years ago
Georgi Chorbadzhiyski
f490bf34fd
The parameter is called --input-service not --service.
13 years ago
Georgi Chorbadzhiyski
bfeabee6c8
makefile: Compile libraries before tsdecrypt objects.
13 years ago
Georgi Chorbadzhiyski
7f81f9aa5a
Update libtsfuncs.
13 years ago
Georgi Chorbadzhiyski
d393053fb2
Update libfuncs and libtsfuncs.
13 years ago
Georgi Chorbadzhiyski
2b1c54b830
Parse SDT and display provider and service name.
13 years ago
Georgi Chorbadzhiyski
58f50b8ba0
Update libfuncs.
13 years ago
Georgi Chorbadzhiyski
cfae08516c
Fit usage text in 80 chars.
13 years ago
Georgi Chorbadzhiyski
5a9d911916
List unused short options.
13 years ago
Georgi Chorbadzhiyski
f6f606830d
Use EXIT_SUCCESS and EXIT_FAILURE return codes.
13 years ago
Georgi Chorbadzhiyski
f9bb9d67ea
README: Add --bench/-b options.
I should remember to add options in README.
13 years ago
Georgi Chorbadzhiyski
66611cc394
makefile: Remove -std=c99 from CFLAGS.
PATH_MAX is not in c99 and also struct ip_mreq. With -std=c99
tsdecrypt do not compile with gcc 4.5.
13 years ago
Georgi Chorbadzhiyski
137011af77
Add --bench (-b) option that benchmarks libdvbcsa decryption.
13 years ago
Georgi Chorbadzhiyski
fb764b6a6e
Add -Wstrict-prototypes and -std=c99 to CFLAGS.
13 years ago
Georgi Chorbadzhiyski
a9ee2ed0d0
Remove --camd-pkt-delay (-y) option.
This workaround is no longer needed because camd socket is now set
TCP_NODELAY and this fixes OSCAM communication.
13 years ago
Georgi Chorbadzhiyski
d5520fe1a3
Update libtsfuncs to fix payload offset detection bug.
13 years ago
Georgi Chorbadzhiyski
b1f2902a37
README: Add --input-service option.
13 years ago
Georgi Chorbadzhiyski
505322ca48
Rename --service option to --input-service.
13 years ago
Georgi Chorbadzhiyski
9adf05eef0
Add missing -S to the list of short options.
13 years ago
Georgi Chorbadzhiyski
aa02d28ba0
Filter ECMs by table id (allow only 0x80 and 0x81).
13 years ago
Georgi Chorbadzhiyski
721a9b5040
Add --service option, to choose service id (program) in MPTS input.
13 years ago
Georgi Chorbadzhiyski
f284145003
ChangeLog: v4.0 addition.
13 years ago
Georgi Chorbadzhiyski
669132911b
Fix dumb bug.
13 years ago
Georgi Chorbadzhiyski
6eff4ccdb3
Set TCP_NODELAY to camd socket.
This way it works better when many packets are sended. Without
NODELAY, OSCAM sometimes gets packets boundaries wrong especially
when there are lots of packets (test with emm stream of 16000+
packets per minute).
13 years ago
Georgi Chorbadzhiyski
1f6d9a447f
README: Add syslog option.
13 years ago
Georgi Chorbadzhiyski
e947d8e1e7
RELEASE: Version 4.0
13 years ago
Georgi Chorbadzhiyski
e56d85bfd8
Add --syslog parameter to enable local syslog logging.
13 years ago
Georgi Chorbadzhiyski
4d00f226bb
Check if ident is set when notify-program is configured.
13 years ago
Georgi Chorbadzhiyski
3706892d96
Add notify_sync() and use it when reporting STOP event.
Without this the STOP event was lost most of the times because
tsdecrypt exited before the thread delivered the event.
13 years ago
Georgi Chorbadzhiyski
92b584b14d
man: Describe notification events.
13 years ago
Georgi Chorbadzhiyski
999206dd93
Sleep 10 ms when camd returned wrong code word answer.
13 years ago
Georgi Chorbadzhiyski
f603a99efb
Increase emm recv errors limit to 100.
13 years ago
Georgi Chorbadzhiyski
8830dee404
Mark code word error messages as such.
13 years ago
Georgi Chorbadzhiyski
50762790b8
Raise errors flags for ecm/emm processing only after couple of bad events.
This prevents unnececary warnings. Sometimes OSCAM responds with error
and on the next query everything is OK. So before raising errors flags
try a couple of times.
13 years ago
Georgi Chorbadzhiyski
ac45c0ebf1
Treat --ecm-no-log as flag.
13 years ago
Georgi Chorbadzhiyski
f5ee6ade90
Mark ecm/emm sending errors as such.
13 years ago
Georgi Chorbadzhiyski
6aa40e99df
README: Rewrite development section and add note about updating the code.
13 years ago
Georgi Chorbadzhiyski
1076bc1514
README: Add program usage text.
13 years ago