else
for (int i=0; i<len; i++)
printf("%02x ", ((const unsigned char*)data)[i]);
+
if (state == stateFirstProfileEnquiry)
{
// profile change
printf("unknown APDU tag 9F 80 %02x\n", tag[2]);
}
}
+
return 0;
}
{
const unsigned char tag[3]={0x9F, 0x80, 0x10}; // profile enquiry
sendAPDU(tag);
- state=stateFirstProfileEnquiry;
+ state = stateFirstProfileEnquiry;
return 0;
}
case stateFirstProfileEnquiry:
state=stateProfileChange;
return 0;
}
+ case stateProfileChange:
+ {
+ printf("bla kaputt\n");
+ break;
+ }
case stateProfileEnquiry:
{
const unsigned char tag[3]={0x9F, 0x80, 0x11};