Simple sample application to read rfid tags on RFD 8500 ios ??

Can some one provide me simple sample application to read rfid tags . I was not able to create an hello world application with provided sdk .. Could someone help me with an simple sample application ??

Tsu Beng Tan
Hi Vijay,There are some
Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Vijay Vignesh
Thanks for replying .Yes i

Thanks for replying .

Yes i went through this guide previously . https://portal.motorolasolutions.com/Support/US-EN/Resolution?solutionId=100459&productDetailGUID=ba147475cc710510VgnVCM…

But the problem i am not able to integrate this with my existing application. As i am newbie  to RFID readers it would be helpful if you could share sourcecode of an simple hello world application that reads rfid tags on trigger press .

Thank you

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Tsu Beng Tan
Vijay,In my previous comment,

Vijay,

In my previous comment, there was a link(Zebra RFID Mobile application for IOS) to samples apps.

It has source code included.

Thanks.

TsuBeng

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Vijay Vignesh
Thanks for replying ,When I

Thanks for replying ,

When I run the application I get the request success message. After that if I press the trigger the application crashes . Any idea why it happens ???

        NSString* error_response = nil;

        NSString* callbackId = [command callbackId];

        srfidReportConfig *report_cfg = [[srfidReportConfig alloc] init];

        [report_cfg setIncPC:YES];

        [report_cfg setIncPhase:YES];

        [report_cfg setIncChannelIndex:YES];

        [report_cfg setIncRSSI:YES];

        [report_cfg setIncTagSeenCount:NO];

        [report_cfg setIncFirstSeenTime:NO];

        [report_cfg setIncLastSeenTime:NO];

       

       srfidAccessConfig *access_cfg = [[srfidAccessConfig alloc] init];

        [access_cfg setPower:270];

        [access_cfg setDoSelect:NO];

        int readerID = [self getActiveReaderId];

       

       

        result = [apiInstance srfidStartInventory:readerID aMemoryBank:SRFID_MEMORYBANK_EPC aReportConfig:report_cfg aAccessConfig:access_cfg aStatusMessage:&error_response];

        if (SRFID_RESULT_SUCCESS == result) {

            NSString *msg = @"Request success";

            NSString *jsCallBack = [NSString stringWithFormat:@"myJSFunction('%@')",msg];

            [self.webView stringByEvaluatingJavaScriptFromString:jsCallBack];          

        }

        else if (SRFID_RESULT_RESPONSE_ERROR == result) {

            NSLog(@"Error response from RFID reader: %@\n", error_response);

        }

        else {

            NSLog(@"Request failed\n");

        }

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Amar Yalavarthy
Hi Vijay,Did you get the

Hi Vijay,

Did you get the sample application to read rfid tag data. I am knew to this programming and I am looking for sample code..

My requirement is simple, I have one text box and label on my screen.So when i scan the rfid tag into textbox, my program should read the tag data and display on the label.Could you please provide sample code..

You can reach me at  teja102.dumpala@gmail.com

Appreciate your help..

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Tsu Beng Tan
Vinay,For in depth debugging

Vinay,

For in depth debugging or troubleshooting, I would advice you to get in touch with local Zebra Support Team.

Thanks.
Tsu Beng

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments