platform/upstream/neard.git
12 years agotest: Fix dump-target indentation
Samuel Ortiz [Tue, 27 Sep 2011 12:52:39 +0000 (14:52 +0200)]
test: Fix dump-target indentation

12 years agondef: Move the action property to a string
Samuel Ortiz [Tue, 27 Sep 2011 11:16:01 +0000 (13:16 +0200)]
ndef: Move the action property to a string

12 years agondef: Fix t_cf variable related warning
Samuel Ortiz [Tue, 27 Sep 2011 09:55:12 +0000 (11:55 +0200)]
ndef: Fix t_cf variable related warning

12 years agodoc: Fix target API documentation
Samuel Ortiz [Tue, 27 Sep 2011 09:53:14 +0000 (11:53 +0200)]
doc: Fix target API documentation

12 years agondef: Preparation of smart poster record D-Bus reply
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:53 +0000 (16:01 +0300)]
ndef: Preparation of smart poster record D-Bus reply

Preparation of D-Bus reply with cached ndef smart poster record
properites.

12 years agondef: Parsing ndef smartposter record
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:52 +0000 (16:01 +0300)]
ndef: Parsing ndef smartposter record

Parsing ndef smartposter record and caching its properties
for D-Bus replies. Validating language indentifier in smartposter
title records.

12 years agondef: Preparation of uri record D-Bus reply
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:51 +0000 (16:01 +0300)]
ndef: Preparation of uri record D-Bus reply

Preparation of D-Bus reply with cached ndef uri record
properites.

12 years agondef: Parsing ndef uri record
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:50 +0000 (16:01 +0300)]
ndef: Parsing ndef uri record

Parsing ndef uri record and caching its properties for D-Bus
replies.

12 years agondef: Preparation of text record D-Bus reply
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:49 +0000 (16:01 +0300)]
ndef: Preparation of text record D-Bus reply

Preparation of D-Bus reply with cached ndef text record
properites.

12 years agondef: Parsing ndef text record
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:48 +0000 (16:01 +0300)]
ndef: Parsing ndef text record

Parsing ndef text record and caching its properties for D-Bus
replies.

12 years agondef: Message begin and end bits validation
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:47 +0000 (16:01 +0300)]
ndef: Message begin and end bits validation

Validation of message begin and end bits to sort out malformed messages.

12 years agondef: Parsing and preparaton of caching ndef message for dbus replies
Ravikumar Veeramally [Fri, 23 Sep 2011 13:01:46 +0000 (16:01 +0300)]
ndef: Parsing and preparaton of caching ndef message for dbus replies

Couple of changes in ndef parsing and ndef data caching
for D-Bus replies. Caching ndef properties are efficient
and faster in retrieval for D-Bus replies.

12 years agonfctype1: Small identation fix
Samuel Ortiz [Fri, 26 Aug 2011 18:21:32 +0000 (20:21 +0200)]
nfctype1: Small identation fix

12 years agonfctype2: Free cookie _after_ using dereferencing it
Samuel Ortiz [Wed, 24 Aug 2011 14:19:57 +0000 (16:19 +0200)]
nfctype2: Free cookie _after_ using dereferencing it

Thanks to Olivier Guiter for spotting this one.

12 years agodoc: Add coding style document
Samuel Ortiz [Thu, 11 Aug 2011 10:26:27 +0000 (12:26 +0200)]
doc: Add coding style document

Mostly copied from oFono.

12 years agoTODO: Add p2p description
Samuel Ortiz [Fri, 5 Aug 2011 13:57:51 +0000 (15:57 +0200)]
TODO: Add p2p description

12 years agoTODO: Initial commit
Samuel Ortiz [Fri, 5 Aug 2011 09:18:57 +0000 (11:18 +0200)]
TODO: Initial commit

12 years agonfctyp3: NFC type 3 tag initial read support
Olivier Guiter [Fri, 29 Jul 2011 18:39:00 +0000 (20:39 +0200)]
nfctyp3: NFC type 3 tag initial read support

12 years agonfctype1: Slight coding style fixes
Samuel Ortiz [Tue, 5 Jul 2011 16:24:32 +0000 (18:24 +0200)]
nfctype1: Slight coding style fixes

12 years agonfctype1: NFC type 1 tag initial support
Olivier Guiter [Tue, 5 Jul 2011 09:10:53 +0000 (11:10 +0200)]
nfctype1: NFC type 1 tag initial support

Only the static memory model is supported.

12 years agotarget: Initial type 3 detection
Samuel Ortiz [Tue, 5 Jul 2011 16:17:18 +0000 (18:17 +0200)]
target: Initial type 3 detection

12 years agoadapter: Support for multiple targets
Samuel Ortiz [Sat, 2 Jul 2011 01:22:14 +0000 (03:22 +0200)]
adapter: Support for multiple targets

12 years agomanager: Coding style fix
Samuel Ortiz [Sat, 2 Jul 2011 00:59:48 +0000 (02:59 +0200)]
manager: Coding style fix

12 years agoadapter: Call target add instead of the other way around
Samuel Ortiz [Sat, 2 Jul 2011 00:46:22 +0000 (02:46 +0200)]
adapter: Call target add instead of the other way around

This is needed for cleaning all targets when a new poll starts.

12 years agotarget: Target hash table key should be the target path
Samuel Ortiz [Sat, 2 Jul 2011 00:00:09 +0000 (02:00 +0200)]
target: Target hash table key should be the target path

12 years agotlv: Add tlv parsing routine
Samuel Ortiz [Fri, 1 Jul 2011 20:34:31 +0000 (22:34 +0200)]
tlv: Add tlv parsing routine

12 years agonfctype2: Use TLV utilities
Samuel Ortiz [Fri, 1 Jul 2011 20:27:41 +0000 (22:27 +0200)]
nfctype2: Use TLV utilities

12 years agotlv: TLV utilities API
Samuel Ortiz [Fri, 1 Jul 2011 20:24:44 +0000 (22:24 +0200)]
tlv: TLV utilities API

12 years agonetlink: Use latest kernel API
Samuel Ortiz [Tue, 28 Jun 2011 19:39:55 +0000 (21:39 +0200)]
netlink: Use latest kernel API

When receiving a targets found netlink event, we call GET_TARGET and get a
target dump.

12 years agoadapter: Disconnect in case of IO error
Samuel Ortiz [Fri, 17 Jun 2011 01:52:33 +0000 (03:52 +0200)]
adapter: Disconnect in case of IO error

12 years agondef: Set URI prefix to NULL in the default case
Samuel Ortiz [Fri, 17 Jun 2011 01:41:03 +0000 (03:41 +0200)]
ndef: Set URI prefix to NULL in the default case

12 years agondef: Fix size_t formatting
Samuel Ortiz [Fri, 17 Jun 2011 01:38:54 +0000 (03:38 +0200)]
ndef: Fix size_t formatting

12 years agondef: Remove unused tnf variable
Samuel Ortiz [Fri, 17 Jun 2011 01:38:04 +0000 (03:38 +0200)]
ndef: Remove unused tnf variable

12 years agonetlink: Fix warning
Samuel Ortiz [Fri, 17 Jun 2011 01:37:23 +0000 (03:37 +0200)]
netlink: Fix warning

12 years agotag: Fix build error size_t incorrect formatting
Samuel Ortiz [Fri, 17 Jun 2011 01:24:52 +0000 (03:24 +0200)]
tag: Fix build error size_t incorrect formatting

12 years agoadapter: Fix compilation errors
Samuel Ortiz [Fri, 17 Jun 2011 01:23:33 +0000 (03:23 +0200)]
adapter: Fix compilation errors

12 years agotarget: NFC type 1 tag detection
Samuel Ortiz [Wed, 15 Jun 2011 18:06:41 +0000 (20:06 +0200)]
target: NFC type 1 tag detection

12 years agondef: org.neard.Record export
Samuel Ortiz [Thu, 9 Jun 2011 17:56:11 +0000 (19:56 +0200)]
ndef: org.neard.Record export

Each record will be accesible through that interface, and each tag tracks
its own record list.

12 years agotag: Add reader callback support
Samuel Ortiz [Wed, 8 Jun 2011 14:09:13 +0000 (16:09 +0200)]
tag: Add reader callback support

12 years agonfctype2: Fix cookie memory leak
Samuel Ortiz [Tue, 7 Jun 2011 19:31:20 +0000 (21:31 +0200)]
nfctype2: Fix cookie memory leak

12 years agondef: Initial NDEF parsing
Samuel Ortiz [Tue, 7 Jun 2011 16:03:13 +0000 (18:03 +0200)]
ndef: Initial NDEF parsing

12 years agonfctype2: No need to be that verbose
Samuel Ortiz [Tue, 7 Jun 2011 15:39:45 +0000 (17:39 +0200)]
nfctype2: No need to be that verbose

12 years agonfctype2: Fix memcpy offset
Samuel Ortiz [Tue, 7 Jun 2011 13:26:38 +0000 (15:26 +0200)]
nfctype2: Fix memcpy offset

The NFC header needs to be skipped.

12 years agotarget: Add missing header
Samuel Ortiz [Mon, 6 Jun 2011 14:04:58 +0000 (16:04 +0200)]
target: Add missing header

12 years agonfctype2: TLV parsing and NDEF tag adding
Samuel Ortiz [Tue, 31 May 2011 15:01:53 +0000 (17:01 +0200)]
nfctype2: TLV parsing and NDEF tag adding

12 years agotag: Extend the tag API
Samuel Ortiz [Tue, 31 May 2011 13:54:25 +0000 (15:54 +0200)]
tag: Extend the tag API

Plugins will have to use the tag API for getting the tag's data buffer and
filling it.

12 years agotag: Add tag creating/deleting API
Samuel Ortiz [Tue, 31 May 2011 13:00:58 +0000 (15:00 +0200)]
tag: Add tag creating/deleting API

12 years agoadapter: Only support one target
Samuel Ortiz [Sun, 29 May 2011 02:23:48 +0000 (04:23 +0200)]
adapter: Only support one target

There is realistically no use cases for an NFC adapter handling several
targets at the same time. Also, it makes even less sense from a card
emulation point of view.

12 years agonfctype2: Fix type 2 tag reading
Samuel Ortiz [Thu, 12 May 2011 17:28:19 +0000 (19:28 +0200)]
nfctype2: Fix type 2 tag reading

12 years agoadapter: Add receiver callback to the idle loop
Samuel Ortiz [Thu, 12 May 2011 17:27:53 +0000 (19:27 +0200)]
adapter: Add receiver callback to the idle loop

12 years agonfctype2: Typo fix
Samuel Ortiz [Thu, 12 May 2011 15:20:17 +0000 (17:20 +0200)]
nfctype2: Typo fix

12 years agonfctype2: Do not read data if CC indicates a zero length
Samuel Ortiz [Thu, 12 May 2011 15:17:50 +0000 (17:17 +0200)]
nfctype2: Do not read data if CC indicates a zero length

12 years agonfctype2: Tag data blocks read
Samuel Ortiz [Thu, 12 May 2011 14:41:24 +0000 (16:41 +0200)]
nfctype2: Tag data blocks read

Compile tested only, due to missing formatted type 2 tags.

12 years agonfctype2: Fix error path for meta information read
Samuel Ortiz [Thu, 12 May 2011 01:04:54 +0000 (03:04 +0200)]
nfctype2: Fix error path for meta information read

12 years agonfctype2: Initial implementation
Samuel Ortiz [Thu, 12 May 2011 00:28:48 +0000 (02:28 +0200)]
nfctype2: Initial implementation

We only read the meta data bytes.

12 years agotag: Tag reading API
Samuel Ortiz [Wed, 11 May 2011 23:39:24 +0000 (01:39 +0200)]
tag: Tag reading API

12 years agotarget: Typo fix
Samuel Ortiz [Wed, 11 May 2011 23:38:21 +0000 (01:38 +0200)]
target: Typo fix

12 years agoadapter: First IO API
Samuel Ortiz [Wed, 11 May 2011 23:37:55 +0000 (01:37 +0200)]
adapter: First IO API

12 years agoadapter: Targets is an array of object paths
Samuel Ortiz [Mon, 9 May 2011 14:37:35 +0000 (16:37 +0200)]
adapter: Targets is an array of object paths

12 years agoadapter: Port to the new kernel socket API
Samuel Ortiz [Mon, 9 May 2011 14:23:13 +0000 (16:23 +0200)]
adapter: Port to the new kernel socket API

12 years agotag: Update NDEF reading API
Samuel Ortiz [Mon, 9 May 2011 14:22:56 +0000 (16:22 +0200)]
tag: Update NDEF reading API

12 years agoadapter: Add routine to fetch the last found target
Samuel Ortiz [Tue, 3 May 2011 17:11:34 +0000 (19:11 +0200)]
adapter: Add routine to fetch the last found target

12 years agoadapter: Change connect/disconnect prototype
Samuel Ortiz [Tue, 3 May 2011 17:08:28 +0000 (19:08 +0200)]
adapter: Change connect/disconnect prototype

12 years agoadapter: Replace CurrentTarget with a target list
Samuel Ortiz [Tue, 3 May 2011 16:53:36 +0000 (18:53 +0200)]
adapter: Replace CurrentTarget with a target list

12 years agotest: Initial monitor-near script
Samuel Ortiz [Tue, 3 May 2011 15:11:30 +0000 (17:11 +0200)]
test: Initial monitor-near script

12 years agoadapter: CurrentTarget and Polling signal emission
Samuel Ortiz [Tue, 3 May 2011 15:11:05 +0000 (17:11 +0200)]
adapter: CurrentTarget and Polling signal emission

12 years agomanager: Fix signal emitting logic
Samuel Ortiz [Tue, 3 May 2011 15:02:27 +0000 (17:02 +0200)]
manager: Fix signal emitting logic

12 years agoadapter: Export the connect API to plugins
Samuel Ortiz [Fri, 29 Apr 2011 22:37:18 +0000 (00:37 +0200)]
adapter: Export the connect API to plugins

12 years agoUse stdint types
Samuel Ortiz [Fri, 29 Apr 2011 22:33:33 +0000 (00:33 +0200)]
Use stdint types

12 years agoadapter: Connect/Diconnect API
Samuel Ortiz [Fri, 29 Apr 2011 22:24:37 +0000 (00:24 +0200)]
adapter: Connect/Diconnect API

12 years agotarget: Add protocols accessor
Samuel Ortiz [Fri, 29 Apr 2011 22:21:11 +0000 (00:21 +0200)]
target: Add protocols accessor

12 years agonetlink: Add target selection API
Samuel Ortiz [Fri, 29 Apr 2011 22:12:26 +0000 (00:12 +0200)]
netlink: Add target selection API

12 years agotag: Change the tag read prototype
Samuel Ortiz [Fri, 29 Apr 2011 19:45:09 +0000 (21:45 +0200)]
tag: Change the tag read prototype

12 years agotag: tag_read routine implementation
Samuel Ortiz [Fri, 29 Apr 2011 19:20:04 +0000 (21:20 +0200)]
tag: tag_read routine implementation

12 years agonfctype2: Initial implementation
Samuel Ortiz [Fri, 29 Apr 2011 19:19:04 +0000 (21:19 +0200)]
nfctype2: Initial implementation

12 years agoMakefile: Fix make distcheck
Samuel Ortiz [Fri, 29 Apr 2011 18:57:10 +0000 (20:57 +0200)]
Makefile: Fix make distcheck

12 years agoplugin: Initial infrastructure
Samuel Ortiz [Fri, 29 Apr 2011 18:44:13 +0000 (20:44 +0200)]
plugin: Initial infrastructure

12 years agotarget: First tag parsing implementation
Samuel Ortiz [Fri, 29 Apr 2011 16:43:44 +0000 (18:43 +0200)]
target: First tag parsing implementation

12 years agotypes: Add u8 and u16
Samuel Ortiz [Fri, 29 Apr 2011 16:42:53 +0000 (18:42 +0200)]
types: Add u8 and u16

12 years agotag: Initial implementation
Samuel Ortiz [Fri, 29 Apr 2011 16:42:29 +0000 (18:42 +0200)]
tag: Initial implementation

12 years agotest: Fix list-adapters typo
Samuel Ortiz [Thu, 28 Apr 2011 10:03:47 +0000 (12:03 +0200)]
test: Fix list-adapters typo

12 years agoadapter: Add target adding/removing API
Samuel Ortiz [Thu, 28 Apr 2011 09:57:21 +0000 (11:57 +0200)]
adapter: Add target adding/removing API

12 years agotarget: Fix the target removal routine
Samuel Ortiz [Thu, 28 Apr 2011 09:06:25 +0000 (11:06 +0200)]
target: Fix the target removal routine

12 years agotarget: Target add/remove API initial implementation
Samuel Ortiz [Wed, 27 Apr 2011 17:42:33 +0000 (19:42 +0200)]
target: Target add/remove API initial implementation

12 years agonetlink: Add target found handler
Samuel Ortiz [Wed, 27 Apr 2011 17:13:23 +0000 (19:13 +0200)]
netlink: Add target found handler

12 years agoadapter: Export CurrentTarget property
Samuel Ortiz [Wed, 27 Apr 2011 16:54:56 +0000 (18:54 +0200)]
adapter: Export CurrentTarget property

12 years agotarget: Initial commit
Samuel Ortiz [Wed, 27 Apr 2011 16:50:29 +0000 (18:50 +0200)]
target: Initial commit

12 years agonetlink: Fix segfault for NFC disabled systems
Samuel Ortiz [Wed, 27 Apr 2011 15:39:41 +0000 (17:39 +0200)]
netlink: Fix segfault for NFC disabled systems

12 years agoadapter: Export the polling property
Samuel Ortiz [Wed, 27 Apr 2011 15:30:51 +0000 (17:30 +0200)]
adapter: Export the polling property

12 years agoadapter: Export protocols property
Samuel Ortiz [Wed, 27 Apr 2011 15:21:28 +0000 (17:21 +0200)]
adapter: Export protocols property

12 years agodoc: Add protocols property to both adapters and targets
Samuel Ortiz [Wed, 27 Apr 2011 14:58:39 +0000 (16:58 +0200)]
doc: Add protocols property to both adapters and targets

12 years agotest: Add polling scripts
Samuel Ortiz [Fri, 22 Apr 2011 18:55:09 +0000 (20:55 +0200)]
test: Add polling scripts

12 years agoadapter: Implement polling D-Bus hooks
Samuel Ortiz [Fri, 22 Apr 2011 18:53:39 +0000 (20:53 +0200)]
adapter: Implement polling D-Bus hooks

12 years agonetlink: Implement polling start and stop hooks
Samuel Ortiz [Fri, 22 Apr 2011 18:53:13 +0000 (20:53 +0200)]
netlink: Implement polling start and stop hooks

12 years agodoc: Populate adapter API
Samuel Ortiz [Fri, 22 Apr 2011 18:21:10 +0000 (20:21 +0200)]
doc: Populate adapter API

12 years agoadapter: /org/neard/nfc%d is the right adapter path pattern
Samuel Ortiz [Fri, 22 Apr 2011 18:12:00 +0000 (20:12 +0200)]
adapter: /org/neard/nfc%d is the right adapter path pattern

12 years agodbus: Fix service string
Samuel Ortiz [Fri, 22 Apr 2011 18:09:28 +0000 (20:09 +0200)]
dbus: Fix service string

12 years agoMakefile: Add test scripts
Samuel Ortiz [Fri, 22 Apr 2011 17:43:15 +0000 (19:43 +0200)]
Makefile: Add test scripts

12 years agotest: Initial list-adapters script
Samuel Ortiz [Fri, 22 Apr 2011 17:39:09 +0000 (19:39 +0200)]
test: Initial list-adapters script

12 years agoadapter: Expose powered property
Samuel Ortiz [Fri, 22 Apr 2011 17:38:38 +0000 (19:38 +0200)]
adapter: Expose powered property