LarskoOrg : PasoriRuby

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Most recent edit on 2008-07-12 14:50:50 by MetalHead [added presentation link]

Additions:
I've given a presentation about felica, libpasori, and this program. You can get the slides at the TalkPage.



Edited on 2008-07-05 09:35:56 by MetalHead [fixed typo]

Additions:
To install the module, go to the "module" subdirectory of the tarball, run ruby on "extconf.rb" and build and install the distribution with the generated makefile. You'll need to have libpasori (shared object file and headers) installed. As libpasori does not come with a makefile, you might want to use the makefile attached to this page.

Deletions:
To install the module, go to the "module" subdirectory of the tarball, run ruby on "extconf.rb" and build and install the distribution with the generated makefile. You'll need to have libpasori (shard object file and headers) installed. As libpasori does not come with a makefile, you might want to use the makefile attached to this page.



Oldest known version of this page was edited on 2008-01-27 09:59:14 by MetalHead [initial setup]
Page view:
pasori-ruby

Pasori-ruby offers Ruby bindings to libpasori?. It is intended to provide an interface to the Sony Felica? reader. The Felica system is used for example in the Suica? and Pasmo? IC cards. The methods provided are targeted towards the Suica/Pasmo cards.

The methods available are:

To install the module, go to the "module" subdirectory of the tarball, run ruby on "extconf.rb" and build and install the distribution with the generated makefile. You'll need to have libpasori (shard object file and headers) installed. As libpasori does not come with a makefile, you might want to use the makefile attached to this page.

Example application -- ViewSuica

ViewSuica screenshot

The tarball contains an example application in the "ui" subdirectory. It reads and displays the current value and transaction history of Suica/Pasmo cards (see screenshot). The station codes are resolved to names using the SF Card Fan DB? SOAP webservice. The WSDL file provided on the website contains errors though, that's why a modified version is included in the tarball.

The GUI was created with QT Designer? and uses the QT4 Ruby bindings. The Ruby code for the GUI is generated from the .ui XML file with rbuic4. The included Rakefile's default task takes care of this.

Both library and application have not undergone a lot of testing so far, expect bugs everywhere.


  Attachment Size Date Added
      libpasori-Makefile   693 Bytes   1/27/2008 10:00 am
      pasori-ruby.tar.gz   4.71 KB   2/09/2008 7:45 am
 



CategoryCode
CategoryRuby

HomePage » CodePage » RubyCode » PasoriRuby
Valid XHTML 1.0 Transitional? :: Valid CSS? :: Powered by Wikka Wakka Wiki 1.1.6.2?
Page was generated in 0.0364 seconds