NFC tags read/write operations on low level

Hi,
I know this is little bit offtopic question - but since you are experts in the area I will try to ask you probably a pretty simple question:
1/ I would like to know which protocol is used for the read/write operations to the NFC tags are used. According to my understanding after the tag is placed on the NFC reader (NFC phone, USB reader), it is powered and set to the ready state. Then the application protocol for read/write operation is used. As I think the exact format and the content of commands used for read/write is not specified in ISO 14443 and it is dependent on a tag hardware/manufacturer and will be different for FeliCa/Mifare/Innovision/etc. tags, so there is no way how to handle NFC tags read/write operations with the single implementation. Is that assumption correct?
2/ Are there any tags, which supports the APDU 7816-4 commands for read/write operations?
Thank you for reply
Kind regards,
STeN

hello,
you have to read the NFC forum specs. all of this will be better explained than by me.
more than one protocol are used according the the contactless front end configuration and abilities. It includes ISO14443-A, ISO14443-B and Felica. Sometimes other protocols are also available, for example Innovatron (not Innovision lol)
Mifare is not a protocol, it is a line of NXP products. These products use the lower layers of the ISO14443-A protocol specification.
There are 4 types of tags
1) using the lower layers of ISO14443-A
2) using the lower layers of ISO14443-B
3) something related to felica?
not sure exactly about these 3, you have to read the specs. Everything is clearly understandable, not like ETSI.
4) something using ISO7816-4 commands on top of ISO14443 A or B or others. You have SELECT, READ BINARY, UPDATE BINARY. You can implement that using javacard, I did it and it works. You need two binary files, that can be hardcoded.
Regards
Sebastien

Similar Messages

  • Oracle coherence first read/write operation take more time

    I'm currently testing with oracle coherence Java and C++ version and from both versions for writing to any local or distributed or near cache first read/write operation take more time compared to next consecutive read/write operation. Is this because of boost operations happening inside actual HashMap or serialization or memory mapped implementation. What are the techniques which we can use to improve the performance with this first read/write operation?
    Currently I'm doing a single read/write operation after fetching the NamedCache Instance. Please let me know whether there's any other boosting coherence cache techniques available.

    In which case, why bother using Coherence? You're not really gaining anything, are you?
    What I'm trying to explain is that you're probably not going to get that "micro-second" level performance on a fully configured Coherence cluster, running across multiple machines, going via proxies for c++ clients. Coherence is designed to be a scalable, fault-tolerant, distributed caching/processing system. It's not really designed for real-time, guaranteed, nano-second/micro-second level processing. There are much better product stacks out there for that type of processing if that is your ultimate goal, IMHO.
    As you say, just writing to a small, local Map (or array, List, Set, etc.) in a local JVM is always going to be very fast - literally as fast as the processor running in the machine. But that's not really the focus of a product like Coherence. It isn't trying to "out gun" what you can achieve on one machine doing simple processing; Coherence is designed for scalability rather than outright performance. Of course, the use of local caches (including Coherence's near caching or replicated caching), can get you back some of the performance you've "lost" in a distributed system, but it's all relative.
    If you wander over to a few of the CUG presentations and attend a few CUG meetings, one of the first things the support guys will tell you is "benchmark on a proper cluster" and not "on a localised development machine". Why? Because the difference in scalability and performance will be huge. I'm not really trying to deter you from Coherence, but I don't think it's going to meet you requirements when fully configured in a cluster of "1 Micro seconds for 100000 data collection" on a continuous basis.
    Just my two cents.
    Cheers,
    Steve
    NB. I don't work for Oracle, so maybe they have a different opinion. :)

  • Read/write operation on SAP IDOC file

    Hi All,
    We are developing an application, which will be used for registering and processing of travel data for a client.One of itu2019s functionality is to get the data from external system in different format(like CSV, Excel, Fixed Flat file, XML, main frame file, DBF and SAP IDOC) and import it into Oracle databases.
    One of the design considerations for it, is to read these files and convert it into predefined XML format
    and then import these data from XML to oracle database.
    Currently we are analyzing the requirement and trying to find out all the Open Source JAVA API which can convert these different format files to predefined XML format, using some mapping file.
    We have found out Open Source JAVA API for all the file format, except SAP IDOC files.
    Any Java API to read/write the SAP IDOC file, Please advise
    Regards,
    Madhu
    Edited by: Madhu Sudhan on Feb 17, 2009 12:06 PM

    Hi All,
    We are developing an application, which will be used for registering and processing of travel data for a client.One of itu2019s functionality is to get the data from external system in different format(like CSV, Excel, Fixed Flat file, XML, main frame file, DBF and SAP IDOC) and import it into Oracle databases.
    One of the design considerations for it, is to read these files and convert it into predefined XML format
    and then import these data from XML to oracle database.
    Currently we are analyzing the requirement and trying to find out all the Open Source JAVA API which can convert these different format files to predefined XML format, using some mapping file.
    We have found out Open Source JAVA API for all the file format, except SAP IDOC files.
    Any Java API to read/write the SAP IDOC file, Please advise
    Regards,
    Madhu
    Edited by: Madhu Sudhan on Feb 17, 2009 12:06 PM

  • Serializin​g read/write operations of network-pu​blished shared variables

    Hi all,
    I'm developing a distributed application (PC + CompactRIO), and using shared variables (SVs) for inter-device communication. Here's my journey so far:
    Intended procedure
    PC parses file
    PC writes processed file data (custom cluster, large) into the 1st SV 
    PC writes a "grab data" signal/command (enum) into the 2nd SV
    cRIO polls the 2nd SV
    cRIO sees the command, then reacts by reading the 1st SV
    Steps #2 and #3 were sequenced, using error wires.
    Unexpected results
    Even after the command is transmitted and the cRIO sees it, the cRIO could not read the data (which I wrote BEFORE the command) -- LabVIEW reported that the buffer was empty.
    The operation succeeded when I placed a wait (5 seconds) between steps #2 and #3.
    Questions
    What am I doing wrong, and how do I achieve my desired outcome?
    Is SV I/O asynchronous by design?
    Is it possible to use event-driven programming to handle SV access? (i.e. does LabVIEW signal when the new SV value has propagated across the network?)

    BillMe wrote:
    Why do you have to "notify" the other end that data is available? The subscriber can simply sit in a loop doing a timed read just as if using a queue or notifier IPC. If it doesn't time out, you got new data. If it does time out, do some other processing if needed and then loop back for another timed read.
    My sytem architecture is command-driven -- the cRIO listens for instructions from the PC interface (sent as an enum via one SV), and performs tasks (motor control) in response. One of the commands (the one described in this thread) happens to be "download a new motion profile from the PC, by reading the other SV". Given that the cRIO is already polling the command channel, I felt that there's no need to also poll the data channel (especially since the "download" command is issued very infrequenty). Plus, I thought that polling two channels would increase the chances of race conditions or illegal state transitions, particularly if the app is developed over a long term.
    I am also new to LabVIEW, so my current programming style will heavily reflect my C++/Qt background while I get a feel for LabVIEW's strengths and weaknesses -- Qt is a heavily event-driven framework (even for networking!), where polling often means you're doing something wrong.
    Still, thank you for pointing out that I can use timeouts to determine if new data has arrived -- my subscriber current writes a null command back into the SV when it has consumed the command, but you showed me that I don't have to.

  • Unable to detect NFC tag (ISO15693) in Lumia 830 on windows Phone 8.1

    Microsoft in Windows phone 8.1 has added new Nfc related features including low level access(Non NDEF). I have Nokia Lumia 830 (PN547 NFC chipset is present in this device).Im not able to detect Nfc tag (ANT-7M24LR-A ,ISO15693) through Lumia 830, which
    im able to read/write using Nfc-V(ISO15693) in Android. I also have a Lumia 720 (old NFC hardware) but atleast it is able to detect the tag. Has anyone encountered this ? Whats the workaround ?

    Hi Franklin,
    Thank you for the quick reply.
    Current OS version on the Lumia 830  is : Windows Phone 8.1 Update (8.10.14157.200)
    I have taken reference of  the NFC Smart Card Reader project(nfcsmartcardreader codeplex) to read/ write to the tag. We are trying to read/write to the tag (ISO 15693) using the low level APIs (Non NDEF format).
    But my problem is that even before we can send/receive the data from the tag, the phone is not detecting the tag itself. If i try to debug the card added event doesnot fire in any case for (ANT-7 M24-LR-A) tag.
    I also have a Lumia 720 (old NFC hardware) but it is atleast able to detect the above mentioned tag.
    Lumia 830 is able to detect other tags like a generic NFC sticker (Mifare Ultralight) .
    Hi theDarkPriest,
    >>I have taken reference of the NFC Smart Card Reader project(nfcsmartcardreader codeplex) to read/ write to the tag
    Well, have you tied to read NFC Tag using Proximity API? If not, please refer to this article:
    http://blogs.msdn.com/b/windowsappdev/archive/2013/04/18/develop-a-cutting-edge-app-with-nfc.aspx
    If the Proximity API can detect NFC Tag correctly,  I think this issue should caused by this third-party library, you need to ask for help in its official site:
    https://nfcsmartcardreader.codeplex.com/discussions
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to programmatically read/write the range of a fieldpoint AI channel using LV

    Is there a way to programmatically read/write the range of a fieldpoint AI channel using LV ? The example on NI site only permit you to have the name of the device and channels, not the actual set of the range of measure. Anybody has a VI (LV5.1 please)to share?
    Thank you very much

    If you are using the FieldPoint VI's (Open, Create Tag, Read, Write, Advise), you do not have the ability to change the range of a channel. If you have a FP-1000 or FP-1001, you can use the Optomux commands as described in the FP-1000/1001 Programmers Reference Manual (FieldPoint Optomux VI's are available at ftp://ftp.ni.com/support/fieldpoint/LVFPOpto/ ).
    Alternatively, if you have an ethernet network module and LabVIEW 6i or later, you can use the ethernet configuration VI's that ship with FieldPoint Explorer 3.0.1.
    Regards,
    Aaron

  • Eror Pr6 Low/Level exception AEV

    Hi my name is Fernando and I have a problem in Pr 6. I have my project in 3 parts assembly and use, a plug of RedGiant. At render time I get an unknown error, if I look at the video track appears a red cross (bottom - right) which reads as follows: A low-level exception ocurred in: Light Factory EZ (AEVideo Filter). Reinstall the plugin but as usual, also tried clearing the cache but still no solution. Thank you and hope for your help!

  • Socket read write on Solaris 8 too slow.

    Hi
    We have an application which consists of several server instances.
    The front-end is web-based , using JSP/Servlets. We are using Tomcat 4.0.
    The servlet makes several connections to the underlying servers. But the read/write operation is too slow. Same setup runs much quicker on Windows.
    We are running jdk1.4.1_02 (stable ?). Would much appreciate any help.
    cheers
    Projyal

    tomcat version --3.2.3
    j2sdk version----1.4
    plarform---------solaris
    solaris version--8
    using the aboue configuration i need to deploy JSP codes on the solaris platfrom..can any technical expert guide me on how to do this..would be grateful if anyone could suggest a good site where i can download free tuorials of "JSP" for development in HTML files format or HELP format]
    thank you
    regards
    brijesh

  • MSMQ read/write is slow

    Sir,
    I have installed MSMQ in my Windows server 2008 R2 operation system but the queue reading and writing is very slow .It gives me 150 to 160 messages per second for write or read  and the speed decreases if the read and write operation is performed at
    a time .
    Earlier I have MSMQ on Windows server 2003 .Read/write operations is fine and performance is good.It gives me 1000 to 2000 messages per second .
    Regards,
    Sandeep

    Hi,
    Thanks for posting here.
    Regarding the current issue, please try to refer to the following article to see if it could improve the performance.
    How to improve MSMQ disk performance
    http://blogs.msdn.com/b/johnbreakwell/archive/2008/02/13/msmq-disk-performance.aspx
    Hope this helps.
    Best Regards,
    Andy Qi
    Andy Qi
    TechNet Community Support

  • 10.5.8 on G4 - firewire read/write fails silently, corrupting data.

    I've already posted this problem on another board here
    http://discussions.apple.com/thread.jspa?threadID=2565228&tstart=0
    But it seems more relevant to this forum.
    I've recently encountered this problem which caused me to lose a lot of data. The setup is mac mini g4 + external firewire hard drive from Freecom.
    What is happening is that read/write operations do not result in copy fidelity. Here's a terminal log to illustrate:
    ariel:Freecom FW 1TB kaitlin$ cp another.avi another1.avi
    ariel:Freecom FW 1TB kaitlin$ ls -lh another*
    -rw-r--r-- 1 kaitlin staff 176M 2 Sep 11:48 another.avi
    -rw-r--r-- 1 kaitlin staff 176M 2 Sep 12:07 another1.avi
    ariel:Freecom FW 1TB kaitlin$ md5 another.avi
    MD5 (another.avi) = 6eedf37d80b81f61f0c4a8f71dfea57c
    ariel:Freecom FW 1TB kaitlin$ md5 another1.avi
    MD5 (another1.avi) = b8cffac964d494279a508f11151ee529
    So basically the original and its copy have different hashcodes which means they're not the same file, so I can't trust the firewire. It does this consistently with any file read/write operation to/from any destination. The machine does NOT behave like this with external USB drives or the internal drive.
    I've got two computers, both G4 1.5 GHz of the same era (Mac mini and Powerbook 15"), and the same symptoms appear on both machines, as well as when hooking the drive up to a FW800 port.
    I tried connecting the drive to a friend's Intel Mac Mini, and it does NOT exhibit this behaviour. So I'm suspecting it's a recent software update that caused the drive to fail, since I have used the same firewire disk for a few months without any problems.
    I've reverted to MacOS X 10.5.0 and the problem goes away. Then I re-did the update to 10.5.8 and tested it - the problem comes back. It's present on any firewire device I could test on (including a 3rd gen firewire ipod).
    So basically, firewire on 10.5.8 seems broken on a G4
    - kaitlin

    You seem to have done a good job of proving that the Firewire drivers in 10.5.8 don't work properly on your model of Mini. I don't think there's a UNIX solution to that problem. If the drivers are incompatible, only Apple can fix them, and it won't.
    If any firmware updates were ever released for your model, make sure you have the latest one.
    The only other thing you could try that you might not already have done is to do a clean install of 10.5, then run the combo updater (not a series of intermediate updaters) to get back to 10.5.8. That procedure has been reported to solve strange problems on occasion.

  • R100 low level format utility

    Hi all, I think I got a problem with my R100 hard drive. I cannot high level format by some reasons, bad sectors I guess. So, I'm trying to find a solution and I guess the low level format could be a solution for this. But, I couldn't find a utility for low level format. So, is there any utility I can do low level format R100 Hard?
    Thanks in advance

    Hi,
    You don't wanna low-level format anything these days! All current hard drives won't even let you. I had a problem with bad sectors and metallic noises from my drive last month and I tried to fix it with utilities like "spinrite" and a myriad of other software without success. I used spinrite to rebuild the hd. It took three(!!!) days! The drive then worked for a couple of hours before it developed new read errors. This symptom means that there are un-recoverable errors on the drive and you want to buy a new one.
    If you have warranty left, RMA it, otherwise go and buy a new drive. In Sweden the HD was incredibly expensive, about $400 (ridiculus, right!!). I had to buy this drive: http://www.sarotech.com/english/cgi/pd.cgi?cmd=view&rno=5
    for $260 and grab the hd from the casing.
    The Toshiba part# for the 40gb hd is: MK4004GAH
    Search for it. Here's one link: http://www.span.com/catalog/product_info.php?cPath=23_504&products_id=3149
    Also, read some more about low-level formatting and try out spinrite here: www.spinrite.com

  • Low Level SSL read is not working !

    Hi,
    I can readLine() from a buffered SSL socket without any problems.
    But I can't get the last line because the last line does not contain any <CR> or <LF>.
    So, when I try to do a low level read from a raw SSL socketstream, I always get "zero bytes available" even though there should be bytes to read.
    Please help.
    InputStream in2 = serversocket.getInputStream();
    while (true) {
         num = in2.available();
         if (num > 0) {
         buffer = new byte[num]; // allocates memory buffer
    in2.read(buffer,0,num);
         System.out.write(buffer,0,num);
         System.out.flush();
         try {
                   Thread.sleep(500);
              } catch (InterruptedException e) {
                             e.printStackTrace();
    What did I do wrong?

    I can readLine() from a buffered SSL socket without any problems.
    But I can't get the last line because the last line does not contain any <CR> or <LF>.So send it, or don't use readLine().
    So, when I try to do a low level read from a raw SSL socketstream, I always get "zero bytes available" even though there should be bytes to read.So don't use available(). It's not guaranteed to return anything other than zero, and in SSL it doesn't.
         num = in2.available();Pointless. Remove this line.
         if (num > 0) {
         buffer = new byte[num]; // allocates memory bufferAllocate a buffer with a fixed size, outside this loop.
    in2.read(buffer,0,num);in2.read(buffer);
         System.out.write(buffer,0,num);Correct.
         System.out.flush();Do that outside the loop.
                   Thread.sleep(500);Completely pointless and literally a waste of time.
    What did I do wrong?Almost everything. Try it with the corrections suggested.

  • Slow read and write operations on DAQmx

    I am trying to build up a feedback control system using PCI-6052E and PCI-6722 cards, so that the computation of the control algorithm is performed on computer's CPU. I am trying to reach sampling period of 1kHz. It turns out that the bottleneck of my system are the read and write operations from and to cards that consume lot of processor time.
    An example code (C#) that shows how the reads and writes are implemented is as attachment. On my tests the example code produces a read-time of 1000 samples on 6 channels 7.58s and a write-time of 4.69s. Is there any way to improve the performance?
    The program is running on Windows XP on 1000Mhz processor.
    Attachments:
    DAQmxPerformanceTest.cs ‏3 KB

    Petteri,
    I don't have the hardware to reproduce this, but I have a few ideas. For analog output, are you creating a task, starting it, and calling write repeatedly, or are you simply calling write? While an AO Task will auto start on write, it will also go through the process of stopping when the write is complete. Which means next time you call write, the task will need to start again. It will be much more effecient if you explicitly call start on the task once, perform as many writes as required, and stop/clear the task when you are done. This same principle applies to you analog input reads as well.
    I hope this helps,
    Dan

  • File read and write operations

    how do use file read and write operations?
    can anyone give simple program?

    http://www.tutorialspoint.com/cplusplus/cpp_files_streams.htm
    http://www.cplusplus.com/doc/tutorial/files/
    check this
    and with mfc
    http://www.functionx.com/visualc/fileprocessing/serialization.htm
    https://msdn.microsoft.com/en-us/library/6337eske.aspx
    http://www.informit.com/library/content.aspx?b=Visual_C_PlusPlus&seqNum=90

  • I am trying to change the order of one of my audiobooks (media kind: audiobook), but the ID tags are greyed out.  I can't change tags for almost all my audiobooks.  Music files OK. Files are all read/write. Repaired disc perms. OS 10.9.4. ITunes11.4

    I am trying to change the order of one of my audiobooks (media kind: audiobook), but the ID tags are greyed out.  I can't change tags for almost all my audiobooks.  Music files OK. Files are all read/write. Repaired disc perms. OS 10.9.4. ITunes 11.4  I don't have iTunes Match.

    Select all the songs and then Advanced -> Convert ID3 tags.
    http://docs.info.apple.com/article.html?path=iTunesWin/6.0/en/655win.html

Maybe you are looking for

  • Yosemite System Crashes on Boot with Dell U2713HM

    Previously under Mavericks I had no issue with a Dell U2713HM monitor and my 'non-stock' NVidia card.  (The reason I'm using the video card I am is because the stock ATI card (ATI Radeon HD 2600 XT) is known do fry itself which I discovered after rep

  • Acrobat 8.1.2 Windows 7 64 Bit

    I have Acrobat 8.1.2 and am upgrading to Windows 7 64 Bit.  Is this supported?  Is the 64 bit version on the CD or do I have to download a version that will run on Windows 7 64 bit?  If it does run, are there any serious issues? Thanx in advance, Hen

  • Cursor positiong at POV

    Hi, my customer's requirement is to move a cursor at the end of PROCESS ON VALUE REQUEST on one subscreen field to another field.  Details: during sales order item creation (VA01) the cursor is positioned automatically at the field for Material (prog

  • Is there any other alternative instead of using of WAIT UP TO X SECONDS?

    Hello I am developing a inteface function module that gets iits input data from another system (HR system), in that I am using WAIT UP TO 5 SECONDS statement, but my lead is not OK for using it, pls. let me know can I achieve the same by using any ot

  • Plsql query please help out

    Hi , I have table with columns item,product,class1,class2,item_path,category How can I query the table to find out same item_path with differnt categories.I want to update those rows. Thanks.