I'm developing iOS app using "UniPay, Mobile Audio Jack MagStripe and Smart Card Reader" to read smart credit card data. I got the card data but it is not plain text, the SDK does not show how to parse the data. I have set the encryption mode to unencrypted mode. I guess the data is encoded in some kind of format. I have used the same decoding I use to parse magnetic stripe data but it did not work. does anyone know what kind of encoding is used or if the is kind of encrypted regards the flag i set. The following code is the example provided from SDK, I need to parse the rt.data to get credit card information such as card Number.
RDResult rt =[reader smart_ICC_PowerOn]; if (rt.status != RDS_SUCCESS) {
NSLog(@"ICC Powerd On - Failed.");
return; }
Else
{
NSLog(@"ICC Powered On: %@", rt.data.description); }
Thanks in advance,