Main > Free Download Search >

Free serialport software for linux

serialport

Sponsored Links
Sponsored Links
Sort by >> Relevance
rss
Secleted [ 0 ] software to compare
Results 1 - 15 of about 6
Device::SerialPort::Xmodem 1.03

Device::SerialPort::Xmodem 1.03


Device::SerialPort::Xmodem contains an Xmodem file transfer protocol for Device::SerialPort. more>>
Device::SerialPort::Xmodem contains an Xmodem file transfer protocol for Device::SerialPort.

SYNOPSIS

use Device::SerialPort::Xmodem;

This is an Xmodem implementation designed to receive a file using 128 byte blocks. This module is intended to be passed an open and prepared port with active connection.

At this time it can only receive 128 byte blocks, however 1k blocks are in the works. I do plan to write a send functionality soon.

Device::SerialPort::Xmodem::Constants

Synopsis

This is a set of contants that return hex values for the following:

nul ^@ 0x00 null
soh ^A 0x01 start of header 128 byte block
stx ^B 0x02 start of header 1k byte block
eot ^D 0x04 end of trasmission
ack ^E 0x06 acknowlegded
nak ^U 0x15 not acknowledged
can ^X 0x18 cancel
C 0x43 C ASCII char
ctrl_z ^Z 0x1A end of file marker

Xmodem::Block

Class that represents a single Xmodem data block.

Synopsis

my $b = Xmodem::Block->new( 1, My Data...< until-128-chars >... );
if( defined $b ) {
# Ok, block instanced, verify its checksum
if( $b->verify( checksum, < my_chksum > ) ) {
...
} else {
...
}
} else {
# No block
}

# Calculate checksum, crc16, 32, ...
$crc16 = $b->crc16();
$crc32 = $b->crc32();
$chksm = $b->checksum();

$b->to_string(); # outputs a formated message block

<<less
Download (0.043MB)
Added: 2007-08-08 License: Perl Artistic License Price:
812 downloads
GPS::Lowrance 0.31

GPS::Lowrance 0.31


GPS::Lowrance is a Perl module connect to Lowrance and Eagle GPS devices. more>>
GPS::Lowrance is a Perl module connect to Lowrance and Eagle GPS devices.

REQUIREMENTS

The following modules are required to use this module:

Carp::Assert
GPS::Lowrance::LSI 0.23
Parse::Binary::FixedFormat
Win32::SerialPort or Device::SerialPort

If you will be using the "get_plot_trails", "set_plot_trails", "set_waypoints" or "get_waypoints" methods, then you will need the following modules:

GPS::Lowrance::Trail 0.41
Geo::Coordinates::DecimalDegrees
Geo::Coordinates::UTM
XML::Generator

If you want to use the screen capture or icon download functions in GPS::Lowrance::Screen, you also need the following module:

GD

This module should work with Perl 5.6.x. It has been tested on Perl 5.8.2.
SYNOPSIS ^
use GPS::Lowrance;
use GPS::Lowrance::Trail;

$gps = GPS::Lowrance->connect(
Device => com1,
BaudRate => 57600,
);

$trail = $gps->get_plot_trail( plot_trail_number => 0 );

$gps->disconnect;

This module provides a variety of low- and high-level methods for communicating with Lowrance and Eagle GPS receivers which support the LSI 100 protocol. It also provides some utility functions for converting data.

<<less
Download (0.022MB)
Added: 2007-03-08 License: Perl Artistic License Price:
964 downloads
Audio::Radio::Sirius 0.03

Audio::Radio::Sirius 0.03


Audio::Radio::Sirius is a Perl module to control a Sirius satellite radio tuner. more>>
Audio::Radio::Sirius is a Perl module to control a Sirius satellite radio tuner.

SYNOPSIS

Sirius satellite radio (http://www.sirius.com) is a US based satellite radio serice. While none of the tuners they make have serial or USB connectors, it has been found that generation 2.5 tuners (Sportster, Starmate, * Replay, Sirius Connect, and others) have a common tuner module.

Furthermore this tuner module generally has a serial interface. Presently only one commercial site is offering a modification for adding a serial port to a Sirius tuner: http://www.rush2112.net. Google should reveal schematics and parts needed for adding ports to other tuners.

Once your tuner is connected to your system and accessible via a serial port like device, you can use this module to access it:

use Audio::Radio::Sirius;
use Win32::SerialPort; # or Device::SerialPort on Linux

my $serial = new Win32::SerialPort(com1);
my $tuner = new Audio::Radio::Sirius;

$tuner->connect($serial);
$tuner->power(1);
$tuner->channel(184); # tune in the preview channel

<<less
Download (0.013MB)
Added: 2006-11-30 License: Perl Artistic License Price:
1062 downloads
Device::Denon::DN1400F 0.02

Device::Denon::DN1400F 0.02


Device::Denon::DN1400F is a Perl module that can control a Denon DN-1400F CD player. more>>
Device::Denon::DN1400F is a Perl module that can control a Denon DN-1400F CD player.

SYNOPSIS

use Device::Denon::DN1400F;

my $denon = new Device::Denon::DN1400F(
SerialPort => /dev/ttyS0,
Id => $deviceid,
);

$denon->load_disc($drive, $discno);
$denon->drive_play($drive, $track);
$denon->drive_pause($drive, $paused);
$denon->drive_stop($drive);
$denon->unload_disc($drive, $discno);
$denon->unload_discs;

print $denon->drive_status($drive);
print $denon->drive_subcode_qchannel($drive);
print $denon->toc_data_long($drive);
print $denon->toc_data_short($drive);

$denon->debug;
$denon->reset;
$denon->move_front;

This module gives an object oriented interface to control the Denon DN-1400F, an RS232 controlled 200 CD two-turntable jukebox designed for nonstop playout.
Many methods are available, it is currently still best to browse the source to find the details.

<<less
Download (0.006MB)
Added: 2006-12-27 License: Perl Artistic License Price:
1039 downloads
ControlX10::CM11 2.09

ControlX10::CM11 2.09


ControlX10::CM11 is a Perl extension for X10 ActiveHome Controller. more>>
ControlX10::CM11 is a Perl extension for X10 ActiveHome Controller.

SYNOPSIS

use ControlX10::CM11;

# $serial_port is an object created using Win32::SerialPort
# or Device::SerialPort depending on OS
# my $serial_port = setup_serial_port(COM10, 4800);

$data = &ControlX10::CM11::receive_buffer($serial_port);
$data = &ControlX10::CM11::read($serial_port, $no_block);
$percent = &ControlX10::CM11::dim_level_decode(GE); # 40%

&ControlX10::CM11::send($serial_port, A1); # Address device A1
&ControlX10::CM11::send($serial_port, AJ); # Turn device ON
# House Code A present in both send() calls

&ControlX10::CM11::send($serial_port, B.ALL_OFF);
# Turns All lights on house code B off

<<less
Download (0.015MB)
Added: 2007-07-27 License: Perl Artistic License Price:
821 downloads
ControlX10::CM17 0.07

ControlX10::CM17 0.07


ControlX10::CM17 is a Perl extension for FireCracker RF Transmitter. more>>
ControlX10::CM17 is a Perl extension for FireCracker RF Transmitter.

SYNOPSIS

use ControlX10::CM17;

# $serial_port is an object created using Win32::SerialPort
# or Device::SerialPort depending on OS
# my $serial_port = setup_serial_port(COM10, 4800);

&ControlX10::CM17::send($serial_port, A1J);
# Turns device A1 On
&ControlX10::CM17::send($serial_port, A1K);
# Turns device A1 Off
&ControlX10::CM17::send($serial_port, BO);
# Turns All lights on house code B off

The FireCracker (CM17A) is a send-only X10 controller that connects to a serial port and transmits commands via RF to X10 transceivers.

The FireCracker derives its power supply from either the RTS or DTR signals from the serial port. At least one of these signals must be high at all times to ensure that power is not lost from the FireCracker. The signals are pulsed to transmit a bit (DTR for 1 and RTS for 0). The normal rx/tx read/write lines are not used by the device - but are passed through to allow another serial device to be connected (as long as it does not require hardware handshaking).

A 40-bit command packet consists of a constant 16 bit header, a constant 8 bit footer, and 16 data bits. The data is subdivided into a 5 bit address $house code (A-P) and an 11 bit $operation. There are "ON" commands for 16 units per $house code (1J, 2J...FJ, GJ) and similar "OFF" commands (1K, 2K...FK, GK). A send decodes a parameter string that combines $house$operation into a single instruction. In addition to $operation commands that act on individual units, there are some that apply to the entire $house code or to previous commands.

$operation FUNCTION
L Brighten Last Light Programmed 14%
M Dim Last Light Programmed 14%
N All Lights Off
O All Lights On
P All Units Off

Starting with Version 0.6, a series of Brighten or Dim Commands may be combined into a single $operation by specifying a signed amount of change desired after the unit code. An "ON" command will be sent to select the unit followed by at least one Brighten/Dim. The value will round to the next larger magnitude if not a multiple of 14%.

&ControlX10::CM17::send($serial_port, A3-10);
# outputs A3J,AM - at least one dim

&ControlX10::CM17::send($serial_port, A3-42);
# outputs A3J,AM,AM,AM - even multiple of 14

&ControlX10::CM17::send($serial_port, AF-45);
# outputs AFJ,AL,AL,AL,AL - round up if remainer

<<less
Download (0.008MB)
Added: 2007-04-16 License: Perl Artistic License Price:
923 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 1
  • 1