summaryrefslogtreecommitdiff
path: root/ci.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-08-20 12:16:23 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2005-08-20 12:16:23 +0200
commit429905622945bb5a2f4f40b7f7799628f7959d1c (patch)
tree7983294c2d16081a9e614a34db4172e64dcd7f94 /ci.c
parent7683e67826be4c23d882565face22dad287a11f6 (diff)
downloadvdr-429905622945bb5a2f4f40b7f7799628f7959d1c.tar.gz
vdr-429905622945bb5a2f4f40b7f7799628f7959d1c.tar.bz2
Added handling of the 'Close MMI' tag
Diffstat (limited to 'ci.c')
-rw-r--r--ci.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/ci.c b/ci.c
index ff5203af..9bca64df 100644
--- a/ci.c
+++ b/ci.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: ci.c 1.24 2005/06/04 11:57:05 kls Exp $
+ * $Id: ci.c 1.25 2005/08/20 12:16:23 kls Exp $
*/
#include "ci.h"
@@ -1136,6 +1136,19 @@ bool cCiMMI::Process(int Length, const uint8_t *Data)
}
}
break;
+ case AOT_CLOSE_MMI: {
+ int id = -1;
+ int delay = -1;
+ int l = 0;
+ const uint8_t *d = GetData(Data, l);
+ if (l > 0) {
+ id = *d++;
+ if (l > 1)
+ delay = *d;
+ }
+ dbgprotocol("%d: <== Close MMI id = %02X delay = %d\n", SessionId(), id, delay);
+ }
+ break;
default: esyslog("ERROR: CI MMI: unknown tag %06X", Tag);
return false;
}