Home › Forums › Ask the Flomies › [SDK] Send/Receive Byte Strings to NFC Card
-
AuthorPosts
-
May 14, 2013 at 8:31 pm #3515
Hi, while I’m at it 😉
I’m working on a project at my university and we have our own NFC card and I need to send some byte strings to the card and parse the answers.
This is the standard I need to follow:
http://www.cardwerk.com/smartcards/smartcard_standard_ISO7816-4.aspxAccording to the FloJack Spectrum Diagram
( https://flomio.com/wp-content/uploads/2013/02/FloJack-NFC-Spectrum-v1-e1361809309302.png ) the FloJack does support this standard.My question is where I can send and receive byte strings.
The class “FJNFCService” looks promising, but when I send a message to the NFC card with- (BOOL)sendMessageDataToHost:(NSData *)messageData;I only get a bool back and I’d like to get the answer string from the card back.
Or is automaticallydidReceiveMessage:(NSData *)theMessagecalled when the card sends the answer?I guess the most answers I’ll get when I get my own FloJack 🙂
Meanwhile I enjoy the discussion here.May 16, 2013 at 6:00 pm #3520Hi Marvin – currently the FloJack can only write NDEF formatted data to the tags. The interface for this functionality is [FJNFCAdapter setModeWriteTagWithNdefMessage:theNDEFMessage].
We hope to support memory page read / write  in the future, but we couldn’t fit it into this initial release.
May 16, 2013 at 6:50 pm #3522shouldn’t it be possible to access the layer underneath the ndef message and do the communication “manually”.
i know that i have to modify the sdk for that, i’m just looking for the correct point to get started.if that all work’s i’m happy to share to resulting code and maybe someone else can benefit from that
May 16, 2013 at 7:04 pm #3524You’re a good guy Marvin 🙂 Unfortunately it would require updating both the iOS SDK as well as the FloJack firmware. Since the latter is more complicated, and closely coupled to the hardware design, we handle it internally.
Definitely something on our radar for future releases. A number of devs have asked for it.
-
AuthorPosts
You must be logged in to reply to this topic.



