summaryrefslogtreecommitdiffstats
path: root/src/phLibNfc.h
Commit message (Collapse)AuthorAgeFilesLines
* card emulation patch port to JBdoug yeager2012-08-281-288/+861
| | | | Change-Id: I86657f9c547840de33c35df4912b5f282d4fe459
* Added recovery function when SE wired mode selectedSunil Jogi2012-04-131-0/+4
| | | | | | | | Added a recovery function with delay when SE wired mode selected. This function will add extra delay before any abort when SE is in wired mode. This will allow SE to complete any operation and do not power off the SE immediately when wired mode transaction is on going.
* Mifare readonly support.Sunil Jogi2012-04-021-3/+6
| | | | | | | | This patch requires changes done in following projects submited as patches: 1. packages/apps/Nfc 2. frameworks/base Change-Id: I9036309d82dd897e77f6bc14c30fbde255bf955c
* Handle inbound buffering in LLCP connectionless socketsSunil Jogi2012-01-301-1/+3
| | | | | | | | This enables the server to avoid losing packets, especially when receiving them in an aggregated packet. The size of the buffer is determined by the size of the working buffer provided by the application. Change-Id: Ia3c72e19fdb74e2a43390af5607c497c2275fe46
* LLCP 1.1 implementation.Sunil Jogi2012-01-271-7/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, in LLCP v1.0, the only way to use the SDP (Service Discovery Protocol) service was to send a CONNECT frame containing the Service Name to the SDP service. This was implicitly preforming a connection request to the requested service. LLCP v1.1 introduced a way to discover services more efficiently and without implicit connection. It also enables connectionless services to have a service name. It is based on a new protocol based on a new SNL frame containing discovery requests and responses. This update comes with new APIs: - phLibNfc_Llcp_DiscoverServices() function can be used to discover remote services. It can take multiple service names and resolve all of them in a single call. - Register service name at bind time. Cache LLCP service name/sap pairs. In LLCP 1.1 specification defines at section 5.9 that any service lookup answer must be valid for the whole LLCP session duration. To enforce this, we cache the SAP/SN pairs locally and make sure that the applications don't break the cache. The stack remains fully retro-compatible with v1.0 devices. Change-Id: I052edd3838013cee65e7415d0ed01fc3e9cad36d
* Merge commit 'df34eb0e' into manualmergeJeff Hamilton2011-09-131-0/+2
|\ | | | | | | Change-Id: I9807e540bad19933452f4a9f86b74021265f29cf
| * Patch to add an API to load a FW image in the libnfcDaniel TOMAS2011-09-091-0/+2
| | | | | | | | | | | | | | This new API permit to load the PN544 FW image when a download is needed at boot time. Change-Id: I2b3406d7ae0f0211123bd680ef914e9948c81eef
* | Add the NXP_EVT_SE_SWITCH_MODE event support in the libnfc.Daniel Tomas2011-08-241-1/+4
| | | | | | | | | | | | | | This event is used in the SE SetMode API to be able to enable/disable card emulation with not writting the EEPROM area. Change-Id: I80047d678f683c4dd364544c690440eb8d807793
* | Revert "Add the NXP_EVT_SE_SWITCH_MODE event support in the libnfc."Nick Pelly2011-08-181-4/+1
| | | | | | | | This reverts commit 39038381fd4a9922cdd07251ce1a0a8840681bcd.
* | Add the NXP_EVT_SE_SWITCH_MODE event support in the libnfc.Daniel Tomas2011-08-161-1/+4
| | | | | | | | | | | | | | This event is used in the SE SetMode API to be able to enable/disable card emulation with not writting the EEPROM area. Change-Id: Iace438c3625f6a084c8bcc66d787a7a60d56b8f8
* | getTimeout() support in libnfc-nxp.Martijn Coenen2011-07-201-0/+6
| | | | | | | | | | Bug: 4492175 Change-Id: I7f85fc32bfaabeac8fa4da6c1509992d5523afa3
* | am 51c0ca53: am f1612434: am 967359c8: Patch to support the new PN544 ↵Daniel Tomas2011-06-281-0/+6
|\ \ | |/ | | | | | | | | | | firmware events * commit '51c0ca53011b86464dcf14aeb33944a69861a8f4': Patch to support the new PN544 firmware events
| * Patch to support the new PN544 firmware eventsDaniel Tomas2011-06-281-0/+6
| | | | | | | | Change-Id: I6e5a976721fb52f2da30081276bb2ac15d27d186
* | Make NfcA timeout configurable in libnfc.Martijn Coenen2011-06-091-0/+10
| | | | | | | | | | | | | | | | | | Adds an interface for setting the NfcA timeout, which is called "mifare raw" in libnfc. Also changed the default, since it was set to only 2 ms, which is too short for most commands. Current setting is around 600ms. Change-Id: I00ccd85cd47a70895a3aca0f0bc34e1b0eab82c7
* | Implement Felica timeout handling (libNFC).Martijn Coenen2011-06-031-0/+4
|/ | | | Change-Id: I1a88ae0807d5ba53a635e31f3c5284906bd40ea2
* Allow LLCP socket creation before link establishment.Arnaud Ferir2011-01-181-12/+19
| | | | | | | | | | | | | | | | | 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
* Implement IsoDep timeout handling (libNFC).Martijn Coenen2011-01-181-0/+11
| | | | | | | | | | | 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
* Event field ON/OFF management added in the libnfcdaniel_tomas2011-01-121-2/+4
| | | | Change-Id: Ieafb6ab9094d9dc4b7edfb1e3676fd9794d8af28
* Add support for makeLowLevelReadonly() in libnfc.Martijn Coenen2010-12-161-0/+71
| | | | | | | | 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
* Add support for connecting to different handles on the same tag.Martijn Coenen2010-12-161-0/+69
| | | | | | | This is needed for proper multi-protocol tag support. (Before this required a restart of the polling loop). Change-Id: If61da437cda40d82bdbacf5a01ea4c585c7a5be9
* Download feature added in the libnfcdaniel_Tomas2010-12-091-3/+5
| | | | Change-Id: Idfed8c90453a0acc7fa632f62a1e20617b4ae7f6
* NDEF tag R/W-R/O status functionality from BangaloreJan Brands2010-12-071-0/+17
| | | | | | Provides all the states as defined by the NFC-Forum. Change-Id: I369138404e679b49613a391a9487766160afd8e2
* Patch from NXP. Libnfc - Download,Reset mode management and driver ↵Jeff Hamilton2010-10-281-3/+10
| | | | | | workaround with delay Change-Id: I736e5f50db749c9570b24194fe3963efbacc5c52
* Initial libnfc checkinNick Pelly2010-09-231-0/+2888
Source: Trusted_NFC_Device_Host_AA03.01e02_google.zip code drop (23-Sep-2010) Change-Id: Ie47f18423f949a8d3e0815d13f55c814312add24 Signed-off-by: Nick Pelly <npelly@google.com>