Commit Graph

80 Commits

Author SHA1 Message Date
Klaus Schmidinger 3cd5294d8a Implemented strict locking of global lists 2015-09-01 11:14:27 +02:00
Klaus Schmidinger 659f67f04f Fixed cCamSlot::Assign(), so that it actually ignores the value of Query if Device is NULL (as described in the header file) 2015-02-02 14:04:10 +01:00
Klaus Schmidinger bf7cc2c04f Added support for smart card activation 2015-01-30 13:38:44 +01:00
Klaus Schmidinger b3954aefd5 Modified the CAM API so that it is possible to implement CAMs that can be freely assigned to any devices 2015-01-15 09:28:37 +01:00
Klaus Schmidinger 24b38eb812 Now handling CAT sections that consist of more than one TS packet 2015-01-13 14:45:12 +01:00
Klaus Schmidinger 35f73199d4 Fixed resetting the receiver for EMM pids for CAMs that need to receive the TS (cont'd) 2015-01-12 10:44:58 +01:00
Klaus Schmidinger 7fac1d4ae2 Fixed resetting the receiver for EMM pids for CAMs that need to receive the TS 2015-01-09 09:46:57 +01:00
Klaus Schmidinger 011a984951 A cCamSlot that has WantsTsData set to true in its constructor now also gets the CAT and EMM PIDs data 2014-04-06 10:56:50 +02:00
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