nfc-tools / libnfc

Platform independent Near Field Communication (NFC) library
http://nfc-tools.org
GNU Lesser General Public License v3.0
1.71k stars 442 forks source link

nfc-list lists the same Felica type3 targets twice with 424 and 212 kbps speed #169

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

new-host-2:libnfc-read-only $ examples/nfc-list 
/Users/Desktop/libnfc-read-only/examples/.libs/nfc-list uses libnfc 1.5.0 
(r1097)
nfc-list: DBG nfc.c:187
nfc-list:     0 device(s) found using PN53x USB driver
nfc-list: DBG nfc.c:187
nfc-list:     1 device(s) found using ACR122 driver
nfc-list: DBG pn532_uart.c:78
nfc-list:     Serial auto-probing have been disabled at compile time. Skipping 
autoprobe.
nfc-list: DBG arygon.c:99
nfc-list:     Serial auto-probing have been disabled at compile time. Skipping 
autoprobe.
nfc-list: DBG acr122.c:202
nfc-list:     Attempt to connect to ACS ACR38U-CCID 00 00
nfc-list: DBG pn53x.c:113
nfc-list:     GetFirmwareVersion
 TX: ff  00  00  00  02  d4  02  
 RX: d5  03  32  01  04  07  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     SetParameters
 TX: ff  00  00  00  03  d4  12  14  
 RX: d5  13  90  00  
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (633d, 00, 07)
nfc-list: DBG nfc.c:105
nfc-list:     [ACS ACR38U-CCID 00 00 / ACR122U102 - PN532 v1.4 (0x07)] has been 
claimed.
nfc-list: DBG pn53x.c:113
nfc-list:     ReadRegister
 TX: ff  00  00  00  04  d4  06  63  3d  
 RX: d5  07  07  90  00  
nfc-list: DBG pn53x.c:567
nfc-list:     WriteBackRegister will write (633d, 00)
nfc-list: DBG pn53x.c:113
nfc-list:     WriteRegister
 TX: ff  00  00  00  05  d4  08  63  3d  00  
 RX: d5  09  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  04  d4  32  01  00  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  04  d4  32  01  01  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  ff  ff  ff  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 00, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 00, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6305, 40, 40)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 00, 73)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 00, 73)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 00, 7b)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 00, 7f)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 80, f3)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 80, ff)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (630d, 00, 10)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6338, 00, 08)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (633d, 00, 07)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (633c, 10, 10)
Connected to NFC device: ACS ACR38U-CCID 00 00 / ACR122U102 - PN532 v1.4 (0x07)
nfc-list: DBG pn53x.c:113
nfc-list:     ReadRegister
 TX: ff  00  00  00  0e  d4  06  63  02  63  05  63  0d  63  38  63  3c  63  3d  
 RX: d5  07  00  44  00  01  10  00  90  00  
nfc-list: DBG pn53x.c:567
nfc-list:     WriteBackRegister will write (6302, 80)
nfc-list: DBG pn53x.c:567
nfc-list:     WriteBackRegister will write (6303, 80)
nfc-list: DBG pn53x.c:113
nfc-list:     WriteRegister
 TX: ff  00  00  00  08  d4  08  63  02  80  63  03  80  
 RX: d5  09  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InListPassiveTarget
 TX: ff  00  00  00  04  d4  4a  01  00  
 RX: d5  4b  00  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InListPassiveTarget
 TX: ff  00  00  00  09  d4  4a  01  01  00  ff  ff  01  00  
 RX: d5  4b  01  01  14  01  01  27  00  5d  1a  0b  40  a6  00  f0  00  00  02  06  03  00  88  b4  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InDeselect
 TX: ff  00  00  00  03  d4  44  00  
 RX: d5  45  00  90  00  
1 Felica (212 kbps) passive target(s) found:
        ID (NFCID2): 01  27  00  5d  1a  0b  40  a6  
    Parameter (PAD): 00  f0  00  00  02  06  03  00  

nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InListPassiveTarget
 TX: ff  00  00  00  09  d4  4a  01  02  00  ff  ff  01  00  
 RX: d5  4b  01  01  14  01  01  27  00  5d  1a  0b  40  a6  00  f0  00  00  02  06  03  00  88  b4  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InDeselect
 TX: ff  00  00  00  03  d4  44  00  
 RX: d5  45  00  90  00  
1 Felica (424 kbps) passive target(s) found:
        ID (NFCID2): 01  27  00  5d  1a  0b  40  a6  
    Parameter (PAD): 00  f0  00  00  02  06  03  00  

nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InListPassiveTarget
 TX: ff  00  00  00  05  d4  4a  01  03  00  
 RX: d5  4b  00  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 03, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 03, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 03, 73)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 03, 73)
nfc-list: DBG pn53x.c:113
nfc-list:     ReadRegister
 TX: ff  00  00  00  06  d4  06  63  02  63  03  
 RX: d5  07  83  83  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InCommunicateThru
 TX: ff  00  00  00  06  d4  42  01  0b  3f  80  
 RX: d5  43  01  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 03, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 03, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 03, 73)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 03, 73)
nfc-list: DBG pn53x.c:113
nfc-list:     ReadRegister
 TX: ff  00  00  00  06  d4  06  63  02  63  03  
 RX: d5  07  83  83  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InCommunicateThru
 TX: ff  00  00  00  04  d4  42  06  00  
 RX: d5  43  01  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 03, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 03, 03)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6302, 03, 73)
nfc-list: DBG pn53x.c:509
nfc-list:     WriteBackRegister (6303, 03, 73)
nfc-list: DBG pn53x.c:113
nfc-list:     ReadRegister
 TX: ff  00  00  00  06  d4  06  63  02  63  03  
 RX: d5  07  83  83  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InCommunicateThru
 TX: ff  00  00  00  03  d4  42  10  
 RX: d5  43  01  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     RFConfiguration
 TX: ff  00  00  00  06  d4  32  05  00  00  02  
 RX: d5  33  90  00  
nfc-list: DBG pn53x.c:113
nfc-list:     InListPassiveTarget
 TX: ff  00  00  00  04  d4  4a  01  04  
 RX: d5  4b  00  90  00  

What version of the product are you using? On what operating system?
ibnfc 1.5.0 (r1097) on OS X 10.6.7

Please provide any additional information below.

Original issue reported on code.google.com by ggs...@gmail.com on 5 Jun 2011 at 1:39

GoogleCodeExporter commented 9 years ago
Let's call it a feature ;-)
Some FeliCa tags only support speed 212kbps, some support 212kbps & 424kbps so 
this commands is doing two polling sequences for both speeds.
Now would it make more sense to only poll at 212kbps?
This can be debatable...

Original comment by yob...@gmail.com on 7 Jun 2011 at 10:21

GoogleCodeExporter commented 9 years ago
No clue on this topic and no news from months, should I set status to WontFix ?

Original comment by romu...@libnfc.org on 12 Sep 2011 at 11:46

GoogleCodeExporter commented 9 years ago

Original comment by romu...@libnfc.org on 27 Dec 2011 at 6:06