Commit Graph

72 Commits

Author SHA1 Message Date
Klaus Schmidinger de1ce0b27d Revoked "Fixed some compiler warnings with Clang 3.4.1" from ci.c, because this did not compile with older versions of gcc 2014-02-25 10:04:07 +01:00
Klaus Schmidinger e5fde77e56 Fixed some compiler warnings with Clang 3.4.1 2014-02-08 13:00:39 +01:00
Klaus Schmidinger 5ac41bf091 Revoked "Fixed sending CA descriptors to CAMs in case a cReceiver is not used for a recording or live view" - was unstable 2014-01-24 11:55:40 +01:00
Klaus Schmidinger 549c499501 Fixed a wrong alignment in cCiDateTime::SendDateTime() 2014-01-22 09:41:08 +01:00
Klaus Schmidinger 1df6a87249 Now waiting explicitly until all CAM slots are ready before switching to the initial channel when VDR is started 2014-01-16 11:57:54 +01:00
Klaus Schmidinger ac44e6f2ae Added logging the supported system ids of a CAM 2014-01-15 10:21:48 +01:00
Klaus Schmidinger 1d869c4b36 Fixed sending CA descriptors to CAMs in case a cReceiver is not used for a recording or live view, like e.g. streaming clients 2014-01-14 14:39:59 +01:00
Klaus Schmidinger e7c86c6760 Improved locking for CAM slots and made the pure functions of cCiAdapter have default implementations 2014-01-14 12:21:17 +01:00
Klaus Schmidinger a84defe86f Added support for buffered CAM decryption 2014-01-02 10:47:08 +01:00
Klaus Schmidinger 566c6fa464 Added receiving Ca pids to cCamSlot 2014-01-01 12:37:22 +01:00
Klaus Schmidinger 63ee17701a Added a check to avoid a possible NULL pointer dereference in cCiSession::SendData() 2013-12-29 17:20:22 +01:00
Klaus Schmidinger 00e2415b81 Implemented cCamSlot::Decrypt() 2013-12-28 13:29:54 +01:00
Klaus Schmidinger 3ca58a42e7 Removed trailing whitespace 2013-02-17 13:19:36 +01:00
Klaus Schmidinger ff27cca4fe Removed all \return and \param tags from comment lines marked with "///<" for Doxygen 2013-02-16 15:26:45 +01:00
Klaus Schmidinger 9f832ef482 Fixed some compiler warnings under gcc version 4.7.1 2012-10-07 11:13:18 +02:00
Klaus Schmidinger 5ee947a492 Fixed resetting CAMs 2012-05-29 11:19:56 +02:00
Klaus Schmidinger 28bc34b245 Revised priority handling to allow receivers with a priority that is lower than that of live viewing 2012-03-02 10:19:00 +01:00
Klaus Schmidinger 80e3c06fa7 Subtitle PIDs are now also decrypted 2011-05-21 15:24:10 +02:00
Klaus Schmidinger 0faae7c3f0 Fixed handling the "CA PMT" generation (cont'd) 2010-01-02 10:39:50 +01:00
Klaus Schmidinger 39f1ba7e03 Fixed handling the "CA PMT" generation 2010-01-01 13:38:02 +01:00
Klaus Schmidinger 6a208294be Several code modifications to avoid compiler warnings 2009-12-06 12:57:45 +01:00
Klaus Schmidinger be3ea31119 Fixed handling QUERY 2009-08-16 13:21:07 +02:00
Klaus Schmidinger 6d060a98f2 Fixed generating CaPmts in case audio and video are encrypted using different ECM pids 2009-08-15 22:19:42 +02:00
Klaus Schmidinger 7bc94dbcf4 Increased the time between checking the CAM status to 500ms to avoid problems with some CAMs 2008-04-13 13:30:55 +02:00
Klaus Schmidinger 37cca63f31 Increased the maximum number of CA system ids to cope with the AlphaCrypt CAM's version 3.11 firmware 2007-04-30 13:03:29 +02:00
Klaus Schmidinger 87dd5139ff CAM handling refactored; multiple recordings with one CAM; automatic CAM selection 2007-01-07 14:46:14 +01:00
Klaus Schmidinger b473582b4e Added a missing break statement in cCiHandler::OpenSession() 2007-01-05 10:09:22 +01:00
Klaus Schmidinger cac5cd37b8 Fixed handling "Ca Info" in case the CAM sends this again if the smart card is replaced with a different one 2006-08-20 11:54:56 +02:00
Klaus Schmidinger 7390eaf765 Made the cCiSession members sessionId and resourceId uint16_t and uint32_t 2006-08-12 10:26:43 +02:00
Klaus Schmidinger ee4fa90032 Added a missing initialization of 'mutex' in cCiMenu::cCiMenu() and removed some superfluous semicolons in ci.c 2006-07-22 13:43:01 +02:00
Klaus Schmidinger e8ee9a1c4b Adapted c(Dvb)Device::ProvidesCa() to the dynamic CA handling 2006-01-07 15:16:09 +01:00
Klaus Schmidinger c65133979f Changed all "illegal" to "invalid" in error messages 2005-12-30 15:43:21 +01:00
Klaus Schmidinger 3a97be4fe9 Implemented handling of the "CA PMT Reply" for CAMs; some preparations for being able to record several encrypted channels from the same transponder 2005-11-26 13:39:47 +01:00
Klaus Schmidinger 52f17c043b Removed '\n' from several syslog() calls 2005-11-04 14:22:04 +01:00
Klaus Schmidinger 6e982f765e Fixed lock handling in CAM communication to avoid problems with multiple CAMs per device or CAMs with more than one smart card 2005-10-30 13:21:23 +01:00
Klaus Schmidinger 3c59953017 Added missing mutex locks to cCiMenu::Abort() and cCiEnquiry::Abort() 2005-10-30 10:27:24 +01:00
Klaus Schmidinger 5956f7eeec The CAM enquiry menu now aborts if Menu is pressed 2005-10-03 12:58:22 +02:00
Klaus Schmidinger 876ad5d5f6 Fixed a crash with automatically closing CAM menus 2005-10-03 12:48:13 +02:00
Klaus Schmidinger c03de9e15e The character 0x8A in CAM menu strings is now mapped to a real newline 2005-10-03 10:32:51 +02:00
Klaus Schmidinger 1728fccfe2 Skipping blanks at the beginning of CAM menu strings 2005-10-02 15:06:07 +02:00
Klaus Schmidinger 969cd51b68 Reduced MAX_CONNECT_RETRIES in ci.c to 2 2005-10-02 14:10:51 +02:00
Klaus Schmidinger 8365632b3f The CAM menu is now completely closed when pressing the Menu key while inside a sub menu 2005-10-02 13:54:34 +02:00
Klaus Schmidinger 283a6f83f9 Now skipping some funny characters sent by some CAMs at the beginning of strings 2005-10-02 13:13:31 +02:00
Klaus Schmidinger 2fc075f5f9 The CAM menu now automatically updates itself in case of a progress display 2005-10-02 12:59:53 +02:00
Klaus Schmidinger 13249f12f2 Fixed error handling in cCiTransportConnection::RecvTPDU() 2005-09-17 12:08:54 +02:00
Klaus Schmidinger a8fe90b28b Replaced the get/put_unaligned() macros from <asm/unaligned.h> with own inline functions 2005-08-21 14:15:00 +02:00
Klaus Schmidinger 6de23d7d96 Now waiting at startup until all DVB devices are ready 2005-08-21 08:56:49 +02:00
Klaus Schmidinger 4299056229 Added handling of the 'Close MMI' tag 2005-08-20 12:16:23 +02:00
Klaus Schmidinger a8599c451e Improved resetting CAM connections 2005-06-04 11:59:19 +02:00
Klaus Schmidinger d32f000861 Fixed handling error case '-1' when polling CAM connections 2004-07-17 14:36:11 +02:00