Hello Jason,
Thanks lot for the response,
But i tried the multi_sector_read(). for the Mifare Classic ev1 1k cards like this:
try{
data = nfc.m1_multi_sector_read((byte)0, (byte)16) ;
}catch (Exception e){
Toast.makeText(this,, Toast.LENGTH_SHORT).show();
Log.e(TAG, "readBlockData: " );
}
and still getting this exception:
m1_multi_sector_read return error code = -1003
The same method works for mifare classic ev1 4k cards with parameters (byte)1 and (byte)32
For this: ", what do you mean by saying that this "m1_read_block" only works for 4 bytes?"
I meant it this way:
for (int i = 0; i <= LIMIT; i++) {
try{
data = nfc.m1_read_block((byte)i) ;
}catch (Exception e){
Toast.makeText(this,i+"", Toast.LENGTH_SHORT).show();
Log.e(TAG, "readBlockData: "+i );
}
sb.append(StringUtil.toHexString(data));
data = null;
}
so if the LIMIT is grater than or equal to 4, then I will get an exception. With this method, we cannot go beyond 4 blocks.
I am still using the demo: DemoSDK20220928 2,
versionCode 2
Thanks