summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2013-06-08snep: Fix SNEP fragmentationSamuel Ortiz1-0/+1
The intial request is kept through the snep_data and snep_core_process_request no longer relies on the last read frame to build an answer but only on the snep_data pointer. Without this fix, each fragment from a fragmented PUT was handled as a complete SNEP frame (header included) which caused process_request to get completely confused about how to handle fragments. Now that snep_core_read is fixed, the fragmentation SNEP unit test can be fixed as well.
2013-04-05ndef: Add api to prepare mime type wsc recordRavi kumar Veeramally1-0/+3
Added api to prepare MIME type WSC record for unit tests.
2013-04-05nfc_copy: Update with new socket optionsSamuel Ortiz1-2/+6
2013-03-20snep: SNEP core moved from plugins to coreMarcin MaƂagowski2-0/+99
This is needed for implementing SNEP unit tests.
2013-03-15tag: Export tag data lengthSamuel Ortiz1-0/+1
2013-02-22nfc_copy: Add SNL netlink APISamuel Ortiz1-0/+12
2013-02-22nfc_copy: Add LLCP socket option namesSamuel Ortiz1-0/+4
2013-02-11agent: Add an extra parameter to the handover registration agent apiRavi kumar Veeramally1-13/+0
Current handover registration apis does not support for carrier specific registration. Added an extra parameter (carrier type) to RegisterHandoverAgent and UnregisterHandoverAgent. This is an initial patch for wifi handover agent registration. WiFi NDEF message handling will be supported soon.
2013-02-11near: Rename struct name bt_data to carrier_dataRavi kumar Veeramally1-2/+2
To be more generic, renaming structure name from bt_data to carrier_data.
2013-01-31include: Add a copy of the NFC kernel headerSamuel Ortiz1-0/+223
With the netlink kernel API changes, including a copy of the NFC header and not relying on the system one will allow clean builds. The drawback could be missing runtime features but that's better than not being able to run the daemon at all.
2013-01-31ndef: Move carrier_power_state definition to header fileSzymon Janc1-0/+7
It will be also used by handover agent implementation
2013-01-10types: Fix build error due to unaligned memory accessOlivier Guiter1-0/+143
This fix number of build error on architectures that can't handle unaligned memory access (eg. ARM). Most of the code was originally written in BlueZ's bluetooth.h.
2013-01-09ndef: Add records comparison helpersOlivier Guiter1-0/+9
These functions propose to check ndef records for specific fields like mime type or ID field in record header.
2012-11-14Use handover agent for Bluetooth dataSzymon Janc1-3/+6
If detected BlueZ is not version 4 handover agent is used for bluetooth data handling.
2012-11-14agent: Add __near_agent_handover_push_data functionSzymon Janc1-8/+9
2012-10-24handover: Change carriers type to bitfieldOlivier Guiter1-5/+6
This would allow multiple carriers at the same time (e.g. Bluetooth and Wifi)
2012-10-22ndef: Change near_ndef_parse function nameKrzysztof Lyczkowski1-1/+1
Add suffix "_msg" to function near_ndef_parse for name consistency and to stress out its role.
2012-10-09adapter: Refactor function near_adapter_sendWiktor Lawski1-1/+3
Now this function will release allocated data using callback, so it will be unnecessary to check its returned error code (if callback was passed). Main reasons to prepare this change were improvement of code readability and removing error prone code paths.
2012-10-08tag: Add near_tag_get_blank functionDorota Moskal1-0/+1
This is needed by the MIFARE plugin.
2012-08-23tag: Caching type3 tag IC type informationRavi kumar Veeramally1-0/+2
The type3 tag IC type information will be used for tag formatting.
2012-08-23agent: Send Release method when freeing an NDEF agentSamuel Ortiz1-7/+8
2012-06-28ndef: Add record list freeing routineSamuel Ortiz1-0/+2
2012-06-27tag: tag_set_ro returns voidSamuel Ortiz1-1/+1
For consistency sake, setters return void.
2012-06-27tag: Remove undefined tag_set_uid routineSamuel Ortiz1-1/+0
2012-06-27tag: Add blank tag format supportEyal Reizer1-0/+2
* Add a new near_tag_driver op (format) used for formatting blank tags. * In case an un-formatted tag is being written __near_tag_write() first format the tag and if that succeeds it proceeds to writing the data.
2012-06-27tag: Add blank tag handlingEyal Reizer1-0/+1
Add an API for marking blank tags.
2012-06-27tag: Remove read-only property getterSamuel Ortiz1-1/+0
The check has been moved from plugins to the core code. No need to export this getter anymore.
2012-06-26device: Specify service name when pushing NDEFsSamuel Ortiz1-0/+5
Depending on the NDEF type, the service name will be different. In particular, Handover NDEFs should be sent to the handover service, not the SNEP one.
2012-06-21p2p: Bind and listen only on a specific targetSamuel Ortiz1-2/+1
Bind and listening are related to a particular adapter, not to a target or device index.
2012-06-20ndef: Prepare handover recordOlivier Guiter1-0/+9
This patch allows to create handover (Hr or Hs) frames with all the expecteded records (collision, ac, ...) and the configuration ones (like e.g. the Bluetooth OOB related data).
2012-06-20ndef: Add NDEF record couting routineOlivier Guiter1-0/+3
For a defined record type, this routine will count how many records are found in an NDEF.
2012-06-20ndef: Add near_ndef_record_length functionOlivier Guiter1-0/+2
This function returns the length of a NDEF record.
2012-04-26tag: Add tag NFCID setterSamuel Ortiz1-0/+2
2012-04-20adapter: Make adapter_set_dep_state private to neard coreSamuel Ortiz1-3/+0
Plugins don't need to call thsi routine.
2012-04-20tag: Change tag driver ops namingSamuel Ortiz1-2/+2
read and write sounds more like what those drivers do.
2012-04-20device: Add data and records addition routinesSamuel Ortiz1-0/+4
2012-04-20ndef: Remove NDEF and TLV parsing routines tag dependenciesSamuel Ortiz3-2/+4
The NDEF and TLV parsing routines no longer take tag pointers as an argument. Instead they return a list of records that is added to the underlying tag structure. Devices will also get their records list.
2012-04-19device: Add device listening code pathSamuel Ortiz1-1/+0
2012-04-19device: Add device driver definitionSamuel Ortiz1-0/+22
2012-04-19device: Add D-Bus interfaceSamuel Ortiz2-1/+6
2012-04-19device: Initial commitSamuel Ortiz1-0/+29
The device layer will define the NFC devices (in peer to peer mode at first) structure and operations.
2012-04-19target: Remove target layerSamuel Ortiz2-42/+2
2012-04-19adapter: Bypass the target layerSamuel Ortiz1-0/+7
Adapters talk to tags or device directly. The target vs initiator idea will be removed from the code base. This commit temporarily breaks p2p.
2012-04-19tag: Add D-Bus interfaceSamuel Ortiz3-2/+3
Preparing for moving the Target D-Bus interface to Tag.
2012-03-10target: Fix mifare tag type namesOlivier Guiter1-2/+2
2012-02-28p2p: Check presence hook implementationSamuel Ortiz1-0/+3
The MAC layer state tell if the peer device is there or not.
2012-02-24main: Support for general settingsSamuel Ortiz1-0/+35
main.conf will be neard settings file.
2012-02-23adapter: Polling loop implementationSamuel Ortiz1-0/+2
Before disconnecting from a target, check if it's present or not. If it's not, disconnect and decide to start a new poll depending on the periodic poll setting.
2012-02-09tag: Use kernel definitions for tag protocolsSamuel Ortiz1-7/+0
2012-02-06target: Improve tag addition APISamuel Ortiz1-1/+1
The API now allows for an NDEF buffer to be passed when creating the tag.