Home › Forums › Ask the Flomies › ITN Bcards
-
AuthorPosts
-
February 19, 2018 at 5:12 pm #62358
I am trying to read ITN Bcards using Objective-C. I purchased and downloaded the SDK and it appears to fail parsing the NDEF record. I found a couple of other threads on this, but only about Xamarin. Does anyone have any suggestions for work arounds for parsing the NDEF records from the ITN BCards?
Here is the console log I get with a simple 1 screen demo application:
2018-02-19 16:07:24.148857-0600 BLENFCTest[6578:4558059] In didReturnResponseApdu acsbtreader 2018-02-19 16:07:24.152121-0600 BLENFCTest[6578:4558099] dispatch_semaphore_wait 2018-02-19 16:07:24.152427-0600 BLENFCTest[6578:4558122] FmSessionManager sent apdu 2018-02-19 16:07:24.152502-0600 BLENFCTest[6578:4558122] In transmitApdu acsbtreader 2018-02-19 16:07:24.409289-0600 BLENFCTest[6578:4558505] allowEscapeCommands false 2018-02-19 16:07:24.409615-0600 BLENFCTest[6578:4558505] dispatch_get_global_queue:E0 00 00 40 01 2018-02-19 16:07:24.654314-0600 BLENFCTest[6578:4558099] Command APDU Semaphore timeout: FF B0 00 08 10 2018-02-19 16:07:24.665621-0600 BLENFCTest[6578:4558099] Command APDU:FF B0 00 08 10 2018-02-19 16:07:24.752473-0600 BLENFCTest[6578:4558059] Response Apdu: 63 00 2018-02-19 16:07:24.753028-0600 BLENFCTest[6578:4558059] handleApduResponse: Operation was unsuccessful. 2018-02-19 16:07:24.753143-0600 BLENFCTest[6578:4558059] FmSessionManager before sem 2018-02-19 16:07:24.753206-0600 BLENFCTest[6578:4558059] FmSessionManager after sem 2018-02-19 16:07:24.753271-0600 BLENFCTest[6578:4558059] In didReturnResponseApdu acsbtreader 2018-02-19 16:07:24.753424-0600 BLENFCTest[6578:4558123] dispatch_semaphore_wait 2018-02-19 16:07:24.753610-0600 BLENFCTest[6578:4558122] FmSessionManager sent apdu 2018-02-19 16:07:24.753681-0600 BLENFCTest[6578:4558122] In transmitApdu acsbtreader 2018-02-19 16:07:25.009208-0600 BLENFCTest[6578:4558505] allowEscapeCommands false 2018-02-19 16:07:25.009555-0600 BLENFCTest[6578:4558505] dispatch_get_global_queue:E0 00 00 40 01 2018-02-19 16:07:25.258841-0600 BLENFCTest[6578:4558123] Command APDU Semaphore timeout: FF B0 00 0C 10 2018-02-19 16:07:25.270151-0600 BLENFCTest[6578:4558123] Command APDU:FF B0 00 0C 10 2018-02-19 16:07:25.389673-0600 BLENFCTest[6578:4558059] Response Apdu: 63 00 2018-02-19 16:07:25.390184-0600 BLENFCTest[6578:4558059] handleApduResponse: Operation was unsuccessful. 2018-02-19 16:07:25.390294-0600 BLENFCTest[6578:4558059] FmSessionManager before sem 2018-02-19 16:07:25.390359-0600 BLENFCTest[6578:4558059] FmSessionManager after sem 2018-02-19 16:07:25.390424-0600 BLENFCTest[6578:4558059] In didReturnResponseApdu acsbtreader 2018-02-19 16:07:25.390619-0600 BLENFCTest[6578:4558122] FmSessionManager sent apdu 2018-02-19 16:07:25.390690-0600 BLENFCTest[6578:4558122] In transmitApdu acsbtreader 2018-02-19 16:07:25.401942-0600 BLENFCTest[6578:4558505] Command APDU:FF B0 00 10 10 2018-02-19 16:07:25.464186-0600 BLENFCTest[6578:4558059] Response Apdu: 63 00 2018-02-19 16:07:25.464733-0600 BLENFCTest[6578:4558059] handleApduResponse: Operation was unsuccessful. 2018-02-19 16:07:25.464845-0600 BLENFCTest[6578:4558059] FmSessionManager before sem 2018-02-19 16:07:25.464909-0600 BLENFCTest[6578:4558059] FmSessionManager after sem 2018-02-19 16:07:25.464973-0600 BLENFCTest[6578:4558059] In didReturnResponseApdu acsbtreader
February 21, 2018 at 9:39 am #62371Here is a more complete description and sample project:
My application requirement is to read ITN BCards inside an existing iOS app using the ACS ACR1255U-J1 external bluetooth reader. I can already read the cards using core NFC for devices that support it, but I need this to work on iPads too. I purchased and installed the Flomio SDK, but I am having problems getting the NDEF record to read. Here is a Gist that shows my view controller code (you can see I have commented out the NDEF reading as it was not working, now I am trying to just send an ADPU command and its not working either).
https://gist.github.com/RippleAdder/064030a6111fcc4933a15a9db8df37d1
Here is the console log:
https://gist.github.com/RippleAdder/bcec39bacb2ae34e293dff8037d5ebcb
Here is a zip of the entire project:
https://www.dropbox.com/s/x7x97qojw7d26ur/BLENFCTest.zip?dl=0
Using the ACS demo app, I can connect to the reader and get it to scan cards (although not the bcards). It seems like I can’t connect to the reader using the flomio SDK. Maybe I am not authenticating correctly? Not sure. Any help is appreciated.
-
AuthorPosts
You must be logged in to reply to this topic.