Device-VantagePro

 view release on metacpan or  search on metacpan

lib/Device/VantagePro.pm  view on Meta::CPAN

Retrieve specific EEPROM configuration settings. Currently the following parameters are supported:

    ARCHIVE_PERIOD
    TIME_ZONE
    MANUAL_OR_AUTO
    DAYLIGHT_SAVINGS
    GMT_OFFSET
    GMT_OR_ZONE
    SETUP_BITS

The return value is the raw hex value from the unit, so needs to be decoded:

    my $rst = $self->get_eeprom('archive_period');
    my $archive_period = hex($rst->[0]);

=head2 get_setup_bits
 
Retrieve the setup of the device. Returns a hashref with the following keys:

    TimeMode
    IsAM



( run in 0.498 second using v1.01-cache-2.11-cpan-49f99fa48dc )