FT817COMM

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
In the event you abruptly end the software or loose connectivity via ssh. When attempting to reconnect you will see the following error.
 
        Can't open serial port /dev/ttyUSB0: File exists
 
The lock file can be remove simply by
 
        rm /var/lock/ft817
 
Initialization
 
The instance of the device and options are created with the constructor and port configurations shown above. The variable which is an instance of the device may be named at that point. In this case $FT817. The serialport must be a valid port and not ...
 
Note that you are not limited to one radio. You can create more than one instance using a different name and serial port
 
        my $anotherFT817 = new Ham::Device::FT817COMM (
        serialport => '/dev/ttyUSB1',
        baud => '38400',
        lockfile => '/var/lock/ft817-2'
                                                      );
 
        my $port = $FT817->{'serialport'};

lib/Ham/Device/FT817COMM.pm  view on Meta::CPAN

7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
The lock file can be remove simply by
 
        rm /var/lock/ft817
 
 
=head2 Initialization
 
The instance of the device and options are created with the constructor and port configurations shown above.
The variable which is an instance of the device may be named at that point. In this case B<$FT817>.
The serialport must be a valid port and not locked.  You must consider that your login must have
permission to access the port either being added to the group or giving the user suffucient privilages.
The baudrate 'baud' must match the baudrate of the radio B<CAT RATE> which is menu item B<14>.
 
Note that you are not limited to one radio.  You can create more than one instance using a different name and serial port
 
 
        my $anotherFT817 = new Ham::Device::FT817COMM (
        serialport => '/dev/ttyUSB1',
        baud => '38400',
        lockfile => '/var/lock/ft817-2'



( run in 0.249 second using v1.01-cache-2.11-cpan-cba739cd03b )