Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update libusb10 branch to match master branch #672

Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 19, 2016

  1. Configuration menu
    Copy the full SHA
    35cc69d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27ed3ac View commit details
    Browse the repository at this point in the history
  3. Add R-Pi 3 conf sample.

    There have been changes to the Raspberry Pi 3's usage of serial ports with the addition of a Bluetooth LE module.
    This configuration uses the mini UART without disabling any devices except for the linux serial console.
    snowy13 authored Aug 19, 2016
    Configuration menu
    Copy the full SHA
    0d3d5c1 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2016

  1. Configuration menu
    Copy the full SHA
    7eae55e View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2016

  1. Cosmetics changes

    jgeslin committed Oct 10, 2016
    Configuration menu
    Copy the full SHA
    4a10d0f View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2016

  1. CMake: allow building of debian packages

    This patch allows for using the CMakefile to generate debian packages.
    While CPack is far from perfect for generating debian packages, it is a
    minimal change and quite helpful for quick deployment on debian based
    systems.
    
    Signed-off-by: Olliver Schinagl <[email protected]>
    Olliver Schinagl committed Oct 21, 2016
    Configuration menu
    Copy the full SHA
    61b4239 View commit details
    Browse the repository at this point in the history
  2. busses: i2c: improve logging

    Currently we only inform the user with the error logging mechanism that
    we received a different number of bytes than expected.
    
    Thus in case of an error, we say that we sent/received -1 bytes. However
    -1 indicates an error and errno is set to indicate the error state.
    
    This patch extends the logging to also print the actual error.
    
    Additionally the same debugging printing was added to read, which is now
    silently returned to the caller.
    
    Signed-off-by: Olliver Schinagl <[email protected]>
    Olliver Schinagl committed Oct 21, 2016
    Configuration menu
    Copy the full SHA
    512be89 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2016

  1. drivers: pn532_i2c: Clarify preamble and start byte

    The pn532 documentation differs slightly from the included ascii art
    documentation on how a packet looks like. The preamble was omitted
    however the postamble is mentioned. This patch adds the Preamble to the
    ascii frame documentation.
    
    The code later refers incorrectly to the start byte as the preamble.
    This variable was renamed to more descriptively state that it is the
    preambe and the start bytes.
    
    Signed-off-by: Olliver Schinagl <[email protected]>
    oliv3r committed Oct 24, 2016
    Configuration menu
    Copy the full SHA
    b953002 View commit details
    Browse the repository at this point in the history
  2. drivers: pn532_i2c: Respect proper timing specifications

    The pn532 user manual states that after a i2c stop condition and before a i2c
    start condition there should be a delay of minimally 1.3 milliseconds.
    This is probably a limitation of the i2c peripheral or the firmware. In
    any case, each i2c_read and i2c_write creates the packets which are
    complemented with start/stop markers. It is thus required to take care
    of timing in these two functions.
    
    We solve this by wrapping the lower i2c_read and i2c_write functions for
    the pn532, as this requirement is not for all chips.
    
    Currently, we keep time using local variable, and thus the code is not
    thread-safe. With libnfc being single threaded and only one instances of
    libnfc can open a bus anyway, this is not yet a problem.
    
    Signed-off-by: Olliver Schinagl <[email protected]>
    oliv3r committed Oct 24, 2016
    Configuration menu
    Copy the full SHA
    8f8f780 View commit details
    Browse the repository at this point in the history
  3. drivers: pn532_i2c: Add retry on error mechanism

    Currently, we very occasionally can EXNIO errors from pn532_i2c_write() ->
    i2c_write() -> write(). This may happen about once every 30 seconds.
    Based from the kernel sources, EXNIO happens if the chip no longer
    responds to its own address.
    
    To make sure we do not loose any sent packets, we retry to send
    PN532_SEND_RETRIES number of times. Since we miss 1 every 30 or so
    seconds, doing 1 retry should be fine.
    
    This might be considered a hack as the failure may be some other timing
    related issue.
    
    Signed-off-by: Olliver Schinagl <[email protected]>
    oliv3r committed Oct 24, 2016
    Configuration menu
    Copy the full SHA
    d960673 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2016

  1. Configuration menu
    Copy the full SHA
    a625d6a View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2016

  1. Match nfc.h

    Synchronized with nfc.h with all API functions
    BourgeoisLab authored Dec 5, 2016
    Configuration menu
    Copy the full SHA
    65477ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a07a496 View commit details
    Browse the repository at this point in the history
  3. Merge pull request nfc-tools#372 from timzi/fix-cmakelists

    Fixed file name "README" in cmakelists.txt
    neomilium authored Dec 5, 2016
    Configuration menu
    Copy the full SHA
    c3b3f64 View commit details
    Browse the repository at this point in the history
  4. Merge pull request nfc-tools#367 from oliv3r/respect_pn532_i2c_timing

    Respect pn532 i2c timing
    neomilium authored Dec 5, 2016
    Configuration menu
    Copy the full SHA
    b2a9cce View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2016

  1. drivers: pn532_i2c: Errata on i2c timing

    The datasheet is wrong for the pn532_i2c. After having constant issues
    with the device failing to respond on the bus and after contacting NXP
    about this, it turns out 1.3 ms is too tight. The official timing spec
    is unknown for now, but we tested 4 and 5 ms without problems. Thus we
    have choosen 5 ms as a safe delay.
    
    Signed-off-by: Olliver Schinagl <[email protected]>
    oliv3r committed Dec 6, 2016
    Configuration menu
    Copy the full SHA
    e946f7a View commit details
    Browse the repository at this point in the history
  2. Update Makefile.am

    README-Windows.txt -> README-Windows.md
    llorephie authored Dec 6, 2016
    Configuration menu
    Copy the full SHA
    b29332a View commit details
    Browse the repository at this point in the history
  3. Update README.md

    README-Windows.txt => README-Windows.md
    llorephie authored Dec 6, 2016
    Configuration menu
    Copy the full SHA
    e32cc06 View commit details
    Browse the repository at this point in the history
  4. Merge pull request nfc-tools#379 from oliv3r/Errata_on_i2c_timing

    drivers: pn532_i2c: Errata on i2c timing
    neomilium authored Dec 6, 2016
    Configuration menu
    Copy the full SHA
    e9a750f View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2016

  1. Fix typo in nfc.h

    centromere authored Dec 7, 2016
    Configuration menu
    Copy the full SHA
    b38597f View commit details
    Browse the repository at this point in the history
  2. Fix typo in nfc.c

    centromere authored Dec 7, 2016
    Configuration menu
    Copy the full SHA
    9c7b9ed View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2016

  1. Merge pull request nfc-tools#381 from llorephie/patch-1

    Update Makefile.am
    neomilium authored Dec 11, 2016
    Configuration menu
    Copy the full SHA
    3592a60 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#382 from centromere/patch-1

    Fix typo in nfc.h
    neomilium authored Dec 11, 2016
    Configuration menu
    Copy the full SHA
    e0c72b7 View commit details
    Browse the repository at this point in the history
  3. Merge pull request nfc-tools#383 from centromere/patch-2

    Fix typo in nfc.c
    neomilium authored Dec 11, 2016
    Configuration menu
    Copy the full SHA
    8e5ec4a View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2017

  1. Configuration menu
    Copy the full SHA
    f9f03fa View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2017

  1. Configuration menu
    Copy the full SHA
    11a2da2 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2017

  1. Configuration menu
    Copy the full SHA
    84c3e8a View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2017

  1. Update README.md

    jaasuarezvi authored Feb 14, 2017
    Configuration menu
    Copy the full SHA
    7991c7d View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2017

  1. Merge pull request nfc-tools#380 from llorephie/patch-2

    Update README.md
    doegox authored Feb 16, 2017
    Configuration menu
    Copy the full SHA
    f16aeda View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    295c709 View commit details
    Browse the repository at this point in the history
  3. 2 Configuration menu
    Copy the full SHA
    372bf37 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e50b188 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    968f59a View commit details
    Browse the repository at this point in the history
  6. NetBSD definition for CCID ioctl

    manu0401 authored and doegox committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    20a1b97 View commit details
    Browse the repository at this point in the history
  7. NetBSD serial ports

    manu0401 authored and doegox committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    e26fe91 View commit details
    Browse the repository at this point in the history
  8. Fix typo. Fix issue nfc-tools#377

    doegox committed Feb 16, 2017
    Configuration menu
    Copy the full SHA
    11bcf05 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2017

  1. Fix number of blocks written

    A strange move changed the way written pages are bound in commit ed62b01.
    As a result the last 3 blocks weren't written anymore.
    doegox committed Feb 17, 2017
    4 Configuration menu
    Copy the full SHA
    b86b7ef View commit details
    Browse the repository at this point in the history
  2. typos

    doegox committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    d808802 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    732a282 View commit details
    Browse the repository at this point in the history
  4. Merge pull request nfc-tools#366 from oliv3r/master

    Improve logging and allow building of debian packages
    doegox authored Feb 17, 2017
    Configuration menu
    Copy the full SHA
    7e3a7a6 View commit details
    Browse the repository at this point in the history
  5. CMake: set policy CMP0045

    doegox committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    db4433f View commit details
    Browse the repository at this point in the history
  6. fix typo

    doegox committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    646ab57 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c5e8adc View commit details
    Browse the repository at this point in the history
  8. Merge pull request nfc-tools#387 from ChristophGr/master

    allow to cross-compile 32 and 64 bit versions of the library for windows
    doegox authored Feb 17, 2017
    Configuration menu
    Copy the full SHA
    99a7d9a View commit details
    Browse the repository at this point in the history
  9. Replace deprecated readdir_r by readdir

    This reverts 262555d, 7fb5387 and a0b859b
    doegox committed Feb 17, 2017
    Configuration menu
    Copy the full SHA
    ff37cdb View commit details
    Browse the repository at this point in the history
  10. Merge pull request nfc-tools#362 from snowy13/master

    Raspberry Pi 3 Conf Sample
    doegox authored Feb 17, 2017
    Configuration menu
    Copy the full SHA
    15c31ae View commit details
    Browse the repository at this point in the history
  11. Merge pull request nfc-tools#308 from AxisRay/master

    Bugfix:function setenv() and unsetenv() are invalid on windows AND no variable prefix set for WIN32 in CMakeLists
    doegox authored Feb 17, 2017
    Configuration menu
    Copy the full SHA
    be1b897 View commit details
    Browse the repository at this point in the history
  12. Merge pull request nfc-tools#392 from jaasuarezvi/patch-1

    Update README.md
    doegox authored Feb 17, 2017
    Configuration menu
    Copy the full SHA
    0473794 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2017

  1. Update ChangeLog

    doegox committed Feb 18, 2017
    1 Configuration menu
    Copy the full SHA
    02c06c8 View commit details
    Browse the repository at this point in the history
  2. Update README about pn533_usb

    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    4e44384 View commit details
    Browse the repository at this point in the history
  3. typo

    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    e8d44f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f184407 View commit details
    Browse the repository at this point in the history
  5. astyle

    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    e4df2f3 View commit details
    Browse the repository at this point in the history
  6. arygon: remove unused variable

    arygon.c:94:22: warning: unused variable 'arygon_error_incomplete_command' [-Wunused-const-variable]
    static const uint8_t arygon_error_incomplete_command[] = "FF0C0000\x0d\x0a";
                         ^
    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    9a749e1 View commit details
    Browse the repository at this point in the history
  7. nfc-mfultralight: remove dead assignment

    nfc-mfultralight.c:274:7: warning: Value stored to 'bFailure' is never read
          bFailure = false;
          ^          ~~~~~
    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    c815c7a View commit details
    Browse the repository at this point in the history
  8. i2c: fix struct initialization

    pn532_i2c.c:125:57: warning: missing field 'tv_nsec' initializer [-Wmissing-field-initializers]
            struct timespec transaction_start, bus_free_time = { 0 };
                                                                   ^
    pn532_i2c.c:153:57: warning: missing field 'tv_nsec' initializer [-Wmissing-field-initializers]
            struct timespec transaction_start, bus_free_time = { 0 };
    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    0522053 View commit details
    Browse the repository at this point in the history
  9. pn53x: avoid warning about uninitialized value (false positive)

    pn53x.c:1746:15: warning: Function call argument is an uninitialized value
        *cycles = __pn53x_get_timer(pnd, pbtTxRaw[szTx + 1]);
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    f2c264d View commit details
    Browse the repository at this point in the history
  10. Add asserts to tell static analyzer we know what we're doing...

    nfc.c:1244:19: warning: Dereference of undefined pointer value
      for (int i = 0; nmt[i]; i++) {
                      ^~~~~~
    nfc.c:1256:23: warning: Dereference of undefined pointer value
          for (int j = 0; nbr[j]; j++) {
                          ^~~~~~
    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    2033519 View commit details
    Browse the repository at this point in the history
  11. Reduce variables scopes

    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    04ef5ca View commit details
    Browse the repository at this point in the history
  12. conf: close file

    doegox committed Feb 18, 2017
    Configuration menu
    Copy the full SHA
    bf31594 View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2017

  1. Tidier fix for incorrect block write/count as per @doegox

    Adam Laurie committed Feb 19, 2017
    Configuration menu
    Copy the full SHA
    e119296 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2017

  1. Configuration menu
    Copy the full SHA
    c51caf4 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2017

  1. Configuration menu
    Copy the full SHA
    6c44c20 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'adam/master'

    * adam/master:
      Tidier fix for incorrect block write/count as per @doegox
      Fix number of blocks written. Fix number of written blocks reported.
    doegox committed Mar 1, 2017
    Configuration menu
    Copy the full SHA
    b7ae7cb View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2017

  1. Merge pull request nfc-tools#394 from lab-401/master-4k-magic

    Adding support for 4K magic cards
    doegox authored Mar 2, 2017
    Configuration menu
    Copy the full SHA
    787382f View commit details
    Browse the repository at this point in the history
  2. Update changelog & authors

    doegox committed Mar 2, 2017
    Configuration menu
    Copy the full SHA
    9ccfba2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d2a664 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b65674a View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2017

  1. Test Travis builds

    doegox committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    86ce8df View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2017

  1. Configuration menu
    Copy the full SHA
    32bb627 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2017

  1. add EV1 password auth to nfc-mfultralight

    Adam Laurie committed Mar 22, 2017
    Configuration menu
    Copy the full SHA
    ca96e50 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2017

  1. show EV1 storage size

    Adam Laurie committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    3f8bb59 View commit details
    Browse the repository at this point in the history
  2. show EV1 auth PACK (tag/reader trust secret)

    Adam Laurie committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    fe04b85 View commit details
    Browse the repository at this point in the history
  3. read extra mf-ul EV1 blocks

    Adam Laurie committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    c04dd91 View commit details
    Browse the repository at this point in the history
  4. vary expected dump size based on tag type

    Adam Laurie committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    963eb07 View commit details
    Browse the repository at this point in the history
  5. allow partial writes. tidy up usage.

    Adam Laurie committed Mar 23, 2017
    Configuration menu
    Copy the full SHA
    a9f3e3a View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2017

  1. Add pn53x-* to CMakeLists

    doegox committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    f2457d0 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'adam/master'

    * adam/master:
      allow partial writes. tidy up usage.
      vary expected dump size based on tag type
      read extra mf-ul EV1 blocks
      show EV1 auth PACK (tag/reader trust secret)
      show EV1 storage size
      add EV1 password auth to nfc-mfultralight
    doegox committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    abae2bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    560f6a6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ec9ecf View commit details
    Browse the repository at this point in the history
  5. make style

    doegox committed Mar 31, 2017
    Configuration menu
    Copy the full SHA
    024fca9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e41a42c View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2017

  1. Configuration menu
    Copy the full SHA
    fead8d6 View commit details
    Browse the repository at this point in the history
  2. Add more missing files

    doegox committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    b59f8fb View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2017

  1. Configuration menu
    Copy the full SHA
    6235a8a View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2017

  1. Workaround missing USB config

    After a DESfire operation SCL3711 will sometimes enter a state where
    libusb-0.x is unable to fill config field in struct usb_device. The
    USB device has to be power-cycled to restore a sane state.
    
    This introduce a work around, by using hardcoded values for endpoints
    and packet size when they are unavailable.
    manu0401 authored and doegox committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    a06bfe5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c958b2c View commit details
    Browse the repository at this point in the history
  3. Fix USB descriptors in SCL3711, NXP_PN533 and ASK LoGO if needed when…

    … closing device
    
    The problem occurs in the following succession of events:
    
    * Emit commands larger than 17 bytes
    * Re-enumerate USB devices without power cycle, e.g. a warm reboot of the PC
    
    The bug can be reproduced for testing purposes with usbreset.c from
    https://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line#661
    
    $ lsusb|grep NFC
    Bus 001 Device 010: ID 04e6:5591 SCM Microsystems, Inc. SCL3711-NFC&RW
    $ sudo ./usbreset /dev/bus/usb/001/010
    Resetting USB device /dev/bus/usb/001/010
    Reset successful
    $ echo 06000000000000000000000000000000000000 |pn53x-tamashell
    $ sudo ./usbreset /dev/bus/usb/001/010
    Resetting USB device /dev/bus/usb/001/010
    Error in ioctl: No such device
    $ lsusb|grep NFC
    ... device disappeared
    doegox committed Apr 19, 2017
    Configuration menu
    Copy the full SHA
    38164c4 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2017

  1. Configuration menu
    Copy the full SHA
    767abe5 View commit details
    Browse the repository at this point in the history
  2. cosmetic

    doegox committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    1bf542b View commit details
    Browse the repository at this point in the history
  3. Fix USB descriptors in SCL3711, NXP_PN533 and ASK LoGO also when corr…

    …upted by received data
    
    The problem occurs in the following succession of events:
    
    * Emit commands returning an answer larger than 16 bytes
    * Re-enumerate USB devices without power cycle, e.g. a warm reboot of the PC
    
    The bug can be reproduced for testing purposes with usbreset.c from
    https://askubuntu.com/questions/645/how-do-you-reset-a-usb-device-from-the-command-line#661
    
    $ lsusb|grep NFC
    Bus 001 Device 010: ID 04e6:5591 SCM Microsystems, Inc. SCL3711-NFC&RW
    $ sudo ./usbreset /dev/bus/usb/001/010
    Resetting USB device /dev/bus/usb/001/010
    Reset successful
    $ echo -e "4a 01 00\n423000" |pn53x-tamashell
    $ sudo ./usbreset /dev/bus/usb/001/010
    Resetting USB device /dev/bus/usb/001/010
    Error in ioctl: No such device
    $ lsusb|grep NFC
    ... device disappeared
    
    In the example above, reading 4 pages of a MFUL corrupted one single byte.
    The entire buffer can be corrupted e.g. with fast-reading a MFUL EV1:
    $ echo -e "4a 01 00\n423a0013"|pn53x-tamashell
    doegox committed Apr 20, 2017
    Configuration menu
    Copy the full SHA
    c9ac17c View commit details
    Browse the repository at this point in the history

Commits on May 16, 2017

  1. Add nfc-barcode

    doegox committed May 16, 2017
    Configuration menu
    Copy the full SHA
    9f4290b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f1a685 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2017

  1. Configuration menu
    Copy the full SHA
    dcdbff0 View commit details
    Browse the repository at this point in the history
  2. Make Travis happy

    doegox committed May 17, 2017
    Configuration menu
    Copy the full SHA
    00700bc View commit details
    Browse the repository at this point in the history

Commits on May 18, 2017

  1. Fix mem leak

    doegox committed May 18, 2017
    Configuration menu
    Copy the full SHA
    14f48d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2017

  1. Configuration menu
    Copy the full SHA
    f941758 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2017

  1. Merge pull request nfc-tools#420 from hramrach/master

    nfc-poll: print "Waiting for card removing..." before waiting for card removal
    smortex authored Jul 19, 2017
    Configuration menu
    Copy the full SHA
    2869ae2 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2017

  1. Wrong variable names

    Wrong variable names (missing dots) on line 269, 270, 271
    rocco8620 authored Sep 3, 2017
    Configuration menu
    Copy the full SHA
    2b96c9f View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#440 from rocco8620/patch-1

    Wrong variable names
    doegox authored Sep 3, 2017
    Configuration menu
    Copy the full SHA
    216145f View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2017

  1. remove redundant blanks

    hph86 committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    e4ca7f4 View commit details
    Browse the repository at this point in the history
  2. fix typo

    hph86 committed Sep 17, 2017
    Configuration menu
    Copy the full SHA
    df4f9c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7a0a469 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2018

  1. Configuration menu
    Copy the full SHA
    62f27c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2018

  1. Merge pull request nfc-tools#503 from AdamLaurie/master

    Add support for Ultralight NTAG213/215/216
    doegox authored Sep 16, 2018
    Configuration menu
    Copy the full SHA
    7c9a2a8 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2018

  1. Fix handling of NTAG OTP and LOCK bytes

    Adam Laurie committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    4c914e6 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/master'

    Adam Laurie committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    2229b9e View commit details
    Browse the repository at this point in the history
  3. Fix NTAG OTP and LOCK BYTES (Dynamic LOCK also applies to MF0UL21). F…

    …ix MF0UL21 sizing issue.
    Adam Laurie committed Sep 17, 2018
    Configuration menu
    Copy the full SHA
    40b54a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3ba065f View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2018

  1. Add OTP/Capability Bytes handling to NTAG

    Adam Laurie committed Sep 18, 2018
    Configuration menu
    Copy the full SHA
    25ee3a2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#504 from AdamLaurie/master

     Fix handling of NTAG OTP and LOCK bytes
    doegox authored Sep 18, 2018
    Configuration menu
    Copy the full SHA
    a9af192 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2018

  1. Configuration menu
    Copy the full SHA
    d11db46 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#506 from nfc-tools/fix-cmake-module-path

    fix CMAKE_MODULE_PATH for libnfc as a submodule
    daixtrose authored Oct 2, 2018
    Configuration menu
    Copy the full SHA
    980513f View commit details
    Browse the repository at this point in the history
  3. Merge pull request nfc-tools#450 from hph86/2_fix_typo

    Fix typo in nfc-mfclassic
    daixtrose authored Oct 2, 2018
    Configuration menu
    Copy the full SHA
    4ae4cc8 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2018

  1. Configuration menu
    Copy the full SHA
    c52cdb1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f93169f View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2018

  1. Merge pull request nfc-tools#513 from Stean/master

    Add undocumented option -s to nfc-relay-picc help
    doegox authored Nov 7, 2018
    Configuration menu
    Copy the full SHA
    b5641f8 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2018

  1. Add missing timeout

    Add a tiemout in pn53x_initiator_select_passive_target()
    so that we do not get stuck forever when pn533 misses a toggle
    bit change.
    manu0401 committed Nov 12, 2018
    Configuration menu
    Copy the full SHA
    2418d94 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2018

  1. Merge pull request nfc-tools#517 from manu0401/timeout1

    Add missing timeout
    neomilium authored Nov 13, 2018
    Configuration menu
    Copy the full SHA
    ddfe2e6 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2018

  1. Prefer hardcoded PN533 descriptors to the real ones

    PN533 easily corrupts its USB descriptors. We know that and we
    already try to detect and even repair them.
    
    However there are situations where lower software layers get
    confused before libnfc can help. On Windows, libusb may set
    dev->config to NULL, but we can also have a non NULL dev->config
    referencing corrupted data.
    
    In order to get more robust, let us replace the Windows libusb
    specific (dev->config == NULL) test by an inconditionnal use of
    hardcoded descriptors when they are available.
    manu0401 authored and neomilium committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    85100c0 View commit details
    Browse the repository at this point in the history
  2. Fix typos

    manu0401 authored and neomilium committed Nov 19, 2018
    Configuration menu
    Copy the full SHA
    7ca85a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2018

  1. Fixed format warnings.

    stawiski committed Nov 25, 2018
    Configuration menu
    Copy the full SHA
    793d5ad View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2019

  1. Add missing INCLUDES

          CC       pn53x-tamashell.o
        pn53x-tamashell.c:48:12: fatal error: 'readline/readline.h' file not found
        #  include <readline/readline.h>
        	   ^~~~~~~~~~~~~~~~~~~~~
        1 error generated.
    smortex committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    a9e4c91 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2019

  1. Configuration menu
    Copy the full SHA
    ae56188 View commit details
    Browse the repository at this point in the history
  2. Do outsource builds on CI

    This helps figurig-out missing -I more easily.
    smortex committed Feb 8, 2019
    Configuration menu
    Copy the full SHA
    c592199 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2019

  1. Configuration menu
    Copy the full SHA
    c42e250 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2019

  1. Updated function declaration in utils/nfc-mfultralight.c

    Updated a function declaration in utils/nfc-mfultralight.c to match the new style of C function declarations.
    rstular authored Apr 29, 2019
    Configuration menu
    Copy the full SHA
    ebb13d8 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. usbbus: Include stdint.h for uintX_t

    stdint.h is needed for uintX_t typedefs which are
    used to replace u_intX_t in libusb API headers in the cmake files
    
    Signed-off-by: Khem Raj <[email protected]>
    kraj committed May 21, 2019
    Configuration menu
    Copy the full SHA
    91f7db5 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. Configuration menu
    Copy the full SHA
    a4af2be View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. Generate config.h into build instead source directory.

    Adam Oleksy committed Jul 19, 2019
    Configuration menu
    Copy the full SHA
    48d5f6b View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#549 from admo/cmake_config_h

    Generate config.h into build instead source directory.
    doegox authored Jul 19, 2019
    Configuration menu
    Copy the full SHA
    141907e View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2019

  1. Update nfc-mfultralight.c

    Adding support for "DirectWrite" Ultralight tags.
     - The latest generation of "Magic" Ultralight tags support DirectWrite to B0.
     - Several versions of these cards are bricked if the older 'unlock' command is issued to the card.
     - To avoid this, when detecting if a card is magic, we attempt to modify B0 directly. If this fails, we proceed with an unlock command.
    quantum-x authored Aug 19, 2019
    Configuration menu
    Copy the full SHA
    c109d37 View commit details
    Browse the repository at this point in the history
  2. Update nfc-mfclassic.c

    Adding support for extended Magic cards:
     - DirectWrite cards
     - One Time Write cards
    
    Direct Write cards support modification of B0 directly, without any unlock codes. When we are attempting to detect if a card is 'magic', we will attempt to modify B0 directly as an initial check.
    
    One Time Write cards support modification of B0 directly, one time only. They do not respond to magic commands, but have a fixed UID coming out of the factory. We now detect this UID, and if so, deem the card 'magic'.
    quantum-x authored Aug 19, 2019
    Configuration menu
    Copy the full SHA
    fbdbe6e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    454a8c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2019

  1. Update .travis.yml

    quantum-x authored Aug 21, 2019
    Configuration menu
    Copy the full SHA
    ad695d0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#554 from quantum-x/master-UL-4K-DirectWr…

    …ite-OneTimeWrite
    
    Adding extended Magic Card support
    doegox authored Aug 21, 2019
    Configuration menu
    Copy the full SHA
    f8b2852 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. Added driver for contactless PC/SC readers

    - only initiator mode is supported
    - properties are choosen as they are available via PC/SC, the rest of
    the defaults are chosen to be compatible with Mifare DESFire
    - This commit allows reading Mifare DESFire via PC/SC with libfreefare
    frankmorgner committed Sep 3, 2019
    Configuration menu
    Copy the full SHA
    75e5e23 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    959a992 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8e7a8e1 View commit details
    Browse the repository at this point in the history
  4. cleanup

    frankmorgner committed Sep 3, 2019
    Configuration menu
    Copy the full SHA
    6f793da View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2019

  1. Removed USB alternate setting.

    Quick and dirty fix for nfc-tools#535
    jpwidera committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    a77a2a8 View commit details
    Browse the repository at this point in the history
  2. Re-enabled claim

    If there are alternative interfaces, claim interface 0. Otherwise skip this step.
    jpwidera committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    6e035c3 View commit details
    Browse the repository at this point in the history
  3. Fixed missing whitespaces

    jpwidera committed Sep 5, 2019
    Configuration menu
    Copy the full SHA
    07f9182 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2020

  1. Configuration menu
    Copy the full SHA
    2a6a8e6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#590 from AdamLaurie/master

    add debugging for high level config requests
    AdamLaurie authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    8a1e149 View commit details
    Browse the repository at this point in the history
  3. Merge pull request nfc-tools#451 from hph86/3_verbose_rats_cmd

    Add RATS support indicator to nfc-mfclassic
    AdamLaurie authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    a85f003 View commit details
    Browse the repository at this point in the history
  4. Merge pull request nfc-tools#469 from jgeslin/master

     Adding pn71xx NXP's NFC Controllers through Linux Libnfc-nci
    (note I have only tested this does not break build etc. as I do not have a reader with this chipset)
    AdamLaurie authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    fba9694 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    54ba735 View commit details
    Browse the repository at this point in the history
  6. Merge pull request nfc-tools#520 from stawiski/master

    Fixed format warnings.
    AdamLaurie authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    c34c446 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff4e1ef View commit details
    Browse the repository at this point in the history
  8. Merge pull request nfc-tools#539 from rstular/patch-2

    Updated function declaration in utils/nfc-mfultralight.c
    AdamLaurie authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    7908d40 View commit details
    Browse the repository at this point in the history
  9. Merge pull request nfc-tools#544 from kraj/kraj/musl

    usbbus: Include stdint.h for uintX_t
    AdamLaurie authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    004eff8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    fbae171 View commit details
    Browse the repository at this point in the history
  11. Merge pull request nfc-tools#559 from frankmorgner/pcsc

    Added driver for contactless PC/SC readers
    (tested as far as it can see my PC/SC readers but could not open - needs debugging!)
    AdamLaurie authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    f3f5886 View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2020

  1. Merge pull request nfc-tools#561 from jpwidera/master

    Added check for USB alternate settings
    AdamLaurie authored Apr 5, 2020
    Configuration menu
    Copy the full SHA
    692038c View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2020

  1. Update readme and add Feitian R502 and bR500 support into pcsc driver

    1. Modify pcsc.c code, add R502 and bR500 support into PCSC driver
    2. Update readme, tell user how to build with pcsc driver
    3. Add FAQ for bR500 and R502 in readme
    FeitianSmartcardReader committed Apr 9, 2020
    Configuration menu
    Copy the full SHA
    cbc4e7b View commit details
    Browse the repository at this point in the history

Commits on May 5, 2020

  1. Merge pull request nfc-tools#591 from FeitianSmartcardReader/master

    Update readme and add Feitian R502 and bR500 support into pcsc driver
    AdamLaurie authored May 5, 2020
    Configuration menu
    Copy the full SHA
    61e93c1 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2020

  1. 15 Configuration menu
    Copy the full SHA
    19a51dc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dcc52cd View commit details
    Browse the repository at this point in the history
  3. fix nfc-list for types B

    doegox committed May 11, 2020
    Configuration menu
    Copy the full SHA
    96568a1 View commit details
    Browse the repository at this point in the history
  4. nfc-list bitfield

    doegox committed May 11, 2020
    Configuration menu
    Copy the full SHA
    10f8803 View commit details
    Browse the repository at this point in the history
  5. rework NMT_END_ENUM

    doegox committed May 11, 2020
    Configuration menu
    Copy the full SHA
    a07d879 View commit details
    Browse the repository at this point in the history
  6. Add check for Libnfc-NCI before enabling pn71xx

    If the user specifically requests the driver, throw an error if it
    cannot find libnfc-nci.
    
    Also use the value from pkg-config to determine the library name,
    instead of hard-coding it.
    h3xx committed May 11, 2020
    Configuration menu
    Copy the full SHA
    17e615e View commit details
    Browse the repository at this point in the history
  7. Merge pull request nfc-tools#597 from nfc-tools/iclass

    Iclass from Adam
    AdamLaurie authored May 11, 2020
    Configuration menu
    Copy the full SHA
    c884f36 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Merge pull request nfc-tools#598 from h3xx/add-check-libnfc-nci

    Add check for Libnfc-NCI before enabling pn71xx
    thanks @h3xx
    AdamLaurie authored May 12, 2020
    2 Configuration menu
    Copy the full SHA
    f1bb27d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6617601 View commit details
    Browse the repository at this point in the history

Commits on May 13, 2020

  1. Modify pcsc.c to have support for Mifare classic and Ultralight card

    Modify pcsc.c and mifare.c files.
    1. add code into pcsc.c to have support Mifare classic card.
    2. The PCSC reader has SW value, add response data length for PCSC
    reader
    FeitianSmartcardReader committed May 13, 2020
    Configuration menu
    Copy the full SHA
    8352c80 View commit details
    Browse the repository at this point in the history
  2. Fix typo

    Introduced in nfc-tools#598
    h3xx committed May 13, 2020
    Configuration menu
    Copy the full SHA
    6f41ea3 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2020

  1. Update pcsc.c

    Remove call pcsc_get_vendor_name, get the vendor name from struct nfc_device
    FeitianSmartcardReader authored May 14, 2020
    Configuration menu
    Copy the full SHA
    beb8fdd View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#600 from FeitianSmartcardReader/master

    Modify pcsc.c to have support for Mifare classic and Ultralight card
    doegox authored May 14, 2020
    Configuration menu
    Copy the full SHA
    675c30e View commit details
    Browse the repository at this point in the history

Commits on May 21, 2020

  1. Configuration menu
    Copy the full SHA
    020f531 View commit details
    Browse the repository at this point in the history
  2. Prepare 1.7.2 version

    AdamLaurie committed May 21, 2020
    Configuration menu
    Copy the full SHA
    4a2c764 View commit details
    Browse the repository at this point in the history
  3. update changelog

    doegox committed May 21, 2020
    Configuration menu
    Copy the full SHA
    d29b317 View commit details
    Browse the repository at this point in the history
  4. rework README

    doegox committed May 21, 2020
    Configuration menu
    Copy the full SHA
    6b4f624 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    730f705 View commit details
    Browse the repository at this point in the history
  6. remove warnings

    doegox committed May 21, 2020
    Configuration menu
    Copy the full SHA
    5a059db View commit details
    Browse the repository at this point in the history
  7. remove warnings

    doegox committed May 21, 2020
    Configuration menu
    Copy the full SHA
    f52d04e View commit details
    Browse the repository at this point in the history
  8. make style

    doegox committed May 21, 2020
    Configuration menu
    Copy the full SHA
    4525cd1 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2020

  1. Fix compiler warning: old-style function definition

    nfc-mfclassic.c:623:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
     bool is_directwrite()
          ^~~~~~~~~~~~~~
    nfc-mfclassic.c: In function ‘is_directwrite’:
    nfc-mfclassic.c:623:6: warning: old-style function definition [-Wold-style-definition]
    LudovicRousseau committed May 22, 2020
    Configuration menu
    Copy the full SHA
    91d7c5d View commit details
    Browse the repository at this point in the history
  2. Fix compiler warning: no previous prototype

    nfc-mfclassic.c:623:6: warning: no previous prototype for ‘is_directwrite’ [-Wmissing-prototypes]
     bool is_directwrite(void)
          ^~~~~~~~~~~~~~
    LudovicRousseau committed May 22, 2020
    Configuration menu
    Copy the full SHA
    c8692aa View commit details
    Browse the repository at this point in the history
  3. Doxygen: update Doxyfile.in to version 1.8.13

    Fix warnings:
    warning: Tag `SYMBOL_CACHE_SIZE' at line 299 of file `./Doxyfile' has become obsolete.
             To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
    warning: Tag `SHOW_DIRECTORIES' at line 487 of file `./Doxyfile' has become obsolete.
             To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
    warning: Tag `HTML_ALIGN_MEMBERS' at line 823 of file `./Doxyfile' has become obsolete.
             To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
    warning: Tag `USE_INLINE_TREES' at line 976 of file `./Doxyfile' has become obsolete.
             To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
    warning: Tag `XML_SCHEMA' at line 1169 of file `./Doxyfile' has become obsolete.
             To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
    warning: Tag `XML_DTD' at line 1175 of file `./Doxyfile' has become obsolete.
             To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
    LudovicRousseau committed May 22, 2020
    Configuration menu
    Copy the full SHA
    357ae38 View commit details
    Browse the repository at this point in the history
  4. Doxygen: unset DOT_FONTNAME

    Fix warning:
    warning: doxygen no longer ships with the FreeSans font.
    You may want to clear or change DOT_FONTNAME.
    Otherwise you run the risk that the wrong font is being used for dot generated graphs.
    LudovicRousseau committed May 22, 2020
    Configuration menu
    Copy the full SHA
    fa78e8b View commit details
    Browse the repository at this point in the history
  5. Fix compiler warnings: no previous prototype

    Local function should be declared static.
    
    Fix:
    pcsc.c:107:1: warning: no previous prototype for ‘pcsc_get_scardcontext’ [-Wmissing-prototypes]
     pcsc_get_scardcontext(void)
     ^~~~~~~~~~~~~~~~~~~~~
    pcsc.c:119:1: warning: no previous prototype for ‘pcsc_free_scardcontext’ [-Wmissing-prototypes]
     pcsc_free_scardcontext(void)
     ^~~~~~~~~~~~~~~~~~~~~~
    pcsc.c:135:5: warning: no previous prototype for ‘pcsc_transmit’ [-Wmissing-prototypes]
     int pcsc_transmit(struct nfc_device *pnd, const uint8_t *tx, const size_t tx_len, uint8_t *rx, size_t *rx_len)
         ^~~~~~~~~~~~~
    pcsc.c:160:5: warning: no previous prototype for ‘pcsc_get_status’ [-Wmissing-prototypes]
     int pcsc_get_status(struct nfc_device *pnd, int *target_present, uint8_t *atr, size_t *atr_len)
         ^~~~~~~~~~~~~~~
    pcsc.c:178:5: warning: no previous prototype for ‘pcsc_reconnect’ [-Wmissing-prototypes]
     int pcsc_reconnect(struct nfc_device *pnd, DWORD share_mode, DWORD protocol, DWORD disposition)
         ^~~~~~~~~~~~~~
    pcsc.c:194:9: warning: no previous prototype for ‘pcsc_get_icc_type’ [-Wmissing-prototypes]
     uint8_t pcsc_get_icc_type(const struct nfc_device *pnd)
             ^~~~~~~~~~~~~~~~~
    pcsc.c:203:6: warning: no previous prototype for ‘is_pcsc_reader_vendor’ [-Wmissing-prototypes]
     bool is_pcsc_reader_vendor(const struct nfc_device *pnd, const char *target_vendor_name)
          ^~~~~~~~~~~~~~~~~~~~~
    pcsc.c:219:5: warning: no previous prototype for ‘pcsc_get_atqa’ [-Wmissing-prototypes]
     int pcsc_get_atqa(struct nfc_device *pnd, uint8_t *atqa, size_t atqa_len)
         ^~~~~~~~~~~~~
    pcsc.c:245:5: warning: no previous prototype for ‘pcsc_get_ats’ [-Wmissing-prototypes]
     int pcsc_get_ats(struct nfc_device *pnd, uint8_t *ats, size_t ats_len)
         ^~~~~~~~~~~~
    [...]
    LudovicRousseau committed May 22, 2020
    Configuration menu
    Copy the full SHA
    5294c02 View commit details
    Browse the repository at this point in the history
  6. pcsc: remove unused function pcsc_initiator_deselect_target

    pcsc.c:763:12: warning: ‘pcsc_initiator_deselect_target’ defined but not used [-Wunused-function]
     static int pcsc_initiator_deselect_target(struct nfc_device *pnd)
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    LudovicRousseau committed May 22, 2020
    Configuration menu
    Copy the full SHA
    63cf0ac View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5c3c468 View commit details
    Browse the repository at this point in the history
  8. Prepare 1.8.0 version

    doegox committed May 22, 2020
    Configuration menu
    Copy the full SHA
    f02ff51 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2020

  1. Update pcsc.c

    1. Fix bug for Mifare card, before do authentication, need to load PIN/password first
    2. Fix bug when to get card ATS
    FeitianSmartcardReader authored May 27, 2020
    Configuration menu
    Copy the full SHA
    b02f94d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53eccd4 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2020

  1. autotools: make example build optional

    This patch makes example build optional for autotools build system.
    
    In order to keep the former behavior, example build is enabled by default.
    
    Signed-off-by: Samuel Martin <[email protected]>
    [Retrieved (and slightly updated to remove CMakeLists.txt) from:
    https://git.buildroot.net/buildroot/tree/package/libnfc/0001-build-systems-make-example-build-optional.patch]
    Signed-off-by: Fabrice Fontaine <[email protected]>
    ffontaine committed Jun 21, 2020
    Configuration menu
    Copy the full SHA
    874d960 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2020

  1. Add length check to have compatible with R502

    improve the code, to have compatible with OEM R502 firmware.
    FeitianSmartcardReader committed Jun 22, 2020
    Configuration menu
    Copy the full SHA
    435e2ff View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#606 from FeitianSmartcardReader/master

    Add length check when work with Feitian OEM R502
    doegox authored Jun 22, 2020
    Configuration menu
    Copy the full SHA
    1f6f75a View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2020

  1. Merge pull request nfc-tools#605 from ffontaine/master

    autotools: make example build optional
    doegox authored Jun 24, 2020
    Configuration menu
    Copy the full SHA
    4b7791f View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2020

  1. partial fix of nfc-mfclassic which only writes first sector of each b…

    …lock and not sector 1,2,3 unles 'unlocked' write - debuggers still in!
    AdamLaurie authored and gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    a28a537 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e560689 View commit details
    Browse the repository at this point in the history
  3. only test DirectWrite write if we need to. only write block 0 if spec…

    …ifically requested to.
    AdamLaurie authored and gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    7b6ff73 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a87f1f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd96571 View commit details
    Browse the repository at this point in the history
  6. add rewrite support for gen2 tags with W command

    add rewrite support for gen2 tags with W command
    gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    3f4b7a0 View commit details
    Browse the repository at this point in the history
  7. sends lib log to /dev/null in posix and added option (v) to reactivate

    There in an error handling and messaging inside
    gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    4e922e8 View commit details
    Browse the repository at this point in the history
  8. add gen2 desc to help

    add gen2 desc to help
    gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    2b21d87 View commit details
    Browse the repository at this point in the history
  9. hardcoded values

    gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    7a5e654 View commit details
    Browse the repository at this point in the history
  10. add verbose case

    add verbose case
    gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    02f0f6b View commit details
    Browse the repository at this point in the history
  11. swap 0 block write and other blocks write

    when writing to gen2 and possible on gen3, it writes first block 3 wich is the trailing sector before writing to block 0, so the last write to block 0 fails because authenticate to old keyset
    gelotus committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    3c55b87 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2020

  1. Configuration menu
    Copy the full SHA
    709ef83 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f7b9b0e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db957aa View commit details
    Browse the repository at this point in the history
  4. another hardcode value

    gelotus committed Jun 26, 2020
    Configuration menu
    Copy the full SHA
    01bc569 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2020

  1. correct typo

    gelotus committed Jun 27, 2020
    Configuration menu
    Copy the full SHA
    6921e57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8fcaea View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2020

  1. Merge pull request nfc-tools#608 from gelotus/nfc-mfclassic

    Improve support for gen2 and gen3 tags
    thanks @gelotus
    AdamLaurie authored Jun 28, 2020
    Configuration menu
    Copy the full SHA
    0de5596 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2020

  1. remove direct write check

    gelotus committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    0bf4cec View commit details
    Browse the repository at this point in the history
  2. too many different clone tags, let the user to chose action

    too many different clone tags, let the user to chose action
    gelotus committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    f2677da View commit details
    Browse the repository at this point in the history
  3. error handling

    gelotus committed Jun 30, 2020
    Configuration menu
    Copy the full SHA
    6fb61d3 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2020

  1. Configuration menu
    Copy the full SHA
    db081ed View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#610 from iceman1001/master

    chg: make version printing obey verbose flag
    doegox authored Jul 1, 2020
    Configuration menu
    Copy the full SHA
    fc51c86 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2020

  1. Merge pull request nfc-tools#609 from gelotus/fix-4k

    Fix 4k - [@gelotus]
    (we can re-introduce support for other card types later as long as we adhere to the principal that we don't write unless requested to)
    AdamLaurie authored Jul 4, 2020
    Configuration menu
    Copy the full SHA
    66d3560 View commit details
    Browse the repository at this point in the history
  2. Make it compile under MSVC2017.

    puppywang authored and gelotus committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    82f23c4 View commit details
    Browse the repository at this point in the history
  3. Example and util compile fine.

    puppywang authored and gelotus committed Jul 4, 2020
    Configuration menu
    Copy the full SHA
    e21fab3 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2020

  1. some cleanings

    gelotus committed Jul 7, 2020
    Configuration menu
    Copy the full SHA
    7ad18a2 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2020

  1. add cr

    gelotus committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    9cece8b View commit details
    Browse the repository at this point in the history
  2. easy reading condition

    gelotus committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    f56bbab View commit details
    Browse the repository at this point in the history
  3. remove unused packages

    gelotus committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    d5fcd08 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5c09dc1 View commit details
    Browse the repository at this point in the history
  5. style

    gelotus committed Jul 8, 2020
    Configuration menu
    Copy the full SHA
    1077228 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e37d24e View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2020

  1. Merge pull request nfc-tools#611 from gelotus/msvc

    windows compiling with native tools and clang, macos catalina compiling, added travis ci build tests
    doegox authored Jul 11, 2020
    Configuration menu
    Copy the full SHA
    cc4311a View commit details
    Browse the repository at this point in the history
  2. document RC_FILE_TYPE

    doegox committed Jul 11, 2020
    Configuration menu
    Copy the full SHA
    d9a04a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2020

  1. docs: fix simple typo, mecanism -> mechanism

    There is a small typo in contrib/win32/libnfc/buses/uart.c, libnfc/drivers/acr122_usb.c, libnfc/drivers/acr122s.c, libnfc/drivers/arygon.c, libnfc/drivers/pn532_uart.c, libnfc/drivers/pn53x_usb.c.
    
    Should read `mechanism` rather than `mecanism`.
    timgates42 committed Oct 10, 2020
    Configuration menu
    Copy the full SHA
    126cf9c View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2020

  1. Merge pull request nfc-tools#622 from timgates42/bugfix_typo_mechanism

    docs: fix simple typo, mecanism -> mechanism
    doegox authored Oct 11, 2020
    Configuration menu
    Copy the full SHA
    c3f739d View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. Modify code to add compatibility of readers

    Follow the NXP  Contactless card IC rules to be compatible with Feitian new and old R502 reader.
    FeitianSmartcardReader authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    0cd314c View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Merge pull request nfc-tools#624 from FeitianSmartcardReader/master

    Modify code to add compatibility of readers
    AdamLaurie authored Oct 24, 2020
    Configuration menu
    Copy the full SHA
    b5180a6 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. Configuration menu
    Copy the full SHA
    3af2e14 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#626 from aviallon/fix-typo-pcsc

    Fix typo in variable name in pcsc.c
    doegox authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    7ebf9b9 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2021

  1. README.md: fix URL of pcsc-lite

    The project moved from .alioth.debian.org to .apdu.fr
    LudovicRousseau authored Jan 22, 2021
    Configuration menu
    Copy the full SHA
    2b5ad9c View commit details
    Browse the repository at this point in the history

Commits on May 12, 2021

  1. Configuration menu
    Copy the full SHA
    1f4d2fb View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2021

  1. Configuration menu
    Copy the full SHA
    1dc9dcb View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2021

  1. Add nfc-st25b example

    This new example allows to operate on some ISO-14443-B ST25TB* and legacy SR* cards (read, write, info)
    gentilkiwi authored Jun 13, 2021
    Configuration menu
    Copy the full SHA
    180fbab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a94f20 View commit details
    Browse the repository at this point in the history
  3. Add utils lib dep

    gentilkiwi authored Jun 13, 2021
    Configuration menu
    Copy the full SHA
    ba14d10 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c924e5e View commit details
    Browse the repository at this point in the history
  5. Fix, lib Win32 again

    gentilkiwi authored Jun 13, 2021
    Configuration menu
    Copy the full SHA
    a9cb26b View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2021

  1. Merge pull request nfc-tools#645 from gentilkiwi/master

    Add nfc-st25b example
    doegox authored Jul 10, 2021
    Configuration menu
    Copy the full SHA
    fb290be View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. Configuration menu
    Copy the full SHA
    1b8c244 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Merge pull request nfc-tools#649 from linkclau/master

    Include unistd.h (required because of usleep())
    doegox authored Aug 5, 2021
    Configuration menu
    Copy the full SHA
    56f6bd4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#639 from rstular/fix-atqa-comparison

    Fix - assignment instead of comparison (PCSC driver)
    doegox authored Aug 5, 2021
    Configuration menu
    Copy the full SHA
    c8185c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2021

  1. Fix builds on FreeBSD

    Without this patch the cmake config assume that every UNIX system that
    is not APPLE is automatically a linux system. This however causes
    problems on FreeBSD and properly on other BSD systems.
    
    We now explicitly check if the CMAKE_SYSTEM_NAME is set to Linux.
    xanderio committed Aug 14, 2021
    Configuration menu
    Copy the full SHA
    a884a45 View commit details
    Browse the repository at this point in the history
  2. Merge pull request nfc-tools#652 from xanderio/fix-freebsd

    Fix builds on FreeBSD
    smortex authored Aug 14, 2021
    Configuration menu
    Copy the full SHA
    6d0e8a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2021

  1. Configuration menu
    Copy the full SHA
    16671bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3df7f25 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2022

  1. Configuration menu
    Copy the full SHA
    c4e04d5 View commit details
    Browse the repository at this point in the history