platform/upstream/neard.git
12 years agop2p: Factorize bind and listening routines
Samuel Ortiz [Fri, 3 Feb 2012 00:19:12 +0000 (01:19 +0100)]
p2p: Factorize bind and listening routines

12 years agondef: Coding style fix
Samuel Ortiz [Thu, 2 Feb 2012 17:57:34 +0000 (18:57 +0100)]
ndef: Coding style fix

12 years agosnep: Parse the read NDEF
Samuel Ortiz [Wed, 1 Feb 2012 16:42:33 +0000 (17:42 +0100)]
snep: Parse the read NDEF

12 years agosnep: Support fragmented NDEFs
Samuel Ortiz [Wed, 1 Feb 2012 16:10:51 +0000 (17:10 +0100)]
snep: Support fragmented NDEFs

12 years agondef: Support for all NFC defined URI prefixes
Samuel Ortiz [Wed, 1 Feb 2012 12:09:01 +0000 (13:09 +0100)]
ndef: Support for all NFC defined URI prefixes

12 years agotest: Override the default D-Bus timeout for setting the powered property
Samuel Ortiz [Tue, 31 Jan 2012 15:21:02 +0000 (16:21 +0100)]
test: Override the default D-Bus timeout for setting the powered property

12 years agotest: Add enable and disable adapter scripts
Samuel Ortiz [Tue, 31 Jan 2012 14:08:47 +0000 (15:08 +0100)]
test: Add enable and disable adapter scripts

12 years agoadapter: Implement Powered property handling
Samuel Ortiz [Tue, 31 Jan 2012 14:06:41 +0000 (15:06 +0100)]
adapter: Implement Powered property handling

12 years agonetlink: Check for device protocols attribute not being NULL
Samuel Ortiz [Tue, 31 Jan 2012 12:10:37 +0000 (13:10 +0100)]
netlink: Check for device protocols attribute not being NULL

12 years agoadapter: Get the device powered status
Samuel Ortiz [Tue, 31 Jan 2012 12:09:35 +0000 (13:09 +0100)]
adapter: Get the device powered status

12 years agoRelease 0.1 0.1
Samuel Ortiz [Tue, 31 Jan 2012 10:51:12 +0000 (11:51 +0100)]
Release 0.1

12 years agonfctype4: Tag writing support
Ravi kumar Veeramally [Tue, 31 Jan 2012 09:25:19 +0000 (11:25 +0200)]
nfctype4: Tag writing support

Implemented tag writing support for nfctype4 plugin.

12 years agotag: Caching type4 tag max NDEF size and APDU commandd max size
Ravi kumar Veeramally [Tue, 31 Jan 2012 09:25:18 +0000 (11:25 +0200)]
tag: Caching type4 tag max NDEF size and APDU commandd max size

Cacheing max ndef size and APDU command max size in tag data.
This data is required while sending write command for Type4 tag.

12 years agondef: Fixed potential crash in ndef record memory free
Ravi kumar Veeramally [Mon, 30 Jan 2012 10:56:13 +0000 (12:56 +0200)]
ndef: Fixed potential crash in ndef record memory free

12 years agoneard-ui: Switch to system bus
Olivier Guiter [Mon, 30 Jan 2012 14:52:31 +0000 (15:52 +0100)]
neard-ui: Switch to system bus

12 years agoREADME: Describe available options
Samuel Ortiz [Mon, 30 Jan 2012 10:47:57 +0000 (11:47 +0100)]
README: Describe available options

12 years agoneard.conf: Add forgotten org.neard.conf
Samuel Ortiz [Mon, 30 Jan 2012 10:10:12 +0000 (11:10 +0100)]
neard.conf: Add forgotten org.neard.conf

12 years agoneard.pc: Add forgotten neard.pc.in
Samuel Ortiz [Mon, 30 Jan 2012 09:35:04 +0000 (10:35 +0100)]
neard.pc: Add forgotten neard.pc.in

12 years agotest: Use system bus when publishing a record
Samuel Ortiz [Fri, 27 Jan 2012 19:49:17 +0000 (20:49 +0100)]
test: Use system bus when publishing a record

12 years agonfctype1: Tag writing support
Ravi kumar Veeramally [Fri, 27 Jan 2012 11:54:00 +0000 (13:54 +0200)]
nfctype1: Tag writing support

Implemented tag writing support for nfctype1 plugin.

12 years agonfctype2: Tag writing support
Ravi kumar Veeramally [Fri, 27 Jan 2012 11:53:03 +0000 (13:53 +0200)]
nfctype2: Tag writing support

Implemented tag writing support for nfctype2 plugin.

12 years agoadapter: Check ndef queue and call tag writing
Ravi kumar Veeramally [Fri, 27 Jan 2012 18:44:15 +0000 (19:44 +0100)]
adapter: Check ndef queue and call tag writing

In successful tag read callback, checks for ndef queue and pop
out ndef message and calling tag writing method.

12 years agotarget: Provide method to get tag from target structure
Ravi kumar Veeramally [Wed, 25 Jan 2012 13:41:49 +0000 (15:41 +0200)]
target: Provide method to get tag from target structure

12 years agotag: Add memory layout enum to tag structure
Ravi kumar Veeramally [Wed, 25 Jan 2012 13:41:48 +0000 (15:41 +0200)]
tag: Add memory layout enum to tag structure

Added memory(static, dynamic, other ..) layout enum to tag
structure. Helpful to check the tag layout when writing data
on tag.

12 years agotag: Add target_idx parameter to near_tag_io_cb prototype
Ravi kumar Veeramally [Wed, 25 Jan 2012 13:41:47 +0000 (15:41 +0200)]
tag: Add target_idx parameter to near_tag_io_cb prototype

Tag NDEF writing method will be called in read callback after
tag reading is completed. target_idx parameter is required to
get the target details for writing. So updating near_tag_io_cb
with target_idx parameter.

12 years agoplugin: Move adapter_disconnect call away from plugins
Ravi kumar Veeramally [Wed, 25 Jan 2012 13:41:46 +0000 (15:41 +0200)]
plugin: Move adapter_disconnect call away from plugins

Moved adapter_disconnect call from plugins and placed in
adapter (near_tag_io_cb, e.g. tag_read_cb) io callback call.

12 years agotag: Changed near_tag_get_ro function notation
Ravi kumar Veeramally [Wed, 25 Jan 2012 13:41:45 +0000 (15:41 +0200)]
tag: Changed near_tag_get_ro function notation

12 years agotest: python script to publish text record
Ravi kumar Veeramally [Wed, 25 Jan 2012 13:41:44 +0000 (15:41 +0200)]
test: python script to publish text record

Small pyhton script to build dictionary with text record attributes
and sends Publish request to neard adapter.

12 years agoadapter: Implement Publish method on adapter
ravikumar.veeramally@linux.intel.com [Fri, 27 Jan 2012 11:51:05 +0000 (13:51 +0200)]
adapter: Implement Publish method on adapter

Parse the Publish dbus request on adapter and builds text record
ndef message and pushes into adapter queue.

12 years agomain: Move neard to the system bus
Samuel Ortiz [Fri, 27 Jan 2012 18:20:46 +0000 (19:20 +0100)]
main: Move neard to the system bus

neard is a system daemon and should be link to a session.

12 years agoREADME: Typo fixes and libnl dependency addition
Samuel Ortiz [Fri, 27 Jan 2012 18:20:15 +0000 (19:20 +0100)]
README: Typo fixes and libnl dependency addition

12 years agosnep: Send a "Not implemented" response to GET and CONTINUE
Samuel Ortiz [Sat, 21 Jan 2012 10:51:55 +0000 (11:51 +0100)]
snep: Send a "Not implemented" response to GET and CONTINUE

CONTINUE will be supported while GET will not, as advised by the NFC Forum
specifications.

12 years agosnep: Initial support for receiving PUT requests
Samuel Ortiz [Sat, 21 Jan 2012 10:46:55 +0000 (11:46 +0100)]
snep: Initial support for receiving PUT requests

12 years agop2p: Better listener event error handling
Samuel Ortiz [Sat, 21 Jan 2012 10:05:45 +0000 (11:05 +0100)]
p2p: Better listener event error handling

12 years agosnep: Listener event implementation
Samuel Ortiz [Sat, 21 Jan 2012 10:02:23 +0000 (11:02 +0100)]
snep: Listener event implementation

12 years agop2p: Replace DBG with near_error on error code paths
Samuel Ortiz [Sat, 21 Jan 2012 09:56:55 +0000 (10:56 +0100)]
p2p: Replace DBG with near_error on error code paths

12 years agop2p: Initial SNEP support
Samuel Ortiz [Sat, 21 Jan 2012 09:53:31 +0000 (10:53 +0100)]
p2p: Initial SNEP support

SNEP is the NFC Forum specified peer to peer NDEF exchange protocol.

12 years agonpp: Define NPP service name
Samuel Ortiz [Sat, 21 Jan 2012 09:45:41 +0000 (10:45 +0100)]
npp: Define NPP service name

12 years agoMakefile: Fix distcheck target
Samuel Ortiz [Sat, 21 Jan 2012 09:41:22 +0000 (10:41 +0100)]
Makefile: Fix distcheck target

12 years agop2p: Separate npp support from the core p2p one
Samuel Ortiz [Sat, 21 Jan 2012 09:29:46 +0000 (10:29 +0100)]
p2p: Separate npp support from the core p2p one

12 years agobluetooth: Use the right terminology for Bluetooth addresses
Samuel Ortiz [Wed, 18 Jan 2012 19:39:17 +0000 (20:39 +0100)]
bluetooth: Use the right terminology for Bluetooth addresses

12 years agobluetooth: Remove unused code
Samuel Ortiz [Wed, 18 Jan 2012 19:35:09 +0000 (20:35 +0100)]
bluetooth: Remove unused code

12 years agomain: Add bluetooth initialization
Olivier Guiter [Wed, 18 Jan 2012 12:12:00 +0000 (13:12 +0100)]
main: Add bluetooth initialization

12 years agondef: Add specific bluetooth mime type support
Olivier Guiter [Wed, 18 Jan 2012 12:11:59 +0000 (13:11 +0100)]
ndef: Add specific bluetooth mime type support

12 years agoMakefile: Add bluetooth.c to build system
Olivier Guiter [Wed, 18 Jan 2012 12:11:58 +0000 (13:11 +0100)]
Makefile: Add bluetooth.c to build system

12 years agobluetooth: Add Bluetooth Secure Simple Pairing support
Olivier Guiter [Wed, 18 Jan 2012 12:11:57 +0000 (13:11 +0100)]
bluetooth: Add Bluetooth Secure Simple Pairing support

12 years agofeatures: Writer mode status update
Samuel Ortiz [Wed, 18 Jan 2012 18:52:08 +0000 (19:52 +0100)]
features: Writer mode status update

12 years agoTODO: Update
Samuel Ortiz [Wed, 18 Jan 2012 18:51:12 +0000 (19:51 +0100)]
TODO: Update

12 years agodoc: Add an adapter publication API
Samuel Ortiz [Sat, 14 Jan 2012 00:19:08 +0000 (01:19 +0100)]
doc: Add an adapter publication API

Writing NDEFs to already detected targets is not following the typical NFC
workflow, where targets are de-activated once read.
Instead, NFC is designed for apps to publish data to whoever shows up in
front of them.

12 years agotype1: Fix missing disconnect on wrong Magic NFC tag
Olivier Guiter [Fri, 13 Jan 2012 14:05:23 +0000 (15:05 +0100)]
type1: Fix missing disconnect on wrong Magic NFC tag

12 years agotarget: Export NFCID to plugins
Samuel Ortiz [Sat, 14 Jan 2012 00:00:34 +0000 (01:00 +0100)]
target: Export NFCID to plugins

12 years agotarget: Propagate the NFCID to the target structure
Samuel Ortiz [Fri, 13 Jan 2012 23:38:47 +0000 (00:38 +0100)]
target: Propagate the NFCID to the target structure

12 years agonetlink: Fetch NFCID1
Samuel Ortiz [Fri, 13 Jan 2012 23:05:18 +0000 (00:05 +0100)]
netlink: Fetch NFCID1

12 years agondef: Remove offset parameter from smartposter record parsing routine
Ravi kumar Veeramally [Fri, 23 Dec 2011 10:10:04 +0000 (12:10 +0200)]
ndef: Remove offset parameter from smartposter record parsing routine

Record pointer set to payload offset and removed offset parameter
from parsing routine.

12 years agondef: Remove offset parameter from uri record parsing routine
Ravi kumar Veeramally [Fri, 23 Dec 2011 10:10:03 +0000 (12:10 +0200)]
ndef: Remove offset parameter from uri record parsing routine

Record pointer set to payload offset and removed offset parameter
from parsing routine.

12 years agondef: Remove offset parameter from text record parsing routine
Ravi kumar Veeramally [Fri, 23 Dec 2011 10:10:02 +0000 (12:10 +0200)]
ndef: Remove offset parameter from text record parsing routine

Record pointer set to payload offset and removed offset parameter
from parsing routine.

12 years agodoc: Remove NDEF removal API
Samuel Ortiz [Fri, 23 Dec 2011 20:23:07 +0000 (21:23 +0100)]
doc: Remove NDEF removal API

The NDEF removal API is still looking for a use case.
Writing one or formatting the tag seems more realistic.

12 years agotag: NDEF addition framework
Samuel Ortiz [Fri, 23 Dec 2011 20:21:50 +0000 (21:21 +0100)]
tag: NDEF addition framework

12 years agotag: Rename near_tag_read_cb
Samuel Ortiz [Fri, 23 Dec 2011 20:14:04 +0000 (21:14 +0100)]
tag: Rename near_tag_read_cb

12 years agodoc: Modify StartEmulation prototype
Samuel Ortiz [Fri, 23 Dec 2011 18:02:25 +0000 (19:02 +0100)]
doc: Modify StartEmulation prototype

By requiring a complete NDEF record dictionary as the StartEmulation
argument, card emulation will only start when having something relevant
to export.

12 years agondef: Double free error fix
Ravi kumar Veeramally [Thu, 22 Dec 2011 11:17:47 +0000 (13:17 +0200)]
ndef: Double free error fix

12 years agodoc: Initial tag emulation APIs
Samuel Ortiz [Thu, 22 Dec 2011 11:19:18 +0000 (12:19 +0100)]
doc: Initial tag emulation APIs

12 years agondef: Record header parsing code is factored
Ravikumar Veeramally [Thu, 8 Dec 2011 14:15:42 +0000 (16:15 +0200)]
ndef: Record header parsing code is factored

NDEF record header parsing code is factored and provided
parse_record_header utility to remove code duplicates.

12 years agodoc: Identation fix
Samuel Ortiz [Mon, 19 Dec 2011 19:54:19 +0000 (20:54 +0100)]
doc: Identation fix

12 years agotag: Coding style fix
Samuel Ortiz [Mon, 19 Dec 2011 19:04:32 +0000 (20:04 +0100)]
tag: Coding style fix

12 years agofeatures: Add type1 dynamic support and p2p reader mode
Samuel Ortiz [Mon, 19 Dec 2011 18:18:23 +0000 (19:18 +0100)]
features: Add type1 dynamic support and p2p reader mode

12 years agondef: API provided to prepare smartposter ndef record
Ravikumar Veeramally [Thu, 8 Dec 2011 09:52:27 +0000 (11:52 +0200)]
ndef: API provided to prepare smartposter ndef record

API provided to prepare smartposter ndef record with mandatory uri fields,
which is useful to write ndef data on tags.

12 years agotype1: Add support for dynamic mode on type 1 tag
Olivier Guiter [Fri, 16 Dec 2011 09:32:59 +0000 (10:32 +0100)]
type1: Add support for dynamic mode on type 1 tag

12 years agotlv: fix byte ordering issue on "long" TLV length
Olivier Guiter [Thu, 15 Dec 2011 10:53:25 +0000 (11:53 +0100)]
tlv: fix byte ordering issue on "long" TLV length

12 years agop2p: Protect the AF_NFC ugliness
Samuel Ortiz [Thu, 15 Dec 2011 18:19:53 +0000 (19:19 +0100)]
p2p: Protect the AF_NFC ugliness

12 years agotarget: Export records for device targets as well
Samuel Ortiz [Thu, 15 Dec 2011 18:15:57 +0000 (19:15 +0100)]
target: Export records for device targets as well

12 years agop2p: Initial NPP implementation
Samuel Ortiz [Thu, 15 Dec 2011 17:53:02 +0000 (18:53 +0100)]
p2p: Initial NPP implementation

NPP is Android's NDEF Push Protocol, running on top of LLCP.
This code allows us to fetch exported information from Adroid NFC enabled
devices.

12 years agonetlink: Implement DEP related messages and events
Samuel Ortiz [Thu, 15 Dec 2011 17:33:08 +0000 (18:33 +0100)]
netlink: Implement DEP related messages and events

12 years agoadapter: At least protect the AF_NFC hack ;)
Marcel Holtmann [Thu, 15 Dec 2011 17:23:02 +0000 (18:23 +0100)]
adapter: At least protect the AF_NFC hack ;)

12 years agondef: Fix mime type memory leak
Olivier Guiter [Thu, 8 Dec 2011 15:52:06 +0000 (16:52 +0100)]
ndef: Fix mime type memory leak

12 years agondef: fix small bug on memory release
Olivier Guiter [Thu, 1 Dec 2011 12:30:41 +0000 (13:30 +0100)]
ndef: fix small bug on memory release

12 years agoplugin: Add code to check target subtype on type 2
Olivier Guiter [Thu, 24 Nov 2011 19:20:55 +0000 (20:20 +0100)]
plugin: Add code to check target subtype on type 2

12 years agotarget: Check and store NFC Type 2 target subtype
Olivier Guiter [Thu, 24 Nov 2011 19:20:54 +0000 (20:20 +0100)]
target: Check and store NFC Type 2 target subtype

13 years agondef: Switch tnf definitions to an enum
Samuel Ortiz [Mon, 21 Nov 2011 17:04:03 +0000 (18:04 +0100)]
ndef: Switch tnf definitions to an enum

13 years agondef: Initial MIME type record parsing
Samuel Ortiz [Mon, 21 Nov 2011 15:16:42 +0000 (16:16 +0100)]
ndef: Initial MIME type record parsing

13 years agondef: Fix memory leak
Samuel Ortiz [Mon, 21 Nov 2011 14:59:50 +0000 (15:59 +0100)]
ndef: Fix memory leak

The type array as leaking.

13 years agondef: Save record type
Samuel Ortiz [Mon, 21 Nov 2011 16:51:40 +0000 (17:51 +0100)]
ndef: Save record type

13 years agonear-ui: Monitor records and targets addition/removal signals
Olivier Guiter [Tue, 15 Nov 2011 14:24:07 +0000 (15:24 +0100)]
near-ui: Monitor records and targets addition/removal signals

13 years agoadapter: Remove all targets when starting a poll
Samuel Ortiz [Tue, 15 Nov 2011 11:59:15 +0000 (12:59 +0100)]
adapter: Remove all targets when starting a poll

13 years agotest: Identation fixes for neard-ui
Samuel Ortiz [Tue, 15 Nov 2011 11:32:20 +0000 (12:32 +0100)]
test: Identation fixes for neard-ui

13 years agoneard-ui: very simple neard UI
Olivier Guiter [Tue, 15 Nov 2011 10:28:08 +0000 (11:28 +0100)]
neard-ui: very simple neard UI

13 years agop2p: Initial plugin implementation
Samuel Ortiz [Mon, 14 Nov 2011 10:52:15 +0000 (11:52 +0100)]
p2p: Initial plugin implementation

A skeleton for now.

13 years agodoc: Add Readonly flag support documentation
Olivier Guiter [Tue, 8 Nov 2011 10:21:15 +0000 (11:21 +0100)]
doc: Add Readonly flag support documentation

13 years agotype4: Add Readonly flag support
Olivier Guiter [Tue, 8 Nov 2011 10:21:14 +0000 (11:21 +0100)]
type4: Add Readonly flag support

13 years agotype3: Add Readonly flag support
Olivier Guiter [Tue, 8 Nov 2011 10:21:13 +0000 (11:21 +0100)]
type3: Add Readonly flag support

13 years agotype2: Add Readonly flag support
Olivier Guiter [Tue, 8 Nov 2011 10:21:12 +0000 (11:21 +0100)]
type2: Add Readonly flag support

13 years agotype1: Add Readonly flag support
Olivier Guiter [Tue, 8 Nov 2011 10:21:11 +0000 (11:21 +0100)]
type1: Add Readonly flag support

13 years agoneard: Add dbus Getproperty for read only flag
Olivier Guiter [Tue, 8 Nov 2011 10:21:10 +0000 (11:21 +0100)]
neard: Add dbus Getproperty for read only flag

13 years agonfctype4: Fix crash on exit
Olivier Guiter [Tue, 25 Oct 2011 14:01:42 +0000 (16:01 +0200)]
nfctype4: Fix crash on exit

Tag is freed by free_target().

13 years agonetlink: Add compat functions for libnl-1 usage
Marcel Holtmann [Fri, 21 Oct 2011 06:49:39 +0000 (23:49 -0700)]
netlink: Add compat functions for libnl-1 usage

13 years agobuild: Check for libnl-1 if libnl-2.0 is not present
Marcel Holtmann [Fri, 21 Oct 2011 06:49:15 +0000 (23:49 -0700)]
build: Check for libnl-1 if libnl-2.0 is not present

13 years agobuild: Add .gitignore file
Marcel Holtmann [Fri, 21 Oct 2011 06:34:28 +0000 (23:34 -0700)]
build: Add .gitignore file

13 years agofeatures: Update type 4 support status
Samuel Ortiz [Fri, 14 Oct 2011 15:01:12 +0000 (17:01 +0200)]
features: Update type 4 support status

13 years agofeatures: Fix typo
Samuel Ortiz [Fri, 5 Aug 2011 14:30:42 +0000 (16:30 +0200)]
features: Fix typo

13 years agofeatures: Initial document
Samuel Ortiz [Fri, 5 Aug 2011 14:09:57 +0000 (16:09 +0200)]
features: Initial document