+
+int eDVBCIApplicationManagerSession::doAction()
+{
+ switch (state)
+ {
+ case stateStarted:
+ {
+ const unsigned char tag[3]={0x9F, 0x80, 0x20}; // application manager info e sendAPDU(tag);
+ sendAPDU(tag);
+ state=stateFinal;
+ return 1;
+ }
+ case stateFinal:
+ eDebug("in final state.");
+ wantmenu = 0;
+ if (wantmenu)
+ {
+ eDebug("wantmenu: sending Tenter_menu");
+ const unsigned char tag[3]={0x9F, 0x80, 0x22}; // Tenter_menu
+ sendAPDU(tag);
+ wantmenu=0;
+ return 0;
+ } else
+ return 0;
+ default:
+ return 0;
+ }
+}
+
+int eDVBCIApplicationManagerSession::startMMI()
+{
+ eDebug("in appmanager -> startmmi()");
+ const unsigned char tag[3]={0x9F, 0x80, 0x22}; // Tenter_menu
+ sendAPDU(tag);
+ return 0;
+}
+