rfxcom-anyevent-tx - example script to write to an RFXCOM transmitter
version 1.142240
# read from USB tty device rfxcom-anyevent-tx /dev/ttyUSB0 # read from USB device with nicer name see Device::RFXCOM::TX(3) rfxcom-anyevent-tx /dev/rfxcom-tx # read from network/wireless device rfxcom-anyevent-tx 10.0.0.1:10001
This script is an example of the usage of the AnyEvent::RFXCOM::TX API. It simply initializes the transmitter and reads message specifications from stdin. The keys and values given on the command line become the parameter hash for the AnyEvent::RFXCOM::TX constructor and are documented in that module.
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.
AnyEvent::RFXCOM::TX
RFXCOM website: http://www.rfxcom.com/
Mark Hindess <soft-cpan@temporalanomaly.com>
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.
To install AnyEvent::W800, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnyEvent::W800
CPAN shell
perl -MCPAN -e shell install AnyEvent::W800
For more information on module installation, please visit the detailed CPAN module installation guide.