I am working with some EMV tags which most of them have a length of 1 or 2 bytes for example
9F02, 81,..
I understand that there is a certain bit configuration to know how I can determine the tag length for determine if a tags is 2 byte length or larger, Im using:
unsigned char tags[]={0x9F,0x02};
if((tags[0]&0x1F)==0x1F){
...
}
but I dont know to do when I have some tag larger than this.
Im working with EMV Data, Im testing with certification card , I'm receiving these tags are: DF8111, DF8119, DF811E, DF812C
they are relate to CVM.