Commit Graph

49 Commits

Author SHA1 Message Date
Rotzbua
fda5380a7a add output SAK to dump functions 2016-02-15 16:25:48 +01:00
Miki Balboa
efc81dfb43 Merge pull request #152 from sophiekovalevsky/spi
Use settings functions on SPI libraries.
Looks great,
Thank you @sophiekovalevsky for you work, and thank you @lmmeng for testing it.
2016-01-04 22:47:54 -08:00
Rotzbua
f7f2d5d02d add dump firmware version to serial 2016-01-04 05:53:23 +01:00
Rotzbua
51a38a04de Merge branch 'master' into upd-readme 2016-01-04 04:58:20 +01:00
Rotzbua
345f66ae0f codestyle and move new code to right pos
- add doc and author
2016-01-04 04:31:01 +01:00
Rotzbua
8188a1041f fix broken compiling
seems exidently insert
2016-01-04 04:14:26 +01:00
Miguel Balboa
d035c1fb9e Fix typos in comments as #100 2016-01-03 16:34:04 -08:00
Gargantuanman
72b1162780 Update MFRC522.cpp
Added Authentication with Ntag 213,215,216 returns the pACK
2016-01-01 01:41:10 -06:00
Kiara Navarro
3c3ffa07e7 Use settings functions on SPI libraries. 2015-12-27 22:04:33 -05:00
Rotzbua
bafa2faead renew example firmware_check.ino
- add some comments at performselftest()
2015-12-08 12:31:15 +01:00
Rotzbua
8016aa7c98 typechange: byte -> PICC_Type 2015-12-05 22:32:57 +01:00
Rotzbua
36a43dbb70 fix missed type update
byte ->  MFRC522::StatusCode
2015-12-05 21:56:13 +01:00
Rotzbua
00394472fe improve code style
include if in switch
2015-12-05 21:17:44 +01:00
Rotzbua
36128c273b improve code style - realign arguments of functions 2015-12-05 21:03:41 +01:00
Rotzbua
e1b9d443f7 improve code style
remove useless break;
2015-12-05 20:52:55 +01:00
Rotzbua
2a1794a0a5 use type instead of byte 2015-12-05 20:14:10 +01:00
liviu
118a03cde0 Better implementation of the PCD_Init() method. Thanks to Rotzbua
to point this out.
2015-12-05 10:50:34 +01:00
liviu
dd3bd76f5d New constructor and PCD_Init() method to allow defining arrays of readers. 2015-12-01 21:25:01 +01:00
Rotzbua
9ef7aff2e9 Merge branch 'add_firmeware_0x90_check'
Conflicts:
	MFRC522.cpp
2015-09-04 11:36:14 +02:00
AllToTheX
e071335e4b Add return to MIFARE_UnbrickUidSector()
So the code can't reach end of non-void function
2015-08-16 02:10:46 +02:00
Miki Balboa
36c56bb55c Merge pull request #108 from anistor/t_fixes_for_STM32F103
Some fixes for STM32F1 platform
2015-06-13 23:19:14 -04:00
Adrian Nistor
68f0b68a5a Some fixes for STM32F1 platform
* replace char with int8_t because char does not seem to be signed on STM32 and leads to infinite loops.
* move the pin handling out of constructor and into PCD_Init() function to avoid problems with digitalWrite() crashing due to unpredictable global variable initialisation order on STM32 (pin map arrays are not always setup before user's global objects are constructed).
2015-06-13 19:59:04 +03:00
Marcos Vives Del Sol
ced2555bc4 Added selftest support for FM17522 2015-06-12 21:02:36 +02:00
Rotzbua
33fc41a302 add self-test reference for 0x90 2015-04-12 16:33:06 +02:00
Rotzbua
6e8f4e0f29 upd doc 2015-04-12 16:14:37 +02:00
Rotzbua
4cbca4bada move last remaining strings to flash
save: 6 byte ram
cost: 20 byte flash
2015-04-06 18:14:32 +02:00
Rotzbua
12a42c8143 style improved 2015-04-02 14:16:14 +02:00
Rotzbua
e891ec0033 style add missing tabs 2015-04-02 14:16:06 +02:00
Rotzbua
2dc9124ffc style space to tab
no code change, just style
2015-04-02 14:15:54 +02:00
Rotzbua
038badba6c move self-test reference from ram to flash 2015-03-12 15:26:43 +01:00
Rotzbua
d0558e6079 Merge https://github.com/Eckankar/rfid 2015-03-12 15:23:46 +01:00
Sebastian Paaske Tørholm
26f95497ae Implement method for performing self-test of firmware
Closes #89
2015-03-11 23:25:35 +01:00
Rotzbua
ffe0976282 use F() macro for return strings by functions
fkt GetStatusCodeName() and PICC_GetTypeName() return pointer to flash
saves about 450 byte memory
if you need char: copy it from the flash
2015-03-11 17:30:06 +01:00
WGH
bbe86fcb7b fixed PCD_AntennaOff (wrong register was assigned) 2015-02-09 01:59:33 +03:00
Spyros Panagiotopoulos
d914032c7c Fixed some typos
Instead of 0,”)” added
2015-02-03 20:59:07 +02:00
Lorne Bonnell
5b148a2e72 use F() Macro to move strings to ProgMem 2015-02-02 08:42:32 +10:00
lorneb
8f4d3cd542 Revert "Move strings to PROGMEM string tables" 2015-02-01 13:08:05 +10:00
Sebastian Kurella
605a1d755f Move strings to PROGMEM string tables
This frees up almost 1KB of dynamic memory.
2015-01-30 15:29:39 +00:00
Miki Balboa
cba5551e53 Merge pull request #64 from tjclement/master
UID changeable card support
It is useful, thank you.
2015-01-05 12:28:41 -06:00
Tom Clement
b1240e9024 Implemented functionality to write to sector 0 on UID changeable MIFARE cards, using Chinese 'magic sequence' commands. 2015-01-03 02:30:23 +01:00
mdxs
16a035c89c Add get/set methods for MIFARE Classic value blocks 2014-11-24 11:46:57 +01:00
mdxs
9badf084d7 Fixed typo in comment 2014-11-11 12:11:40 +01:00
Miki Balboa
92544cab84 Merge pull request #47 from mdxs/exp_range
Adding AttennaOff and get/set of AntennaGain
2014-11-10 09:07:29 -06:00
mdxs
1ee8cbd7fd Adding AntennaOff and get/set of AntennaGain 2014-11-10 13:58:09 +01:00
mdxs
a9360d6022 Fixed various typos and whitespace layout issues (no code should have changed by this commit) 2014-11-10 09:15:23 +01:00
Hector Bravo
8bb06db299 Fix resetPowerDownPin initial state. 2014-02-12 22:19:28 +01:00
John Stäck
6887ab23c6 Fix chipSelectPin initial state.
Set chipSelectPin to HIGH on initiation, to not select the slave until needed. This avoids issues when using multiple devices on the same SPI bus.
2014-01-29 14:50:30 +01:00
Søren Thing Andersen
a3bd6ff2e5 MIFARE specific functions renamed.
Write for MIFARE Ultralight implemented.
Cleanup.
2013-10-20 16:19:49 +02:00
Søren Thing Andersen
cc1294aa79 Major refactoring performed. Committed now to have an offsite backup ;-) 2013-10-19 00:27:20 +02:00