FT817COMM
view release on metacpan or search on metacpan
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
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.382 second using v1.01-cache-2.11-cpan-4ee56698ea0 )