| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
The sequence value may not be provided in some situations, when
rejecting a connection oriented frame.
Change-Id: I116179191f9a23072442cf9da7a4c4207128bd32
|
|
|
|
|
|
| |
Avoid NULL pointer dereferencing in some situations.
Change-Id: I020f0a5342acdc49f7f3804e9341ed0fc0f307ee
|
|
|
|
| |
Change-Id: I08e8dda5ae23ec251a5b53f71b0e87fb3ba7d02c
|
|
|
|
|
|
|
| |
Check that internal allocated buffer is not NULL before deallocating
it and make sure the pointer is resetted to NULL.
Change-Id: I4212489c8661c7a8dff8ef352029100ec5ab157e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This enables to register a server socket prior to LLCP link
establishement and avoid any race condition between the local
server and the remote client.
The modification implies a LLCP socket API change (added the
device handle parameter in all LLCP API that can lead to
active data exchange). The LLCP socket internal structures are
now initialized during LLCP link parameter configuration step
instead of LLCP compliancy check to save socket state
independently from peer detection.
Also removed unused socket states and added some traces.
Change-Id: I961c48af4ca9ace68d41b9569dc1038bb2bbdc71
|
|
|
|
|
|
|
| |
This avoids an application to be stuck in a send request while the
LLCP link has been lost (i.e. remote peer lost).
Change-Id: I74982d497c410ae4bdb466afac013efc9eb17b03
|
|
|
|
| |
Change-Id: I1bd1da26d0c27297e9db8dd41cb6c2f4b2ec806e
|
|
|
|
|
|
|
|
| |
The NFC Forum Type 1 Tag and Type 2 Tag specification allows for tags
with a dynamic memory layout. Support for making tags with the dynamic
layout readonly has been added in this patch.
Change-Id: I5bc8912d80f448fdea95e1ee21631c0f186ad79a
|
|
|
|
|
|
|
|
|
|
|
| |
Made the ISO XCHG timer (used for IsoDep transceive's) a configurable
setting. When this timer triggers in the hardware, the transaction will be
aborted and the connection to the tag is broken.
Also made the HCI timer configurable. This timer serves as a software watchdog
for any HCI transaction.
Change-Id: I927c7755378f793899c6d262a2f23ab5dca3817b
|
|
|
|
| |
Change-Id: Ieafb6ab9094d9dc4b7edfb1e3676fd9794d8af28
|
|
|
|
|
|
| |
Source: Patrice @ NXP
Change-Id: I9437a2c2798ffe7ea34f3f18df097d0036310568
|
|
|
|
| |
Change-Id: Id2991644e9a45a66172377d66b5dc3e99bbd6a39
|
|
|
|
| |
Change-Id: I594e588fb7f0f8151e54ac872640bb8d3e19bfce
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This is needed for proper multi-protocol tag support.
(Before this required a restart of the polling loop).
Change-Id: If61da437cda40d82bdbacf5a01ea4c585c7a5be9
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I4784722900b9da58719b7b38a1cd31cbac3ff147
|
|
|
|
|
|
| |
This would prohibit detection of multiple incoming socket in a row.
Change-Id: I9e3907a92b706de2da7642ccd92668b9868d1996
|
|
|
|
|
|
| |
Also include code factorization.
Change-Id: I7284348d3a8afcc2ebcbd86d1658e60a2cc38b10
|
|
|
|
| |
Change-Id: I2a857c4e02fcf8c0f655a6fa960466f5ac4f191e
|
|
|
|
|
|
| |
Makes sure to call callback in case of error and before deactivating.
Change-Id: I40cf77a89edc01533684c9c68b1915dac983c59e
|
|
|
|
| |
Change-Id: I6f833fc6e32cd99496468306af8204f6aee87fa7
|
|
|
|
| |
Change-Id: Idfed8c90453a0acc7fa632f62a1e20617b4ae7f6
|
|
|
|
| |
Change-Id: Ic77a9929111f310b689ac3aa8f90e60c151420e0
|
|
|
|
|
|
| |
Provides all the states as defined by the NFC-Forum.
Change-Id: I369138404e679b49613a391a9487766160afd8e2
|
|
|
|
| |
Change-Id: Ifa17a3a05790fece3f5aee747b186f721c510b7f
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I253cb340782d47ab15c955f3a58a9e662fe86ae0
|
|
|
|
| |
Change-Id: Id481b30731c1986f9d36f7d9af00be282683b6e1
|
|
|
|
| |
Change-Id: Ia636ef43087dae7eb0faafc4a977f901756d38b3
|
|
|
|
|
|
| |
Presence Check
Change-Id: Ie6fc7e26dde98ece2738dcad26f020833b4c0e93
|
|
|
|
| |
Change-Id: I85a4235a4f13e02a61d2c07ca301e72e7b369c8b
|
|
|
|
| |
Change-Id: I428c58dfc2c791f87e0f5761f11bb59d26ad85b1
|
|
|
|
| |
Change-Id: I5a34e5318d60d04cbb4f43bcba7a146c2ef9eed5
|
|
|
|
| |
Change-Id: I4ee3109710de339d105bd3e2721114b62d883275
|
|
|
|
| |
Change-Id: I11e80e9778934e40e57c58dbc9f56f319d015f80
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This ensure the lib client not to be stuck waiting for a callback when
the socket has been closed meanwhile.
Change-Id: I9cdfa3c2cc75ee9451c3ad5b92eb338b5e68f53a
|
|
|
|
| |
Change-Id: I9d39a014aafa4464d022a0fd2776a23bbb4a766e
|
|
|
|
|
|
| |
Same as Change-Id: I414e7864bdc654c3b9e1b459832bb8e95ea9c51a
Change-Id: I0a0119349419bb4f1031ab683e40dd3be7b26f5f
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Id251fcd72bcc91a3fd85ac26c15fd609ce9f5e4e
|
|
|
|
| |
Change-Id: Ic2165ea57c729af3a60217144c9a0015f6e3dcb4
|
|
|
|
| |
Change-Id: I4d341d2b315972a3a69661b48d29388bdaa2793d
|
|
|
|
| |
Change-Id: I45719cfb1db4d449895c0bb2c39d192ff57f059c
|
|
|
|
|
|
| |
Use dynamic allocation and copy to avoid using invalid pointers.
Change-Id: I19ff26776fdc42fb4d3bf519a6e742d76b45ded1
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: Iee39957227fcdc8e97b520d22032dc97915323f3
Signed-off-by: Nick Pelly <npelly@google.com>
|
|
|
|
| |
Change-Id: Ic27ec9adbdffb064f03f567b160b05502def2444
|
|
|
|
|
|
|
|
| |
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
|