Commit Graph

395 Commits

Author SHA1 Message Date
Rotzbua
ede44cc620 move source files
closes #286
2017-03-13 22:31:17 +01:00
Rotzbua
4edd4acca6 refactor class
move new rats functions to extra class
2017-03-13 22:23:10 +01:00
jpg-consulting
45b7e60584 Added RATS (Request for Answer To Select) #271
Added ATQA information for card identification
Added MIFARE DESFire type
Improved RATS

Added the "Dumping memory contents not implemented for that PICC type." for ISO-14443 cards

updated keyword.txt

Added PPS (Protocol and Parameter Selection Request)

Change baud rates in PPS and hardcoded CID

Improved ATS response.

Made ATS response more user-friendly

Enable CRC for T=CL after succesfull PPS.

Added TCL_Transceive and TCL_Deselect methods.

Response to TCL_Transceive takes care if R-Block is received

Added private methos to help parse PCB Block response

Using a structure to transceive PCB blocks.

Renamed some methods and structures.

Change some method and structure names and fixed a bug in PPS.

Added sanity check to PPS command

Added method to send R-Block (ACK/NAK).
Also takes care if chaining is present in I-Block response.

PPS works at 106 and 212 Kbps (Higher speeds not working)
2017-03-13 22:22:47 +01:00
Rotzbua
c4e10ed549 Bump Version to 1.2.1 2017-03-13 14:23:49 +01:00
Thorsten Köster
637e81caba removed need for reset pin (#275)
* removed need for reset pin - use soft reset on PCD_Init() if reset pin has not been configured
* UINT8_MAX is used to signify an unused reset connection, the  _resetPowerDownPin member is initialized accordingly
2017-03-13 13:50:33 +01:00
tuyethoa08041997
12a00174b5 Add SPI speed option + Various minor changes (#276)
+ Change default SPI speed to SPI_CLOCK_DIV4
2017-03-13 13:49:07 +01:00
Rotzbua
5f6c8f9a01 extend travis build script
only show errors and resources
2017-03-13 13:27:22 +01:00
Rotzbua
93c16d16c7 add type hints to enums
force byte
2017-03-13 13:05:59 +01:00
Rotzbua
4b6fe81b5f Update README.rst
add fancy badges
2017-03-10 20:17:36 +01:00
Rotzbua
aa9ac9edf0 Create ISSUE_TEMPLATE.md (#282) 2017-02-22 14:51:25 +01:00
Rotzbua
3f9d6705a4 Create CONTRIBUTING.md (#283) 2017-02-22 14:50:48 +01:00
Rotzbua
f5f5788afe Update ReadUidMultiReader.ino
- description was wrong
- added warning, because many trouble with example
2017-02-08 21:49:27 +01:00
Rotzbua
dd9e941d73 Update README.rst
add uart notice ref #221 #257 #281
2017-01-28 17:12:43 +01:00
Rotzbua
fe0e15ec29 Update README.rst
SPI is sensitive to electromagnetic noise
2017-01-26 16:05:11 +01:00
Rotzbua
8d014ca908 Update README.rst
mention problems and solutions with multiple reader like #191 #263 #277
2017-01-19 16:21:55 +01:00
Rotzbua
0b91afb45b Update README.rst
close #111
close #240
2017-01-16 05:07:52 +01:00
Rotzbua
7bd21495a3 Bump Version to 1.2.0 2017-01-03 16:34:00 +01:00
Rotzbua
d4b358a8a2 update changes.txt 2017-01-03 16:33:27 +01:00
Anton Yablokov
1ea6406f35 Update rfid_default_keys.ino (#268)
try to change the order of the known keys and meet the bug described at http://arduino.stackexchange.com/a/14316
2017-01-02 21:00:17 +01:00
Rotzbua
d482061e96 Update README.rst
added hint for new port
close #258
2016-11-26 11:07:28 +01:00
Rotzbua
5ae3e62513 Merge pull request #259 from omersiar/master
Minor Example Update
2016-11-17 18:12:41 +01:00
omersiar
fde0d89ec1 Merge branch 'master' of https://github.com/omersiar/rfid 2016-11-17 14:39:09 +02:00
omersiar
1a3ac748d0 Modify int data types for cross platforms 2016-11-17 14:38:07 +02:00
omersiar
c1c8d28a0b Update .travis.yml
Problematic Example Update
2016-11-17 14:21:08 +02:00
omersiar
a88d7e1ce6 Fix #211 2016-11-14 10:32:32 +02:00
omersiar
cb0383e0cb Remove Servo example 2016-11-14 09:58:11 +02:00
omersiar
413f483ee8 Problematic Example Updated
http://forum.arduino.cc/index.php?topic=256260.msg2756668#msg2756668

Above forum message is indicating that the old Servo Example is problematic. For better user experience, I (Original Poster) updated the code and header to give more information what this example does. Commented most of the code.
2016-11-12 17:20:44 +02:00
Daniel da Costa Bittencourt
3f144d1d80 Update README.rst with info about bad components (#256)
* Update README.rst

Add note that some cheap boards from chinese manufactures my be using the components that do not meet with required parameters.
2016-10-31 19:09:59 +01:00
Rotzbua
9dcaa7edbc Merge pull request #254 from Rotzbua/use-fixed-integers
Introduce stdint.h
2016-10-31 12:53:50 +01:00
Rotzbua
0ba37f39e9 Introduce stdint.h
- replace long to int32_t
- fix documentation mu-sign
- add code style to doc
2016-10-31 12:52:43 +01:00
Rotzbua
452728d2c1 Merge pull request #245 from surr/test
Selftest completion
2016-10-31 12:46:44 +01:00
Rotzbua
82f12a607a Merge pull request #244 from surr/auth
Authenticate devices with long uids
2016-10-31 12:46:39 +01:00
Rotzbua
ee94e03906 Bump Version to 1.1.9 2016-10-31 12:39:10 +01:00
Rotzbua
bdccc59ad6 Merge pull request #255 from ricardojlrufino/patch-1
Update library.json
2016-10-26 23:51:30 +02:00
Ricardo JL Rufino
bb9cc50e73 Update library.json
use espressif8266 the old value will be deprecated
2016-10-26 18:42:19 -03:00
Rotzbua
82f2074e40 Autoformat example MinimalInterrupt.ino
- auto format from arduino ide
- unsigned char ->  byte
2016-10-14 15:08:49 +02:00
Rotzbua
c6a341f7a3 Merge pull request #253 from Rotzbua/patch-1
Extend Readme by Forks who made diffrent ports
2016-10-14 14:32:48 +02:00
Rotzbua
19063a3698 upd readme
add links to ports
add note for support/issues
2016-10-14 14:23:48 +02:00
Rotzbua
8ef6b90847 Merge pull request #246 from prazek/patch
Add support notice for arduino 101
2016-09-16 20:45:57 +02:00
Piotr Padlewski
09c5b6aa66 Add support for arduino 101
Tested with my board. Everything works.
2016-09-10 18:31:22 -07:00
Alexander Inyukhin
03abe01b87 Selftest completion
It seems that selftest completion condition
(PCD_ReadRegister(DivIrqReg) & 4) may not work.
On my v1.0 device DivIrqReg is stuck at 0x13 during test,
but output data is generated succesfully.

I think, the better way to check for completion is to
monitor FIFO level register.
2016-09-10 16:13:50 +03:00
Alexander Inyukhin
76adf6e383 Authenticate devices with long uids
It seems that the last four uid bytes should be used for
auth instead of first ones.

This patch allows to work with Mifare plus cards in SL1 mode,
that have 7 byte uids (e.g. Troyka transport cards.)

See also "3.2.5 MIFARE Classic Authentication" of AN10927 document.
http://cache.nxp.com/documents/application_note/AN10927.pdf
2016-09-10 15:47:55 +03:00
Rotzbua
bec50c194e Merge pull request #237 from danielcbit/patch-1
Add Espressif ESP8266 support in library manifest
2016-08-31 18:24:40 +02:00
Rotzbua
fb500e9f12 Update README.rst
http -> https
2016-08-31 18:21:37 +02:00
Daniel da Costa Bittencourt
d30edf393b Add Espressif ESP8266 support in library manifest
Add support for ESP8266 so that it could be installed from platformio lib management system.
2016-08-30 14:44:14 -04:00
Rotzbua
310adc8ab2 Update README.rst 2016-08-26 02:11:54 +02:00
Rotzbua
2b8a32d6c6 Merge pull request #215 from Rotzbua/master
Add note for compatible ide
2016-08-26 00:39:23 +02:00
Rotzbua
8ec23ca580 Merge pull request #219 from asomov/fix-typos
Fix typos
2016-08-26 00:37:00 +02:00
Rotzbua
da439a20de Merge pull request #232 from denisvm/spi-auto-ss
Get SPI SS/CS pin automatically
2016-08-25 23:56:01 +02:00
Denis Volpato Martins
4ee20074b2 added SS define comment 2016-08-24 08:55:49 -03:00