Home › Forums › Ask the Flomies › Question on ACR1255U-J1
Tagged: ACR1255U-J1, ACS purchase, Flomio SDK
-
AuthorPosts
-
May 4, 2016 at 3:55 am #55399
Hi, I’m trying to do the following action with ACR1255U-J1 in an iOS app:
– Write data to NTAG213
– Stop the reader when the view controller is dismissed
I tried to use the ACS classes:http://www.acs.com.hk/download-driver-unified/7333/ACSBT-EVK-iOS-Mac-0.02.zip, but I had issues with reconnection. So I found your SDK and it’s working better, but now i’m fetching the two issue I told you: write data to NTAG213 and stop the reader when the view controller is dismissed.
To connect to the device I made so:- (IBAction) buttonCardNFCNumber_TouchUpInside:(id)sender{ readerManager = [FMSessionManager sharedManager]; readerManager.delegate = self; readerManager = [FMSessionManager sharedManager]; readerManager.delegate = self; readerManager.selectedDeviceType = kFloBlePlus; // For FloBLE Plus readerManager.delegate = self; [readerManager startReaders]; readerManager.scanPeriod = [NSNumber numberWithInteger:10000]; //in ms readerManager.scanSound = [NSNumber numberWithBool:YES]; //play scan sound // 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]; }
Then I set the delegate methods:
- (void)didFindATagUUID:(NSString *)UUID fromDevice:(NSString *)deviceId - (void)didRespondToAPDUCommand:(NSString *)response fromDevice:(NSString *)deviceId - (void)didUpdateConnectedDevices:(NSArray *)connectedDevices - (void)didUpdateConnectedBR500:(NSArray *)peripherals
So when I press the buttonCardNFCNumber it connect to the ACR1255U-J1 and it returns me in method didFindATagUUID the UUID tag of the card. Now I need to stop the reader while the view controller is dismissed so I thought I’ve to use the [readerManager stopReaders] in viewWillDisappear method, but when I pass a card near the reader and the view controller is dismissed it reads the TAG.
Another stuff I’ve to do it’s to write data to the NTAG213, how I can do that? It’s possible? Thank you!- This topic was modified 8 years, 7 months ago by Luca.
May 4, 2016 at 10:29 am #55404Hi Luca, I checked your order history and wasn’t able to find any record of you purchasing a FloBLE Plus or Flomio SDK license from us. Can you provide your order number to make sure that’t not the source of your issue?
thanks,
RichardMay 4, 2016 at 10:36 am #55405Hi Richard, I bought the ACR1255U-J1 from this site: http://www.acs.com.hk/en/products/403/acr1255u-j1-bluetooth®-nfc-reader/. I tried to develop code with your SDK and the reader reads correctly the NFC tag in my cards. I hope it can work even i bought it directly from ACS…
Thank you in advice.May 4, 2016 at 12:10 pm #55407Hi Luca, I’m confused since the ACS website does not offer the ACS1255U-J1 as a product available for purchase. As licensed distributors of ACS products we were told that the ACS1255U-J1 would only be available through distributors during it’s initial release. Did you order from ACS directly like over the phone perhaps? What was the price point they charged? This information will help us keep our pricing consistent on our site which is critical to maintain a clear and transparent relationship with our developer community.
That said, the Flomio SDK is available for paid license owners on a per device basis. The Basic license is $24.99 and the Pro license is $125.01. If you send us your device id we can check to see if you have an active license and provide you with the support you need.
best,
Richard -
AuthorPosts
You must be logged in to reply to this topic.