Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Home › Forums › Ask the Flomies › [SDK] Send/Receive Byte Strings to NFC Card
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.aspx
According 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 automatically didReceiveMessage:(NSData *)theMessage
called 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.
Hi 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.
shouldn’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
You’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.
You must be logged in to reply to this topic.