Biblio-RFID.git
13 years agodocument current state of code
Dobrica Pavlinusic [Thu, 29 Jul 2010 17:21:08 +0000 (19:21 +0200)]
document current state of code

13 years agoMerge branch 'master' of github.com:dpavlin/RFID-Biblio
Dobrica Pavlinusic [Thu, 29 Jul 2010 16:54:59 +0000 (18:54 +0200)]
Merge branch 'master' of github.com:dpavlin/RFID-Biblio

13 years agoformat SID correctly and return it in read_blocks
Dobrica Pavlinusic [Thu, 29 Jul 2010 16:49:25 +0000 (18:49 +0200)]
format SID correctly and return it in read_blocks

13 years agouse first rfid reader available
Dobrica Pavlinusic [Thu, 29 Jul 2010 16:29:45 +0000 (18:29 +0200)]
use first rfid reader available

13 years agoadded librfid
Dobrica Pavlinusic [Thu, 29 Jul 2010 16:28:06 +0000 (18:28 +0200)]
added librfid

13 years agoread_blocks from librfid-tool
Dobrica Pavlinusic [Thu, 29 Jul 2010 16:13:29 +0000 (18:13 +0200)]
read_blocks from librfid-tool

13 years agotest everything
Dobrica Pavlinusic [Thu, 29 Jul 2010 16:02:00 +0000 (18:02 +0200)]
test everything

13 years agostub everything
Dobrica Pavlinusic [Thu, 29 Jul 2010 16:01:38 +0000 (18:01 +0200)]
stub everything

13 years agodone_testing
Dobrica Pavlinusic [Thu, 29 Jul 2010 15:57:48 +0000 (17:57 +0200)]
done_testing

13 years agouse done_testing since we don't know how many tags are in range
Dobrica Pavlinusic [Thu, 29 Jul 2010 15:56:45 +0000 (17:56 +0200)]
use done_testing since we don't know how many tags are in range

13 years agouse warnings, use strict
Dobrica Pavlinusic [Thu, 29 Jul 2010 15:56:16 +0000 (17:56 +0200)]
use warnings, use strict

13 years agolibrfid inventory
Dobrica Pavlinusic [Thu, 29 Jul 2010 15:48:34 +0000 (17:48 +0200)]
librfid inventory

13 years agodocument all methods available by reader modules
Dobrica Pavlinusic [Thu, 29 Jul 2010 13:49:27 +0000 (15:49 +0200)]
document all methods available by reader modules

13 years agoadded 3M blank payload
Dobrica Pavlinusic [Thu, 29 Jul 2010 13:40:13 +0000 (15:40 +0200)]
added 3M blank payload

13 years agodecode tag data
Dobrica Pavlinusic [Thu, 29 Jul 2010 13:33:28 +0000 (15:33 +0200)]
decode tag data

13 years agoprogram tags from command line
Dobrica Pavlinusic [Thu, 29 Jul 2010 13:11:13 +0000 (15:11 +0200)]
program tags from command line

13 years agoadded from_hash and test roundtrip
Dobrica Pavlinusic [Thu, 29 Jul 2010 13:03:06 +0000 (15:03 +0200)]
added from_hash and test roundtrip

13 years agodocument data model on rfid tags
Dobrica Pavlinusic [Thu, 29 Jul 2010 12:36:20 +0000 (14:36 +0200)]
document data model on rfid tags

13 years agodecode RFID 501 in RFID::Biblio::RFID501
Dobrica Pavlinusic [Thu, 29 Jul 2010 12:15:12 +0000 (14:15 +0200)]
decode RFID 501 in RFID::Biblio::RFID501

13 years agosplit readers init into RFID::Biblio::Readers
Dobrica Pavlinusic [Thu, 29 Jul 2010 12:12:17 +0000 (14:12 +0200)]
split readers init into RFID::Biblio::Readers

13 years ago--only now accepts just part of name
Dobrica Pavlinusic [Thu, 29 Jul 2010 12:07:19 +0000 (14:07 +0200)]
--only now accepts just part of name

13 years agorename to RFID::Biblio
Dobrica Pavlinusic [Thu, 29 Jul 2010 11:42:49 +0000 (13:42 +0200)]
rename to RFID::Biblio

13 years agowrite_blocks
Dobrica Pavlinusic [Thu, 29 Jul 2010 11:40:07 +0000 (13:40 +0200)]
write_blocks

13 years agopass HEX AFI in security to json
Dobrica Pavlinusic [Wed, 28 Jul 2010 14:18:24 +0000 (16:18 +0200)]
pass HEX AFI in security to json

13 years agowrite_afi
Dobrica Pavlinusic [Wed, 28 Jul 2010 13:59:19 +0000 (15:59 +0200)]
write_afi

13 years agomock console.debug and console.info
Dobrica Pavlinusic [Wed, 28 Jul 2010 13:28:17 +0000 (15:28 +0200)]
mock console.debug and console.info

This allows us to work in Firefox without Firebug installed

13 years agopush security to javascript
Dobrica Pavlinusic [Tue, 27 Jul 2010 20:39:42 +0000 (22:39 +0200)]
push security to javascript

13 years agoreturn hex AFI from read_afi
Dobrica Pavlinusic [Tue, 27 Jul 2010 20:39:21 +0000 (22:39 +0200)]
return hex AFI from read_afi

13 years agoread_afi
Dobrica Pavlinusic [Tue, 27 Jul 2010 20:28:00 +0000 (22:28 +0200)]
read_afi

13 years agoread length and header (3 bytes) until done
Dobrica Pavlinusic [Tue, 27 Jul 2010 20:23:15 +0000 (22:23 +0200)]
read length and header (3 bytes) until done

13 years agodecode RFID 501
Dobrica Pavlinusic [Tue, 27 Jul 2010 19:33:12 +0000 (21:33 +0200)]
decode RFID 501

13 years agodecode tag blocks array
Dobrica Pavlinusic [Tue, 27 Jul 2010 19:09:28 +0000 (21:09 +0200)]
decode tag blocks array

13 years agocall /scan without hostname
Dobrica Pavlinusic [Tue, 27 Jul 2010 18:41:18 +0000 (20:41 +0200)]
call /scan without hostname

This allows us to invoke inteface remotely

13 years agoslurp index.html from __DATA__ just once
Dobrica Pavlinusic [Tue, 27 Jul 2010 18:39:40 +0000 (20:39 +0200)]
slurp index.html from __DATA__ just once

13 years agoread whole response and check crc
Dobrica Pavlinusic [Tue, 27 Jul 2010 15:06:22 +0000 (17:06 +0200)]
read whole response and check crc

13 years agodon't try to decode tag without data
Dobrica Pavlinusic [Tue, 27 Jul 2010 14:46:13 +0000 (16:46 +0200)]
don't try to decode tag without data

13 years agodecode item types into labels
Dobrica Pavlinusic [Tue, 27 Jul 2010 13:54:32 +0000 (15:54 +0200)]
decode item types into labels

13 years agodecode RFID 501: RFID Standards for Libraries
Dobrica Pavlinusic [Tue, 27 Jul 2010 13:52:14 +0000 (15:52 +0200)]
decode RFID 501: RFID Standards for Libraries

13 years agoJSONP server for RFID reader
Dobrica Pavlinusic [Tue, 27 Jul 2010 13:08:25 +0000 (15:08 +0200)]
JSONP server for RFID reader

13 years agocheck if response is Dx and try to recover
Dobrica Pavlinusic [Tue, 27 Jul 2010 13:07:29 +0000 (15:07 +0200)]
check if response is Dx and try to recover

13 years agoinit readers just once
Dobrica Pavlinusic [Tue, 27 Jul 2010 13:07:15 +0000 (15:07 +0200)]
init readers just once

13 years agodon't die if we can't read tag
Dobrica Pavlinusic [Tue, 27 Jul 2010 11:52:02 +0000 (13:52 +0200)]
don't die if we can't read tag

13 years agosometimes, reader return 00 00 00 instead of data
Dobrica Pavlinusic [Tue, 27 Jul 2010 11:51:21 +0000 (13:51 +0200)]
sometimes, reader return 00 00 00 instead of data

This is not fatal, so we won't die here

13 years agoadded --loop and --only 3M810
Dobrica Pavlinusic [Tue, 27 Jul 2010 11:46:56 +0000 (13:46 +0200)]
added --loop and --only 3M810

13 years agodump tags on STDOUT
Dobrica Pavlinusic [Tue, 27 Jul 2010 10:00:55 +0000 (12:00 +0200)]
dump tags on STDOUT

13 years agofill blocks from 0, not 1
Dobrica Pavlinusic [Tue, 27 Jul 2010 10:00:36 +0000 (12:00 +0200)]
fill blocks from 0, not 1

13 years agoreport hardware version to STDERR
Dobrica Pavlinusic [Tue, 27 Jul 2010 10:00:17 +0000 (12:00 +0200)]
report hardware version to STDERR

13 years agoreturn $tag_blocks
Dobrica Pavlinusic [Tue, 27 Jul 2010 09:42:54 +0000 (11:42 +0200)]
return $tag_blocks

13 years agoscan from command-line
Dobrica Pavlinusic [Tue, 27 Jul 2010 09:35:06 +0000 (11:35 +0200)]
scan from command-line

13 years agoimplement RFID::Serial->scan and test it
Dobrica Pavlinusic [Mon, 26 Jul 2010 22:11:46 +0000 (00:11 +0200)]
implement RFID::Serial->scan and test it

13 years agouse hex_tag
Dobrica Pavlinusic [Mon, 26 Jul 2010 21:57:08 +0000 (23:57 +0200)]
use hex_tag

13 years agodocument public methods
Dobrica Pavlinusic [Mon, 26 Jul 2010 21:47:09 +0000 (23:47 +0200)]
document public methods

13 years agounify read_blocks and invetory interface
Dobrica Pavlinusic [Mon, 26 Jul 2010 21:34:18 +0000 (23:34 +0200)]
unify read_blocks and invetory interface

13 years agoimplemented read_tag with _matched helper
Dobrica Pavlinusic [Mon, 26 Jul 2010 20:35:51 +0000 (22:35 +0200)]
implemented read_tag with _matched helper

This allow easy matching on beginning of some results in if..elsif
constructs

13 years agoscan tags
Dobrica Pavlinusic [Mon, 26 Jul 2010 19:45:16 +0000 (21:45 +0200)]
scan tags

13 years agocleanup and test inventory
Dobrica Pavlinusic [Mon, 26 Jul 2010 19:25:00 +0000 (21:25 +0200)]
cleanup and test inventory

13 years agodocument helper functions
Dobrica Pavlinusic [Mon, 26 Jul 2010 18:41:21 +0000 (20:41 +0200)]
document helper functions

13 years agocalculate checksum
Dobrica Pavlinusic [Mon, 26 Jul 2010 18:39:54 +0000 (20:39 +0200)]
calculate checksum

13 years agodeclare required dependencies
Dobrica Pavlinusic [Mon, 26 Jul 2010 17:32:55 +0000 (19:32 +0200)]
declare required dependencies

13 years agouse Data::Dump
Dobrica Pavlinusic [Mon, 26 Jul 2010 17:30:39 +0000 (19:30 +0200)]
use Data::Dump

13 years agodrain device on startup
Dobrica Pavlinusic [Mon, 26 Jul 2010 17:29:20 +0000 (19:29 +0200)]
drain device on startup

13 years agofirst 3M 810 implementation
Dobrica Pavlinusic [Mon, 26 Jul 2010 17:28:57 +0000 (19:28 +0200)]
first 3M 810 implementation

13 years agobegin of CPR-M02 support
Dobrica Pavlinusic [Mon, 26 Jul 2010 16:39:07 +0000 (18:39 +0200)]
begin of CPR-M02 support

13 years agoas_hex and hex2bytes
Dobrica Pavlinusic [Mon, 26 Jul 2010 16:35:43 +0000 (18:35 +0200)]
as_hex and hex2bytes

13 years agocreate RFID::Serial using module-starter
Dobrica Pavlinusic [Mon, 26 Jul 2010 14:56:21 +0000 (16:56 +0200)]
create RFID::Serial using module-starter

module-starter --module RFID::Serial --author "Dobrica Pavlinusic"
--email=dpavlin@rot13.org --license=gpl --builder=Module::Install