upnp devices
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1341
Portable SDK for UPnP Devices 1.4.1
Portable SDK for UPnP Devices (libupnp) provides developers with an API and code for building control points, devices. more>>
Portable SDK for UPnP Devices in short libupnp provides developers with an API and code for building control points, devices, and bridges that are compliant with Version 1.0 of the Universal Plug and Play Device Architecture Specification.
This allows discovery, event notification, and control of devices on a network, independent of operating system, programming language, or physical network connection.
UPnP is an architecture that enables discovery, event notification, and control of devices on a network, independent of operating system, programming language, or physical network connection. UPnP is based on common Internet standards and specifications such as TCP/IP, HTTP, and XML.
Enhancements:
- Full support for the Windows and FreeBSD operating systems was added.
- Fixes were made for x86_64 architectures.
- Several memory leaks and possible reasons for crashes were fixed.
<<lessThis allows discovery, event notification, and control of devices on a network, independent of operating system, programming language, or physical network connection.
UPnP is an architecture that enables discovery, event notification, and control of devices on a network, independent of operating system, programming language, or physical network connection. UPnP is based on common Internet standards and specifications such as TCP/IP, HTTP, and XML.
Enhancements:
- Full support for the Windows and FreeBSD operating systems was added.
- Fixes were made for x86_64 architectures.
- Several memory leaks and possible reasons for crashes were fixed.
Download (0.73MB)
Added: 2006-07-17 License: BSD License Price:
1214 downloads
Device::SNP 1.2
Device::SNP is a Perl extension for the GE Fanuc SNP-X serial protocol as used by GE Fanuc DataPanel data terminals. more>>
Device::SNP is a Perl extension for the GE Fanuc SNP-X serial protocol as used by GE Fanuc DataPanel data terminals. See http://www.gefanuc.com/en/ProductServices/VisPCSolutions/DataPanel/index.html
SYNOPSIS
use Device::SNP;
my $s = new Device::SNP::Slave(
Portname => /dev/ttyUSB0,
Debug => 0);
$s->run();
Amarok serial interface program: datapanel.pl [-h] [-d] [-p portdevice]
portdevice defaults to /dev/ttyUSB0
ABSTRACT
This Device::SNP module contains an implementation of the GE Fanuc SNP-X serial protocol as used by GE Fanuc DataPanel data terminals. See http://www.gefanuc.com/en/ProductServices/VisPCSolutions/DataPanel/index.html
DESCRIPTION
DataPanels are usually used with PLCs to monitor and control industrial equipment. They provide a programmable bitmap display, programmable function keys, and can poll and display data values and set data values in a remote PLC using the SNP-X serial protocol.
The Device::SNP::Slave object implements an SNP-X slave, opens a Device::Serial port and answers SNP-X requests to read and write data to a simulated PLC.
This package also contains a sample application that uses a DataPanel 160 to implement a remote control panel for the Amarok music player on Linux, allowing you to play, pause, next, prev tracks etc.
DataPanels are programmed with a GE application called DataDesigner, available from the GE web site for registered customers. Included in this package is a database for DataDesigner 5.2 for the Amarok remote control application. You will need DataDesigner 5.2 to download the datadesigner/linux.DTB database to the DataPanel 160
Tested on SuSE linux, but should run on pretty well any Linux or Unix.
<<lessSYNOPSIS
use Device::SNP;
my $s = new Device::SNP::Slave(
Portname => /dev/ttyUSB0,
Debug => 0);
$s->run();
Amarok serial interface program: datapanel.pl [-h] [-d] [-p portdevice]
portdevice defaults to /dev/ttyUSB0
ABSTRACT
This Device::SNP module contains an implementation of the GE Fanuc SNP-X serial protocol as used by GE Fanuc DataPanel data terminals. See http://www.gefanuc.com/en/ProductServices/VisPCSolutions/DataPanel/index.html
DESCRIPTION
DataPanels are usually used with PLCs to monitor and control industrial equipment. They provide a programmable bitmap display, programmable function keys, and can poll and display data values and set data values in a remote PLC using the SNP-X serial protocol.
The Device::SNP::Slave object implements an SNP-X slave, opens a Device::Serial port and answers SNP-X requests to read and write data to a simulated PLC.
This package also contains a sample application that uses a DataPanel 160 to implement a remote control panel for the Amarok music player on Linux, allowing you to play, pause, next, prev tracks etc.
DataPanels are programmed with a GE application called DataDesigner, available from the GE web site for registered customers. Included in this package is a database for DataDesigner 5.2 for the Amarok remote control application. You will need DataDesigner 5.2 to download the datadesigner/linux.DTB database to the DataPanel 160
Tested on SuSE linux, but should run on pretty well any Linux or Unix.
Download (0.022MB)
Added: 2007-01-05 License: Perl Artistic License Price:
604 downloads
Device::Gsm 1.48
Device::Gsm is a Perl extension to interface GSM phones / modems. more>>
Device::Gsm is a Perl extension to interface GSM phones / modems.
SYNOPSIS
use Device::Gsm;
my $gsm = new Device::Gsm( port => /dev/ttyS1, pin => xxxx );
if( $gsm->connect() ) {
print "connected!n";
} else {
print "sorry, no connection with gsm phone on serial port!n";
}
# Register to GSM network (you must supply PIN number in above new() call)
$gsm->register();
# Send quickly a short text message
$gsm->send_sms(
recipient => +3934910203040,
content => Hello world! from Device::Gsm
);
# Get list of Device::Gsm::Sms message objects
# see `examples/read_messages.pl for all the details
my @messages = $gsm->messages();
Device::Gsm class implements basic GSM functions, network registration and SMS sending.
This class supports also PDU mode to send SMS messages, and should be fairly usable. In the past, I have developed and tested it under Linux RedHat 7.1 with a 16550 serial port and Siemens C35i/C45 GSM phones attached with a Siemens-compatible serial cable. Currently, Im developing and testing this stuff with Linux Slackware 10.2 and a Cambridge Silicon Radio (CSR) USB bluetooth dongle, connecting to a Nokia 6600 phone.
Please be kind to the universe and contact me if you have troubles or you are interested in this.
Please be monstruosly kind to the universe and (if you dont mind spending an SMS) use the examples/send_to_cosimo.pl script to make me know that Device::Gsm works with your device (thanks!).
Recent versions of Device::Gsm have also an utility called autoscan in the bin/ folder, that creates a little profile of the devices it runs against, that contains information about supported commands and exact output of commands to help recognize similar devices.
Be sure to send me your profile by email (if you want to), so I can add better support for your device in the future!
<<lessSYNOPSIS
use Device::Gsm;
my $gsm = new Device::Gsm( port => /dev/ttyS1, pin => xxxx );
if( $gsm->connect() ) {
print "connected!n";
} else {
print "sorry, no connection with gsm phone on serial port!n";
}
# Register to GSM network (you must supply PIN number in above new() call)
$gsm->register();
# Send quickly a short text message
$gsm->send_sms(
recipient => +3934910203040,
content => Hello world! from Device::Gsm
);
# Get list of Device::Gsm::Sms message objects
# see `examples/read_messages.pl for all the details
my @messages = $gsm->messages();
Device::Gsm class implements basic GSM functions, network registration and SMS sending.
This class supports also PDU mode to send SMS messages, and should be fairly usable. In the past, I have developed and tested it under Linux RedHat 7.1 with a 16550 serial port and Siemens C35i/C45 GSM phones attached with a Siemens-compatible serial cable. Currently, Im developing and testing this stuff with Linux Slackware 10.2 and a Cambridge Silicon Radio (CSR) USB bluetooth dongle, connecting to a Nokia 6600 phone.
Please be kind to the universe and contact me if you have troubles or you are interested in this.
Please be monstruosly kind to the universe and (if you dont mind spending an SMS) use the examples/send_to_cosimo.pl script to make me know that Device::Gsm works with your device (thanks!).
Recent versions of Device::Gsm have also an utility called autoscan in the bin/ folder, that creates a little profile of the devices it runs against, that contains information about supported commands and exact output of commands to help recognize similar devices.
Be sure to send me your profile by email (if you want to), so I can add better support for your device in the future!
Download (0.055MB)
Added: 2007-04-17 License: Perl Artistic License Price:
927 downloads
GUPnP 0.4
GUPnP application is an object-oriented open source framework for creating UPnP devices and control points. more>>
GUPnP application is an object-oriented open source framework for creating UPnP devices and control points, written in C using GObject and libsoup. The GUPnP API is intended to be easy to use, efficient and flexible.
The GUPnP framework consists of the following two libraries:
GSSDP implements resource discovery and announcement over SSDP.
GUPnP implements the UPnP specification: resource announcement and discovery, description, control, event notification, and presentation (GUPnP includes basic web server functionality through libsoup). GUPnP does not include helpers for construction or control of specific standardized resources (e.g. MediaServer); this is left for higher level libraries utilizing the GUPnP framework.
The GUPnP framework was born out of frustration with libupnp and its mess of threads. GUPnP is entirely single-threaded (though asynchronous), integrates with the GLib main loop, and provides the same set of features as libupnp while hiding most of the UPnP internals through an elegant object-oriented design.
This project is free software released under the GNU LGPL.
<<lessThe GUPnP framework consists of the following two libraries:
GSSDP implements resource discovery and announcement over SSDP.
GUPnP implements the UPnP specification: resource announcement and discovery, description, control, event notification, and presentation (GUPnP includes basic web server functionality through libsoup). GUPnP does not include helpers for construction or control of specific standardized resources (e.g. MediaServer); this is left for higher level libraries utilizing the GUPnP framework.
The GUPnP framework was born out of frustration with libupnp and its mess of threads. GUPnP is entirely single-threaded (though asynchronous), integrates with the GLib main loop, and provides the same set of features as libupnp while hiding most of the UPnP internals through an elegant object-oriented design.
This project is free software released under the GNU LGPL.
Download (0.40MB)
Added: 2007-08-01 License: LGPL (GNU Lesser General Public License) Price:
814 downloads
Device::Serdisp 0.06
Device::Serdisp is a Perl extension for talking to the serdisplib. more>>
Device::Serdisp is a Perl extension for talking to the serdisplib.
SYNOPSIS
use Device::Serdisp;
my $d = Device::Serdisp->new(USB:7c0/1501, ctinclud);
$d->init();
$d->clear();
# reserves a color-indexed picture
my $image = GD::Image->new(128,64);
my $black = $image->colorAllocate(0,0,0);
my $white = $image->colorAllocate(255,255,255);
$image->transparent($black);
$image->arc(10,10,10,10,0,270, $white);
$d->copyGD($image);
<<lessSYNOPSIS
use Device::Serdisp;
my $d = Device::Serdisp->new(USB:7c0/1501, ctinclud);
$d->init();
$d->clear();
# reserves a color-indexed picture
my $image = GD::Image->new(128,64);
my $black = $image->colorAllocate(0,0,0);
my $white = $image->colorAllocate(255,255,255);
$image->transparent($black);
$image->arc(10,10,10,10,0,270, $white);
$d->copyGD($image);
Download (0.034MB)
Added: 2007-04-12 License: Perl Artistic License Price:
925 downloads
Device::Cdio 2.3
Device::Cdio is a Perl module for CD Input and Control library. more>>
Device::Cdio is a Perl module for CD Input and Control library.
SYNOPSIS
This encapsulates CD-ROM reading and control. Applications wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM can use this library.
use Device::Cdio;
use Device::Cdio::Device;
@cd_drives = Device::Cdio::get_devices($perlcdio::DRIVER_DEVICE);
@cd_drives = Device::Cdio::get_devices_with_cap($perlcdio::FS_AUDIO, 0);
foreach my $drive (@cd_drives) {
print "Drive $driven";
}
foreach my $driver_name (sort keys(%Device::Cdio::drivers)) {
print "Driver $driver_name is installed.n"
if Device::Cdio::have_driver($driver_name) and
$driver_name !~ m{device|Unknown};
}
This is an Perl Object-Oriented interface to the GNU CD Input and Control library, libcdio, written in C. The library encapsulates CD-ROM reading and control. Perl programs wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM can use this library.
The encapsulation is done in two parts. The lower-level Perl interface is called perlcdio and is generated by SWIG.
The more object-oriented package Device::Cdio and uses perlcdio. Actually, there are no objects in Device::Cdio, but there are in its sub packages Device::Cdio::Device and Device::Cdio::Tracks.
Although perlcdio is perfectly usable on its own, it is expected that Cdio is what most people will use. As perlcdio more closely models the C interface libcdio, it is conceivable (if unlikely) that die-hard libcdio C users who are very familiar with that interface could prefer that.
<<lessSYNOPSIS
This encapsulates CD-ROM reading and control. Applications wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM can use this library.
use Device::Cdio;
use Device::Cdio::Device;
@cd_drives = Device::Cdio::get_devices($perlcdio::DRIVER_DEVICE);
@cd_drives = Device::Cdio::get_devices_with_cap($perlcdio::FS_AUDIO, 0);
foreach my $drive (@cd_drives) {
print "Drive $driven";
}
foreach my $driver_name (sort keys(%Device::Cdio::drivers)) {
print "Driver $driver_name is installed.n"
if Device::Cdio::have_driver($driver_name) and
$driver_name !~ m{device|Unknown};
}
This is an Perl Object-Oriented interface to the GNU CD Input and Control library, libcdio, written in C. The library encapsulates CD-ROM reading and control. Perl programs wishing to be oblivious of the OS- and device-dependent properties of a CD-ROM can use this library.
The encapsulation is done in two parts. The lower-level Perl interface is called perlcdio and is generated by SWIG.
The more object-oriented package Device::Cdio and uses perlcdio. Actually, there are no objects in Device::Cdio, but there are in its sub packages Device::Cdio::Device and Device::Cdio::Tracks.
Although perlcdio is perfectly usable on its own, it is expected that Cdio is what most people will use. As perlcdio more closely models the C interface libcdio, it is conceivable (if unlikely) that die-hard libcdio C users who are very familiar with that interface could prefer that.
Download (0.22MB)
Added: 2007-02-27 License: Perl Artistic License Price:
970 downloads
Device::USB::FAQ 0.21
Device::USB::FAQ Perl module contains Frequently Asked Questions for Device::USB. more>>
Device::USB::FAQ Perl module contains Frequently Asked Questions for Device::USB.
This is an attempt to answer some of the frequently asked questions about the Device::USB module.
Which platforms does Device::USB support?
Device:USB supports any platform that libusb supports. This list currently includes Linux, FreeBSD, NetBSD, OpenBSD, Darwin, and MacOS X.
There is a port of the libusb library to the Windows environment called LibUsb-Win32. Because I dont have a development environment for testing this library, Device::USB does not yet support this library.
Do I have to use Device::USB as root?
By default, access to the USB devices on a Unix-based system appear to be limited to the root account. This usually causes access to most of the libusb features to fail with a permission error.
Using the Device::USB module as root avoids this feature, but is not very satisfying from a security standpoint. (See the next question for more options.)
How do I enable use of Device::USB as a non-root user?
Some of the attributes of USB devices are available to non-root users, but accessing many of the more interesting features require special privileges. According to the libusb source, the open() function requires either device nodes to be present or the usbfs file system to be mounted in specific locations. Those places in order are:
1)
/dev/bus/usb - pre-2.6.11: via devfs / post-2.6.11: via udev
2)
/proc/bus/usb - usbfs
Look in both locations on your system for which of these two methods your libusb will use.
No matter which method your system uses, you will probably want to create a separate group to control access. Run this command to add a system group:
addgroup --system usb
or
groupadd --system usb
You can then add users to that group to allow access to your usb devices.
<<lessThis is an attempt to answer some of the frequently asked questions about the Device::USB module.
Which platforms does Device::USB support?
Device:USB supports any platform that libusb supports. This list currently includes Linux, FreeBSD, NetBSD, OpenBSD, Darwin, and MacOS X.
There is a port of the libusb library to the Windows environment called LibUsb-Win32. Because I dont have a development environment for testing this library, Device::USB does not yet support this library.
Do I have to use Device::USB as root?
By default, access to the USB devices on a Unix-based system appear to be limited to the root account. This usually causes access to most of the libusb features to fail with a permission error.
Using the Device::USB module as root avoids this feature, but is not very satisfying from a security standpoint. (See the next question for more options.)
How do I enable use of Device::USB as a non-root user?
Some of the attributes of USB devices are available to non-root users, but accessing many of the more interesting features require special privileges. According to the libusb source, the open() function requires either device nodes to be present or the usbfs file system to be mounted in specific locations. Those places in order are:
1)
/dev/bus/usb - pre-2.6.11: via devfs / post-2.6.11: via udev
2)
/proc/bus/usb - usbfs
Look in both locations on your system for which of these two methods your libusb will use.
No matter which method your system uses, you will probably want to create a separate group to control access. Run this command to add a system group:
addgroup --system usb
or
groupadd --system usb
You can then add users to that group to allow access to your usb devices.
Download (0.027MB)
Added: 2007-07-26 License: Perl Artistic License Price:
824 downloads
Device Control Device 0.13
Device Control Device is a platform independent remote telescope and device control program. more>>
Device Control Device is a platform independent remote telescope and device control program compatible with the INDI standard (see http://indi.sourceforge.net/).
This program is a client (a user interface) and provides functions to control devices connected to a remote system that is running an INDI server.
The features and the structure of the GUI are similar to the Kstars INDI client. The only advantages are support for Windows and lower resource requirements.
<<lessThis program is a client (a user interface) and provides functions to control devices connected to a remote system that is running an INDI server.
The features and the structure of the GUI are similar to the Kstars INDI client. The only advantages are support for Windows and lower resource requirements.
Download (0.073MB)
Added: 2005-09-11 License: GPL (GNU General Public License) Price:
1509 downloads
PulseAudio Device Chooser 0.9.3
PulseAudio Device Chooser (padevchooser) is a simple GTK tool which allows quick access to some features of the PulseAudio sound more>>
PulseAudio Device Chooser (padevchooser) is a simple GTK tool which registers an icon in the tray area and allows quick access to some features of the PulseAudio sound server.
Main features:
Notify about new sink/sources becoming available on the LAN;
Quickly change the default PulseAudio sink/source/server assigned to the current X11 display, selecting devices available on the LAN;
Start the auxiliary tools PulseAudio Volume Control, PulseAudio Volume Meter, PulseAudio Manager
<<lessMain features:
Notify about new sink/sources becoming available on the LAN;
Quickly change the default PulseAudio sink/source/server assigned to the current X11 display, selecting devices available on the LAN;
Start the auxiliary tools PulseAudio Volume Control, PulseAudio Volume Meter, PulseAudio Manager
Download (0.097MB)
Added: 2006-08-27 License: GPL (GNU General Public License) Price:
1161 downloads
libupnp 1.3.1
libupnp is a Linux SDK and UPnP devices library. more>>
libupnp is a Linux SDK and UPnP devices library.
The Linux SDK for UPnP Devices is an SDK for development of UPnP device
and control point applications for Linux.
It consists of the core UPnP protocols along with a UPnP-specific eXtensible Markup Language (XML) parser supporting the Document Object Model (DOM) Level 2 API and an optional, integrated mini web server for serving UPnP related documents.
<<lessThe Linux SDK for UPnP Devices is an SDK for development of UPnP device
and control point applications for Linux.
It consists of the core UPnP protocols along with a UPnP-specific eXtensible Markup Language (XML) parser supporting the Document Object Model (DOM) Level 2 API and an optional, integrated mini web server for serving UPnP related documents.
Download (0.72MB)
Added: 2006-03-28 License: BSD License Price:
1309 downloads
Transfer to Media Device 0.8
Transfer to Media Device is a script for transferring selected playlist items to your iPod. more>>
Transfer to Media Device is a script that creates a new Playlist Right Click Menu item for transferring selected playlist items to your iPod via the Media Device Browser.
This script now also supports generic copy to operation for USB mass storage devices. Currently the script will prompt for a destination directory on first copy, in the future this setting will be saved in a configuration file.
This script works with amaroK 1.3beta3 and above.
Usage:
Run from the amaroK script manager. A new menu item will appear in the Playlist right mouse button menu.
Select files in the playlist and Right click -> Transfer to -> iPod for transfering to an iPod.
Select files in the playlist and Right click -> Transfer to -> USB Device for transfering to a USB device.
Enhancements:
- Add support for Creative Nomad Jukebox devices using the kionjb kioslave. Thanks to Ralf T for the patch.
<<lessThis script now also supports generic copy to operation for USB mass storage devices. Currently the script will prompt for a destination directory on first copy, in the future this setting will be saved in a configuration file.
This script works with amaroK 1.3beta3 and above.
Usage:
Run from the amaroK script manager. A new menu item will appear in the Playlist right mouse button menu.
Select files in the playlist and Right click -> Transfer to -> iPod for transfering to an iPod.
Select files in the playlist and Right click -> Transfer to -> USB Device for transfering to a USB device.
Enhancements:
- Add support for Creative Nomad Jukebox devices using the kionjb kioslave. Thanks to Ralf T for the patch.
Download (0.003MB)
Added: 2005-12-23 License: GPL (GNU General Public License) Price:
1409 downloads
upnp2mrtg 1.6
upnp2mrtg is a add-on for the mrtg (Multi Router Traffic Grapher). more>>
upnp2mrtg is a add-on for the mrtg (Multi Router Traffic Grapher). upnp2mrtg is a command line tool written in shell which can gather statistics from an upnp enabled FritzBox DSL router.
Main features:
- shell script
- if your bash is compiled with --enable-net-redirections no netcat is required
- only 1700 bytes or 70 lines of code
- very well tested! ;-))
- very little requirements
- fast
- works
<<lessMain features:
- shell script
- if your bash is compiled with --enable-net-redirections no netcat is required
- only 1700 bytes or 70 lines of code
- very well tested! ;-))
- very little requirements
- fast
- works
Download (0.004MB)
Added: 2006-10-14 License: GPL (GNU General Public License) Price:
1106 downloads
Device::ISDN::OCLM 0.40
Device::ISDN::OCLM is a perl module to control the 3com OfficeConnect LanModem. more>>
Device::ISDN::OCLM is a perl module to control the 3com OfficeConnect LanModem.
SYNOPSIS
$sp = 1;
$pw = secret;
$lanmodem = Device::ISDN::OCLM->new ();
$lanmodem->password ($pw);
$command = manualConnect;
$status = $lanmodem->$command ($sp);
while (($status eq CLOCK) || ($status eq PASSWORD) ||
($status eq CONNECTING) || ($status eq LOGGING IN)) {
if ($status eq CLOCK) {
sleep (1);
$status = $lanmodem->setClock ();
} elsif ($status eq PASSWORD) {
sleep (1);
$status = $lanmodem->enterPasword ();
} elsif (($status eq CONNECTING) || ($status eq LOGGING IN)) {
$command = connectStatus;
$status = OK;
}
if ($status eq OK) {
sleep (1);
$status = $lanmodem->$command ($sp);
}
}
print "$statusn";
This module can be used to control the 3com OfficeConnect LanModem, an ISDN TA/router. Device statistics can be queried and manual connections can be brought up and taken down. Support is provided for setting the clock if the device is power-cycled, and for automatically entering the password if the device is password-protected.
All operations that access the device return a status code indicating whether the operation was successful or not; and, if not, why. For example, if you attempt to query device statistics and the device is locked then the status code will indicate this fact, allowing you to enter the password and retry the operation. Hence the loop in the above synopsis.
This module does not perform these loops internally in an effort to allow it to be embedded within a controlling application such as the oclm Perl command-line application, and a GNOME/GTK graphical user interface that is available separately.
This module has a few warts; some are mandated by the device itself and some are the fault of the author.
<<lessSYNOPSIS
$sp = 1;
$pw = secret;
$lanmodem = Device::ISDN::OCLM->new ();
$lanmodem->password ($pw);
$command = manualConnect;
$status = $lanmodem->$command ($sp);
while (($status eq CLOCK) || ($status eq PASSWORD) ||
($status eq CONNECTING) || ($status eq LOGGING IN)) {
if ($status eq CLOCK) {
sleep (1);
$status = $lanmodem->setClock ();
} elsif ($status eq PASSWORD) {
sleep (1);
$status = $lanmodem->enterPasword ();
} elsif (($status eq CONNECTING) || ($status eq LOGGING IN)) {
$command = connectStatus;
$status = OK;
}
if ($status eq OK) {
sleep (1);
$status = $lanmodem->$command ($sp);
}
}
print "$statusn";
This module can be used to control the 3com OfficeConnect LanModem, an ISDN TA/router. Device statistics can be queried and manual connections can be brought up and taken down. Support is provided for setting the clock if the device is power-cycled, and for automatically entering the password if the device is password-protected.
All operations that access the device return a status code indicating whether the operation was successful or not; and, if not, why. For example, if you attempt to query device statistics and the device is locked then the status code will indicate this fact, allowing you to enter the password and retry the operation. Hence the loop in the above synopsis.
This module does not perform these loops internally in an effort to allow it to be embedded within a controlling application such as the oclm Perl command-line application, and a GNOME/GTK graphical user interface that is available separately.
This module has a few warts; some are mandated by the device itself and some are the fault of the author.
Download (0.013MB)
Added: 2006-07-20 License: Perl Artistic License Price:
1191 downloads
Device::Modem 1.47
Device::Modem is a Perl extension to talk to modem devices connected via serial port. more>>
Device::Modem is a Perl extension created to talk to modem devices connected via serial port.
WARNING
This is BETA software, so use it at your own risk, and without ANY warranty! Have fun.
SYNOPSIS
use Device::Modem;
my $modem = new Device::Modem( port => /dev/ttyS1 );
if( $modem->connect( baudrate => 9600 ) ) {
print "connected!n";
} else {
print "sorry, no connection with serial port!n";
}
$modem->attention(); # send `attention sequence (+++)
($ok, $answer) = $modem->dial(02270469012); # dial phone number
$ok = $modem->dial(3); # 1-digit parameter = dial number stored in memory 3
$modem->echo(1); # enable local echo (0 to disable)
$modem->offhook(); # Take off hook (ready to dial)
$modem->hangup(); # returns modem answer
$modem->is_active(); # Tests whether modem device is active or not
# So far it works for modem OFF/ modem ON condition
$modem->reset(); # hangup + attention + restore setting 0 (Z0)
$modem->restore_factory_settings(); # Handle with care!
$modem->restore_factory_settings(1); # Same with preset profile 1 (can be 0 or 1)
$modem->send_init_string(); # Send initialization string
# Now this is fixed to AT H0 Z S7=45 S0=0 Q0 V1 E0 &C0 X4
# Get/Set value of S1 register
my $S1 = $modem->S_register(1);
my $S1 = $modem->S_register(1, 55); # Dont do that if you definitely dont know!
# Get status of managed signals (CTS, DSR, RLSD, RING)
my %signal = $modem->status();
if( $signal{DSR} ) { print "Data Set Ready signal active!n"; }
# Stores this number in modem memory number 3
$modem->store_number(3, 01005552817);
$modem->repeat(); # Repeat last command
$modem->verbose(1); # Normal text responses (0=numeric codes)
# Some raw AT commands
$modem->atsend( ATH0 );
print $modem->answer();
$modem->atsend( ATDT01234567 . Device::Modem::CR );
print $modem->answer();
Device::Modem class implements basic AT (Hayes) compliant device abstraction. It can be inherited by sub classes (as Device::Gsm), which are based on serial connections.
<<lessWARNING
This is BETA software, so use it at your own risk, and without ANY warranty! Have fun.
SYNOPSIS
use Device::Modem;
my $modem = new Device::Modem( port => /dev/ttyS1 );
if( $modem->connect( baudrate => 9600 ) ) {
print "connected!n";
} else {
print "sorry, no connection with serial port!n";
}
$modem->attention(); # send `attention sequence (+++)
($ok, $answer) = $modem->dial(02270469012); # dial phone number
$ok = $modem->dial(3); # 1-digit parameter = dial number stored in memory 3
$modem->echo(1); # enable local echo (0 to disable)
$modem->offhook(); # Take off hook (ready to dial)
$modem->hangup(); # returns modem answer
$modem->is_active(); # Tests whether modem device is active or not
# So far it works for modem OFF/ modem ON condition
$modem->reset(); # hangup + attention + restore setting 0 (Z0)
$modem->restore_factory_settings(); # Handle with care!
$modem->restore_factory_settings(1); # Same with preset profile 1 (can be 0 or 1)
$modem->send_init_string(); # Send initialization string
# Now this is fixed to AT H0 Z S7=45 S0=0 Q0 V1 E0 &C0 X4
# Get/Set value of S1 register
my $S1 = $modem->S_register(1);
my $S1 = $modem->S_register(1, 55); # Dont do that if you definitely dont know!
# Get status of managed signals (CTS, DSR, RLSD, RING)
my %signal = $modem->status();
if( $signal{DSR} ) { print "Data Set Ready signal active!n"; }
# Stores this number in modem memory number 3
$modem->store_number(3, 01005552817);
$modem->repeat(); # Repeat last command
$modem->verbose(1); # Normal text responses (0=numeric codes)
# Some raw AT commands
$modem->atsend( ATH0 );
print $modem->answer();
$modem->atsend( ATDT01234567 . Device::Modem::CR );
print $modem->answer();
Device::Modem class implements basic AT (Hayes) compliant device abstraction. It can be inherited by sub classes (as Device::Gsm), which are based on serial connections.
Download (0.046MB)
Added: 2007-04-17 License: Perl Artistic License Price:
929 downloads
Hardware::iButton::Device 0.03
Hardware::iButton::Device is a Perl object to represent iButtons. more>>
Hardware::iButton::Device is a Perl object to represent iButtons.
SYNOPSIS
use Hardware::iButton::Connection;
$c = new Hardware::iButton::Connection "/dev/ttyS0";
@b = $c->scan();
foreach $b (@b) {
print "id: ", $b->id(), ", reg0: ",$b->readreg(0),"n";
}
This module talks to iButtons via the "active" serial interface (anything using the DS2480, including the DS1411k and the DS 9097U). It builds up a list of devices available, lets you read and write their registers, etc.
The connection object is an Hardware::iButton::Connection. The main user-visible purpose of it is to provide a list of Hardware::iButton::Device objects. These can be subclassed once their family codes are known to provide specialized methods unique to the capabilities of that device. Those devices will then be Hardware::iButton::Device::DS1920, etc.
<<lessSYNOPSIS
use Hardware::iButton::Connection;
$c = new Hardware::iButton::Connection "/dev/ttyS0";
@b = $c->scan();
foreach $b (@b) {
print "id: ", $b->id(), ", reg0: ",$b->readreg(0),"n";
}
This module talks to iButtons via the "active" serial interface (anything using the DS2480, including the DS1411k and the DS 9097U). It builds up a list of devices available, lets you read and write their registers, etc.
The connection object is an Hardware::iButton::Connection. The main user-visible purpose of it is to provide a list of Hardware::iButton::Device objects. These can be subclassed once their family codes are known to provide specialized methods unique to the capabilities of that device. Those devices will then be Hardware::iButton::Device::DS1920, etc.
Download (0.021MB)
Added: 2007-06-18 License: Perl Artistic License Price:
861 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above upnp devices search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed