summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-01-04Actually set the lock bits for static T1T and T2T.Martijn Coenen
Change-Id: I594e588fb7f0f8151e54ac872640bb8d3e19bfce
2010-12-16Add support for makeLowLevelReadonly() in libnfc.Martijn Coenen
Implemented for T1T and T2T. There's also added code for formatting Desfire EV1, but it will not be used by the current implementation (DesFIRE doesn't have NdefFormatable tech). Change-Id: Iec1b85b560fbf800291fd307b56ab84328737635
2010-12-16Add support for connecting to different handles on the same tag.Martijn Coenen
This is needed for proper multi-protocol tag support. (Before this required a restart of the polling loop). Change-Id: If61da437cda40d82bdbacf5a01ea4c585c7a5be9
2010-12-13Enable reading a connection-oriented socket even if remotely closed.Sylvain Fonteneau
The receive function was failing when trying to read the data present in the linear buffer after receiving a remote disconnection request (DISC). Change-Id: I48a2aa058e85e265ca53e61dcde281e47a6e187f
2010-12-13Fixed typo in context restitution.Sylvain Fonteneau
Change-Id: I4784722900b9da58719b7b38a1cd31cbac3ff147
2010-12-13Do not clear LLCP listen callback when an incoming socket is detected.Sylvain Fonteneau
This would prohibit detection of multiple incoming socket in a row. Change-Id: I9e3907a92b706de2da7642ccd92668b9868d1996
2010-12-13Protect callbacks to crash in LLCP MAC layer if aborted by deactivate.Sylvain Fonteneau
Also include code factorization. Change-Id: I7284348d3a8afcc2ebcbd86d1658e60a2cc38b10
2010-12-13Fix missing send callback in error upon deactivation.Sylvain Fonteneau
Change-Id: I2a857c4e02fcf8c0f655a6fa960466f5ac4f191e
2010-12-13Report error from lower layer to transport layer in LLCP.Sylvain Fonteneau
Makes sure to call callback in case of error and before deactivating. Change-Id: I40cf77a89edc01533684c9c68b1915dac983c59e
2010-12-13Fix failing presence check after a mifare classic reconnect.Martijn Coenen
Change-Id: I6f833fc6e32cd99496468306af8204f6aee87fa7
2010-12-09Download feature added in the libnfcdaniel_Tomas
Change-Id: Idfed8c90453a0acc7fa632f62a1e20617b4ae7f6
2010-12-09Enable P2P 106 for P2P without SMX.Nick Pelly
Change-Id: Ica5158d1851fe56a896b6a0d8d714d8aa9d6b029
2010-12-08Fix to increase the response timeout for the Secure Elementdaniel_Tomas
Change-Id: I150411fb826525ae30cbe36e2be9afb1f20deb19
2010-12-07Fix T3T R/W state detectionJan Brands
Change-Id: Ic77a9929111f310b689ac3aa8f90e60c151420e0
2010-12-07NDEF tag R/W-R/O status functionality from BangaloreJan Brands
Provides all the states as defined by the NFC-Forum. Change-Id: I369138404e679b49613a391a9487766160afd8e2
2010-12-07Avoid multiple callbacks for a single LLCP operation.Sylvain Fonteneau
Change-Id: Ifa17a3a05790fece3f5aee747b186f721c510b7f
2010-12-07Fix to prevent any action on a LLCP socket while disconnecting.Sylvain Fonteneau
Mark a socket as disconnecting as soon as the disconnect request is received instead of waiting for the DISC packet to be sent. Change-Id: I95330b7039c6fa741adc69ab1323852a60b7d49e
2010-12-06Fixed file headers.Martijn Coenen
Change-Id: I253cb340782d47ab15c955f3a58a9e662fe86ae0
2010-12-05Enable SMX and Disable P2P Target 106daniel_Tomas
Change-Id: I2bef50244d216d76f3f81df20e4f0b2cddea3d86
2010-12-05Enable setting General Bytes to emptyJan Brands
Change-Id: Id481b30731c1986f9d36f7d9af00be282683b6e1
2010-12-05Updated with format functionality for DESFire EV1 (T4Tv2)Jan Brands
Change-Id: Ia636ef43087dae7eb0faafc4a977f901756d38b3
2010-12-05Fix to increase the stability of the Init/Deint actiondaniel_Tomas
Change-Id: I89e08ab079a6c0a83cd5a128ecfee2026411af15
2010-12-05Fix for LLCP concurence access with ConfigureDiscovery, NDEF read/write and ↵daniel_Tomas
Presence Check Change-Id: Ie6fc7e26dde98ece2738dcad26f020833b4c0e93
2010-12-05Fix buffer display in LLCP receive callbackdaniel_Tomas
Change-Id: I85a4235a4f13e02a61d2c07ca301e72e7b369c8b
2010-12-05LLCP modification for concurence accessesdaniel_Tomas
Change-Id: I428c58dfc2c791f87e0f5761f11bb59d26ad85b1
2010-12-05Secure Element access implementationDaniel Tomas
Change-Id: I5a34e5318d60d04cbb4f43bcba7a146c2ef9eed5
2010-12-05Fix for presence check management after transceive faileddaniel_Tomas
Change-Id: I4ee3109710de339d105bd3e2721114b62d883275
2010-12-05Prevent sending data over LLCP until link is up.Sylvain Fonteneau
Change-Id: I11e80e9778934e40e57c58dbc9f56f319d015f80
2010-12-05Close all LLCP sockets when the link goes down.Sylvain Fonteneau
The LLCP link status callback is now handled first in LIB layer before being forwarded to the client. This is needed to enable the LIB layer to detect the link status change and close the sockets accordingly. Change-Id: I607aaebb4c0c8f2da09c81d4d43b4c705ebfcb13
2010-12-05Call the callback of any pending action in case of LLCP socket closure.Sylvain Fonteneau
This ensure the lib client not to be stuck waiting for a callback when the socket has been closed meanwhile. Change-Id: I9cdfa3c2cc75ee9451c3ad5b92eb338b5e68f53a
2010-12-05Fixed combined T4Tv2 & T4Tv1 supportJan Brands
Change-Id: I9d39a014aafa4464d022a0fd2776a23bbb4a766e
2010-12-05This patch allows type 4 tag v2 ndef to be detected properly.Jan Brands
Same as Change-Id: I414e7864bdc654c3b9e1b459832bb8e95ea9c51a Change-Id: I0a0119349419bb4f1031ab683e40dd3be7b26f5f
2010-12-05Fixed failed authentication for MIFARE 7BUIDJan Brands
New MIFARE Classic and MIFARE Plus SL1 with 7-byte UID need last 4 bytes of UID for authentication. The supplied index into the UID byte array was wrongly defined. Change-Id: I8cd0c26201a2fd26e8a8417a743e81f3c809e5c4
2010-12-05Fix from the Bangalore team for long APDUsJan Brands
Change-Id: Id251fcd72bcc91a3fd85ac26c15fd609ce9f5e4e
2010-12-05Fixed support for bare-bones T3T tags without System CodesJan Brands
Change-Id: Ic2165ea57c729af3a60217144c9a0015f6e3dcb4
2010-12-05 Fix detection of Fudan card incompatible to ISO18092Jan Brands
Change-Id: I4d341d2b315972a3a69661b48d29388bdaa2793d
2010-12-05Re-enable multi-protocol with improved MIFARE detectionJan Brands
Change-Id: I45719cfb1db4d449895c0bb2c39d192ff57f059c
2010-12-05Fixed invalid pointer reference in LLCP stack.Sylvain Fonteneau
Use dynamic allocation and copy to avoid using invalid pointers. Change-Id: I19ff26776fdc42fb4d3bf519a6e742d76b45ded1
2010-12-05Fixed status handling in LLCP connection-oriented sent callback.Sylvain Fonteneau
The same variable was shared for multiple usages and the status value was overwritten is some situations. One variable is now defined for each usage. Change-Id: I877cc8027a184dfe3b6d8d2832c73417f40c1ba7
2010-12-05Enable P2P feature again.Nick Pelly
This is effectively a revert of previous commit "Fix to disable P2P...", except I have not reverted the DEFAULT_SESSION since that would encourage reuse of 'goog4'. Change-Id: I8d42a7496cf6776cfd41e73f5ec25953773ceb09 Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-03Fix to disable P2P feature in the libnfcandroid-cts-2.3_r1android-2.3_r1android-2.3.2_r1android-2.3.1_r1Daniel Tomas
Change-Id: I6bbabdd141962dd60ff7fadc39fc047be15b055e Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-03HCI timer enabled to HW reset NFC when HCI command times out.Daniel Tomas
Change-Id: Iee39957227fcdc8e97b520d22032dc97915323f3 Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-03Increase hardware reset time.Nick Pelly
VEN was pulled low for 7ms, as per data sheet, but pn544 not awlays reset. Increase time. Change-Id: I7de9e4fc94a0493605f706505962bdfab9d03666 Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-03fixed ISO15693 collisionaferir
Change-Id: Ic27ec9adbdffb064f03f567b160b05502def2444
2010-11-03Fixed HAL context issue.Sylvain Fonteneau
When disconnecting while an internal transceive was ongoing, the HAL context was corrupted. This has been fixed by adding a dedicated context for the disconnect operation. Change-Id: I279474f29164b3ab7d40cdd0e9b8f71f842774b0
2010-11-02Fixed ISO14443-4 cards wrongly being detected as Mifare.Martijn Coenen
Change-Id: Ifce6b9a1351b1057f42bf26f61819675975cdcb4 Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-02Removed UID from Felica presence check.Martijn Coenen
The presence check didn't work for all Felica tags. Found upstream that the UID shouldn't be included in the presence check. Change-Id: Ib0b1b91c01d499ed52e024f68d58bcb9adabf4ad
2010-11-02Allow MF Raw access for all non-Mifare -3 cards.Martijn Coenen
Change-Id: I254437ced00f32a8662c351f2a128facfcfcda81 Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-02Remove LLCP-over-ISO14443 dead code.Nick Pelly
LLCP over ISO is not supported any more, and this dead-code was rotting. Change-Id: Ifacc39eb06efd89922091ea79be319d1ad204261 Signed-off-by: Nick Pelly <npelly@google.com>
2010-11-02Merge "Fix Mifare plus SL2 detection." into gingerbreadNick Pelly