diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-20 12:16:23 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-08-20 12:16:23 +0200 |
commit | 429905622945bb5a2f4f40b7f7799628f7959d1c (patch) | |
tree | 7983294c2d16081a9e614a34db4172e64dcd7f94 /ci.c | |
parent | 7683e67826be4c23d882565face22dad287a11f6 (diff) | |
download | vdr-429905622945bb5a2f4f40b7f7799628f7959d1c.tar.gz vdr-429905622945bb5a2f4f40b7f7799628f7959d1c.tar.bz2 |
Added handling of the 'Close MMI' tag
Diffstat (limited to 'ci.c')
-rw-r--r-- | ci.c | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -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; } |