Hardware::PortScannerScan serial ports to find hardware devices at various com ports, baud rates, and settings using request and expected reply message | |
Download |
Hardware::PortScanner Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- John Dennis
- Publisher web site:
- http://search.cpan.org/~galileo/
Hardware::PortScanner Tags
Hardware::PortScanner Description
Scan serial ports to find hardware devices at various com ports, baud rates, and settings using request and expected reply message Hardware::PortScanner is a Perl module that provides methods to scan and connect to com ports for hardware removing the necessity of knowing the specific com port, baud rate and/or settings (e.g. 8N1, 7E1) of the particular device you want to connect. The module works by sending a command to available devices at a variety of baud rates, com ports and settings. If a message is received back that matches a regular expression, then the connection specifics are returned. Additionally, the module can connect to the device via Device::SerialPort or Win32::SerialPort depending upon the platform.* Unplug unused COM cables before installation (or afterword if you notice problems). See Bug/Issues below.* Run "manual_test.pl" for device specific testsSYNOPSIS $serial = Hardware::PortScanner->new(); $serial->scan_ports( BAUD => , SETTING => , TEST_STRING => "V ", VALID_REPLY_RE => '^UBW FW' ); $PortObj = $serial->connect_to_device(); OR $serial = Hardware::PortScanner->new(); $PortObj = $serial->connect_to_device(BAUD => 115200, COM => 'COM3'); Requirements: · Perl
Hardware::PortScanner Related Software