Home › Forums › Ask the Flomies › Flomio SDK iOS
Tagged: ACR1255U-J1, ACS, didFindATagUuid, FloBLE
-
AuthorPosts
-
June 23, 2016 at 1:57 am #55795
Hello,
I am using ACR1255U-J1-000029 card reader. I am able to connect to the reader find whether card is present or not, but I am not able to get the tagID from the card.
“didFindATagUuid” delegate function is never called. Also I went through lot of posts in this forum, I do not find operationState variable for FmSessionManager class.
Could you please help with getting the tag from the card.
Thanks,
SoniyaJune 23, 2016 at 6:23 pm #55802Hi Soniya,
You should be following the Readme for the latest Flomio SDK 2.0. operationState is not a property of FmSessionManager and was removed since our update from SDK v1.9 to SDK v2.0.
I will have to ask you a few questions to get this sorted. Have you registered your device id with us for a basic/pro licence?
Also, what tags are you using?
Cheers,
ScottJune 23, 2016 at 6:33 pm #55804Soniya, you can also send us your Apple ID to info at flomio dot com and we can share out Test application for sanity. It’s a simple app that we use to check the basics of the SDK functionality.
best,
RichardJune 24, 2016 at 2:20 pm #55828Hello Richard,
I send you another apple id on info at flomio dot com. could you please process the request.
Thanks,
SoniyaJune 24, 2016 at 4:02 pm #55829All requests for TestFlight access have been sent out. We have had issues like this with other customers and it’s always been that either the email provided is not an Apple ID or invites are getting caught in Spam or something unrelated to the TestFlight invitation not being sent. We know this can be frustrating so we will keep sending out invited as long as we have them available from Apple.
best,
RichardJune 24, 2016 at 8:28 pm #55830Soniya, are you perhaps testing your app behind a firewall or some internet controlled environment? I ask because the Flomio SDK (basic) requires an open internet connection to validate usage on the device. That could be the cause of your issue.
June 24, 2016 at 8:41 pm #55831I was testing the app on open network.
June 24, 2016 at 8:49 pm #55832Ok, please share the iOS device model and version that you are testing with. Also tell us which NFC tags you are testing with. Finally please detail how you have implemented your test. Are you replicating the README instructions exactly? How do you carry out your test specifically? What works? What doesn’t work? Can you record a short video, upload to Youtube, and include a link here for us to study what may be going wrong?
thanks,
RichardJune 25, 2016 at 12:03 am #55835Hello Richard,
iOS Version: 8.4.1
iOS Model: MF003LL/AI am implementing the project in SWIFT language using the instructions in README file.
I run the app on iPad and I connectivity function is implemented as part of button Action. So whenever the button is clicked the NFC reader gets connected and if I tap the reader with the NFC tag it beeps and the didChangeCardStatus delegate is called.
Thanks,
SoniyaJune 25, 2016 at 1:28 am #55836Great, what exactly isn’t working? It’s important to mention that we don’t support older versions of iOS so always best to upgrade to latest in order to be inline with our testing. Also our SDK is written in ObjC and we don’t support integration with SWIFT at the moment.
June 25, 2016 at 1:46 am #55837I will update the iOS version of iPad and test again and keep you informed.
Also the issue is I am not able to hit the didFindTagUUID delegate the other delegate functions are executing but not the “didFindTagUUID”.
What I learned on other posts is there was some operationState variable which triggers that delegate function.
Thanks,
SoniyaJune 26, 2016 at 1:42 pm #55843Have you implemented the README example app as explained or made changes of your own? This has been well tested across over a hundred customers at this point so it’s likely a trivial issue. You may consider copy/pasting your ViewController code to make sure you’ve instantiated the SDK properly and configured it for the FloBLE Plus operation (ACR1255U-J1).
June 26, 2016 at 10:01 pm #55845//
// ViewController.m
// testProj
//
// Created by Hadkar, Soniya on 6/22/16.
// Copyright © 2016 VisaOMC. All rights reserved.
//#import “ViewController.h”
@interface ViewController ()
@end
@implementation ViewController
– (void)viewDidLoad {
[super viewDidLoad];
// Set your reader type:
readerManager = [FmSessionManager sharedManager];
readerManager.selectedDeviceType = kFloBlePlus; // For FloBLE Plus
//kFlojackMsr, kFlojackBzr for audiojack readers
readerManager.delegate = self;
[readerManager startReaders];// Set SDK configuration and update reader settings
readerManager.scanPeriod = [NSNumber numberWithInteger:100]; //in ms
readerManager.scanSound = [NSNumber numberWithBool:YES]; //play scan sound
// Do any additional setup after loading the view, typically from a nib.// Stop reader scan when the app becomes inactive
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(inactive) name:UIApplicationDidEnterBackgroundNotification object:nil];
// Start reader scan when the app becomes active
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(active) name:UIApplicationDidBecomeActiveNotification object:nil];
}– (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}– (void)active {
NSLog(@”App Activated”);
}– (void)inactive {
NSLog(@”App Inactive”);
[readerManager stopReaders];
}– (void)didFindATagUuid:(NSString *)UUID fromDevice:(NSString *)deviceId withError:(NSError *)error{
dispatch_async(dispatch_get_main_queue(), ^{
//Use the main queue if the UI must be updated with the tag UUID or the deviceId
NSLog(@”Found tag UUID: %@ from device:%@”,UUID,deviceId);
});
}– (void)didRespondToApduCommand:(NSString *)response fromDevice:(NSString *)deviceId withError:(NSError *)error{
dispatch_async(dispatch_get_main_queue(), ^{
NSLog(@”%@”,response); //APDU Response});
}– (void)didReceiveReaderError:(NSError *)error {
dispatch_async(dispatch_get_main_queue(), ^{ // Second dispatch message to log tag and restore screen
NSLog(@”%@”,error); //Reader error
});
}– (void)didUpdateConnectedDevices:(NSArray *)connectedDevices {
//The list of connected devices was updated
}– (void)didUpdateConnectedBr500:(NSArray *)peripherals {
//The list of connected BR500 was updated
}– (void)didChangeCardStatus:(NSNumber *)status fromDevice:(NSString *)device {
//The card status has entered or left the scan range of the reader
}@end
June 27, 2016 at 11:58 am #55851This all looks good. I test the exact same code myself and it works at reading UUIDs from NFC Forum Type 2 tags. What tags are you using to test?
We’ve been testing TestFlight invitation distribution heavily with our own email accounts and with other customers since last week. We have yet to not receive an email invitation from the system. Please send me any email address you would like me to try. It doesn’t need to be an Apple ID email address (we found this out from all the testing), you just need to be able to open the email from your target iOS device to install the app. Again you can send these email addresses to info at flomio dot com.
best,
RichardJune 27, 2016 at 12:44 pm #55852Thanks Richard,
I will let you know what type of tags we are using.
Thanks,
SoniyaJune 27, 2016 at 2:45 pm #55853Tag Type: ISO 14443-4 (NXP MIFARE Plus)
June 27, 2016 at 11:29 pm #55854Ok great, were you able to try the Test App we sent you via TestFlight on your tags?
April 29, 2019 at 12:02 am #65195Hello,
Just bought your reader last 2 days, I noticed that for the basic SDK license must be operate in active internet connection right? let Let’s say I want to use the reader in offline mode, which license that I need to use? I just confuse how to use what the limitation of usage of this reader. thanks
April 29, 2019 at 8:31 am #65202Hi Fatah, yes basic SDK requires cloud connectivity. For offline use you should purchase the Pro SDK license.
best,
RichardJune 21, 2019 at 5:53 am #65479How can I register my ACR1255U-J1 device to flomio to use flomio basic/pro SDK?
-
AuthorPosts
You must be logged in to reply to this topic.