perl-Device-Davis-1.2.3-alt4.1.i586.rpm


Advertisement

Description

perl-Device-Davis - Perl extension for communicating with Davis weather stations

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Device-Davis-1.2.3-alt4.1.i586.rpm
Package name perl-Device-Davis
Package version 1.2.3
Package release alt4.1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 26.31 KB
Installed size 26.31 KB
Davis is a Perl 5 module that facilitates communication with Davis weather stations.  This module should work on most unix systems, however it was developed on Linux.
station_open() takes the tty where the station is connected as an argument and opens the tty with the correct parameters for communication.  The baud rate that is used matches the factory default of the Vantage Pro, which is 19200.  If you need to use a different baud rate, you will need to modify the Davis.xs file before compiling the module.
put_string() takes a file descriptor (NOT a perl filehandle) and the string to send as arguments and sends the string to the weather station.  This function will return the number of bytes written.
get_char() takes a file descriptor as an argument and retuns 1 byte from the weather station.
crc_accum() is an accumulator for the crc calculation.  It takes the previous value of the crc that has been accumulated ($crc) and the new data byte that needs to be added to the accumulated total.  Be sure to initialize $crc to 0 before sending a new set of data bytes.  The function will return the new accumulated crc value.  Once you pass in the crc value received from the weather station, the function should return a 0 if the crc check passed.  If you are sending commands to the station, the last value returned by the function should be what you send to the station as the crc value.  Note that the station expects the most significant byte of the crc to be sent first, which is opposite of how regular data values are sent.
put_unsigned() is for sending numeric values to the station.  It takes the file descriptor and the character to send as arguments.  It will send it's argument as a one byte unsigned character.  It will return the number of bytes written.

Alternatives

Package Version Architecture Repository
perl-Device-Davis-1.2.3-alt4.1.x86_64.rpm 1.2.3 x86_64 Autoimports
perl-Device-Davis - - -

Requires

Name Value
/usr/lib/perl5 -
libc.so.6(GLIBC_2.0) -
libc.so.6(GLIBC_2.1.3) -
libc.so.6(GLIBC_2.4) -
libperl-5.28.so -
libpthread.so.0(GLIBC_2.0) -
libpthread.so.0(GLIBC_2.2) -
perl(AutoLoader.pm) -
perl(DynaLoader.pm) -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(Device/Davis.pm) = 1.002.003
perl-Device-Davis = 1.2.3-alt4.1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Device-Davis-1.2.3-alt4.1.i586.rpm
Source Package perl-Device-Davis-1.2.3-alt4.1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus i586 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Device-Davis rpm package:
    # sudo apt-get install perl-Device-Davis

Files

Path
/usr/lib/perl5/Device/Davis.pm
/usr/lib/perl5/auto/Device/
/usr/lib/perl5/auto/Device/Davis/Davis.so
/usr/lib/perl5/auto/Device/Davis/autosplit.ix
/usr/share/doc/perl-Device-Davis-1.2.3/Changes
/usr/share/doc/perl-Device-Davis-1.2.3/README

See Also

Package Description
perl-Device-FTDI-0.14-alt1.1.i586.rpm perl extension to talk to FTDI chips
perl-Device-I2C-0.06-alt3.1.i586.rpm Control and read hardware devices with i2c(SMBus)
perl-Device-LaCrosse-WS23xx-0.10-alt3.1.i586.rpm read data from La Crosse weather station
perl-Device-ParallelPort-drv-parport-1.0-alt4.1.i586.rpm perl module Device-ParallelPort-drv-parport
perl-Device-SMBus-1.15-alt3.1.i586.rpm Perl interface for smbus using libi2c-dev library
perl-Device-Serdisp-0.06-alt4.1.i586.rpm Perl extension for talking to the serdisplib
perl-Device-SerialPort-Xmodem-1.03-alt4.1.i586.rpm perl module Device-SerialPort-Xmodem
perl-Device-Video-PWC-0.11-alt4.1.i586.rpm perl module Device-Video-PWC
perl-Device-WH1091-0.03-alt4.1.i586.rpm Access data from the WH1081/1091 weather station
perl-Device-WS2000-IO-0.01-alt4.1.i586.rpm perl module Device-WS2000-IO
perl-DiaColloDB-0.12.011-alt1.i586.rpm Diachronic collocation index
perl-DiaColloDB-scripts-0.12.011-alt1.i586.rpm perl-DiaColloDB scripts
perl-Diff-LibXDiff-0.05-alt4.1.i586.rpm Calculate a diff with LibXDiff (via XS)
perl-Digest-Adler32-XS-0.03-alt4.1.i586.rpm Generate Adler32 digests efficiently
perl-Digest-BLAKE-0.05-alt4.1.i586.rpm Perl interface to the BLAKE digest algorithm
Advertisement
Advertisement