618 |
618 |
linuxdvb_ca_t * lca = arg;
|
619 |
619 |
|
620 |
620 |
tvhlog(LOG_NOTICE, "en50221", "MMI list from CAM in the slot %u:", slot_id);
|
621 |
|
tvhlog(LOG_NOTICE, "en50221", " title: %.*s", title->text_length, title->text);
|
622 |
|
tvhlog(LOG_NOTICE, "en50221", " subtitle: %.*s", sub_title->text_length, sub_title->text);
|
|
621 |
tvhlog(LOG_NOTICE, "en50221", " title: '%.*s'", title->text_length, title->text);
|
|
622 |
tvhlog(LOG_NOTICE, "en50221", " subtitle: '%.*s'", sub_title->text_length, sub_title->text);
|
623 |
623 |
|
624 |
624 |
uint32_t i;
|
625 |
625 |
for(i=0; i< item_count; i++) {
|
626 |
|
tvhlog(LOG_NOTICE, "en50221", " item %i: %.*s", i+1, items[i].text_length, items[i].text);
|
|
626 |
tvhlog(LOG_NOTICE, "en50221", " item %i: '%.*s'", i+1, items[i].text_length, items[i].text);
|
|
627 |
}
|
|
628 |
tvhlog(LOG_NOTICE, "en50221", " bottom: '%.*s'", bottom->text_length, bottom->text);
|
|
629 |
|
|
630 |
if (item_count > 1 &&
|
|
631 |
items[0].text_length = 26 && strncmp((const char *)items[0].text, "Your host is not fully CI+", 26) == 0 &&
|
|
632 |
items[1].text_length == 9 && strncmp((const char *)items[1].text, "compliant", 9) == 0) {
|
|
633 |
en50221_app_mmi_keypress(lca->lca_mmi_resource, session_num, 0x0d);
|
|
634 |
tvhlog(LOG_NOTICE, "en50221", "Sent Enter keypress");
|
627 |
635 |
}
|
628 |
|
tvhlog(LOG_NOTICE, "en50221", " bottom: %.*s", bottom->text_length, bottom->text);
|
629 |
636 |
|
630 |
637 |
/* cancel menu */
|
631 |
638 |
en50221_app_mmi_close(lca->lca_mmi_resource, session_num,
|