NAME

Device::RFXCOM::Decoder - Device::RFXCOM::Decoder base class for decoding RF messages

VERSION

version 1.163170

SYNOPSIS

# see Device::RFXCOM::RX

DESCRIPTION

Base class for RFXCOM decoder modules.

METHODS

new()

This constructor returns a new decoder object.

lo_nibble($byte)

This function returns the low nibble of a byte. So, for example, given 0x16 it returns 6.

hi_nibble($byte)

This function returns the hi nibble of a byte. So, for example, given 0x16 it returns 1.

nibble_sum($count, \@nibbles)

This function returns the sum of the nibbles of count nibbles.

THANKS

Special thanks to RFXCOM, http://www.rfxcom.com/, for their excellent documentation and for giving me permission to use it to help me write this code. I own a number of their products and highly recommend them.

SEE ALSO

RFXCOM website: http://www.rfxcom.com/

AUTHOR

Mark Hindess <soft-cpan@temporalanomaly.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Mark Hindess.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.