NAME

Device::RFXCOM::Decoder::X10 - Device::RFXCOM::Decoder::X10 decode X10 RF messages

VERSION

version 1.163170

SYNOPSIS

# see Device::RFXCOM::RX

DESCRIPTION

Module to recognize X10 RF messages from an RFXCOM RF receiver.

METHODS

new($parent)

This constructor returns a new X10 decoder object.

decode( $parent, $message, $bytes, $bits, \%result )

This method attempts to recognize and decode RF messages from X10 devices. If messages are identified, a reference to a list of message data is returned. If the message is not recognized, undef is returned.

from_rf( $bytes )

Takes an array reference of bytes from an RF message and converts it in to an hash reference with the details.

is_x10( $bytes )

Takes an array reference of bytes from an RF message and returns true if it appears to be a valid X10 message.

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.