Main > Programming > Libraries >

Hardware::iButton 0.03

Hardware::iButton 0.03

Sponsored Links

Hardware::iButton 0.03 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 8 (1 times)
File size: 0.021 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 821
Date added: 2007-08-15
Publisher: Brian Warner

Hardware::iButton 0.03 description

Hardware::iButton is a Perl module that allows to talk to DalSemi iButtons via a DS2480 serial widget.

SYNOPSIS

use Hardware::iButton::Connection;
$c = new Hardware::iButton::Connection "/dev/ttyS0";
@b = $c->scan();
foreach $b (@b) {
print "family: ",$b->family(), "serial number: ", $b->serial(),"n";
print "id: ",$b->id(),"n"; # id = family . serial . crc
print "reg0: ",$b->readreg(0),"n";
}

This module talks to iButtons via the "active" serial interface (anything using the DS2480, including the DS1411k and the DS 9097U). It builds up a list of devices available, lets you read and write their registers, etc.

The connection object is an Hardware::iButton::Connection. The main user-visible purpose of it is to provide a list of Hardware::iButton::Device objects. These can be subclassed once their family codes are known to provide specialized methods unique to the capabilities of that device. Those devices will then be Hardware::iButton::Device::DS1920, etc.

iButtons and solder-mount Touch Memory devices are each identified with a unique 64-bit number. This is broken up into 8 bits of a "family code", which specifies the part number (and consequently the capabilities), then 48 bits of device ID (which Dallas insures is globally unique), then 8 bits of CRC. When you pass these IDs to and from this package, use hex strings like "0123456789ab".

Hardware::iButton 0.03 Screenshot

Advertisements

Hardware::iButton 0.03 Keywords

Bookmark Hardware::iButton 0.03

Hyperlink code:
Link for forum:

Hardware::iButton 0.03 Copyright

WareSeeker periodically updates pricing and software information of Hardware::iButton 0.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Hardware::iButton 0.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Hardware::iButton::Device is a Perl object to represent iButtons. Free Download
Plasmatronics Perl module is a Plasmatronics PL regulator controller. Free Download
Module::AutoINC is a Perl module that can download and install CPAN/PPM modules upon first use. Free Download
Kwiki::Emoticon is a Perl module with emoticon phrase for Kwiki. Free Download
Acme::Tests is a Perl module to see how much do you know. Free Download
Java::Import is Perl module to use Java classes in Perl. Free Download
Array::Unique is a tie-able array that allows only unique values. Free Download
Math::ODE Perl module allows you to solve N-th Order Ordinary Differential Equations with as little pain as possible. Free Download